beautypg.com

Map descriptor example 6 – select device – FieldServer A Sierra Monitor Company FS-8700-123 User Manual

Page 13

background image

FS-8700-123 MetOne Particle Counter Driver Manual

Page 13 of 22

FieldServer Technologies 1991 Tarob Court Milpitas California 95035 USA Web: www.fieldserver.com

Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: [email protected]

5.9

Map Descriptor Example 6 – Select Device

Device selection is handled automatically by the driver and support for this message is provided mainly for testing purposes. The driver uses the Node_ID
parameter to learn the address/number of the device to be selected. Valid numbers are in the range 1...64. When the device responds, the driver stores the
device number in the Data Array element specified in the configuration.

// Client Side Map Descriptors

Map_Descriptors

Map_Descriptor_Name , Data_Array_Name , Data_Array_Offset , Function , Node_Name , Met1_Function , Length
Select Device

, DA_MODE_CTRL

, 0

, Wrbx

, MET1

, Device Select

, 1

Set length to 1 for this
Met1_Function

The Node_Name connects this Map Descriptor to the Node Descriptor
and that is where the driver finds the Node_ID parameter.