Measurement-computing ScanServer rev.2.0 Instrukcja Użytkownika Strona 21

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 42
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 20
ScanServer User's Guide Items 19
Items
Item Types
ScanServer supports both strings and numeric data types for returning data.
Numeric items, indicated by a # preceding the item name, return a float or integer value
for the data item retrieved. For example,
#last1 returns: 23.752 to the client in a 4-byte floating-point variable,
if 23.752 degrees is read on channel 1.
String items, indicated by a $ preceding the item name, return data in formated ASCII
strings. For example,
$last1 returns: 23.752 to the client as above but now in a 7-byte ASCII
string.
Note: Items not preceded with a # or $, default to numeric items.
Array data items return 2 or more String or Numeric data items. Channels may be
indicated with commas separating them, with an inclusive dash between them, or with
both. For example:
last1,3 returns two numeric data items, 23.752 and 24.567, assuming 23.752
degrees is read on channel 1 and 24.567 is read on
channel 3.
Another example:
$last1-3 returns three string data items, 23.752, 24.111 and 24.567.
In addition,
#last1-3,5 returns four numeric data items: 23.752, 24.111, 24.567and 25.333
Przeglądanie stron 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 41 42

Komentarze do niniejszej Instrukcji

Brak uwag