FieldServer FS-8700-123 Computer Drive User Manual


 
FS-8700-123 MetOne Particle Counter Serial Driver Manual Page 14 of 26
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: support@fieldServer.com
4.10. 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 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.