| Page 14 of 26 |
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, |
|
|
|
|
|
|
|
The Node_Name connects this Map Descriptor to the Node Descriptor and that is where the driver finds the Node_ID parameter.
Set length to 1 for this Met1_Function
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web:www.fieldServer.com Tel: 408