Items, Item types – Measurement Computing ScanServer rev.2.0 User Manual
Page 21

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