FieldServer FS-8700-123 instruction manual Map Descriptor Example 8 Dumping the Current Record

Page 16

FS-8700-123 MetOne Particle Counter Serial Driver Manual

Page 16 of 26

4.12.Map Descriptor Example 8 – Dumping the Current Record

This example is almost identical to the previous one. The one difference is that a secondary Data Array has been specified. When this is done, each time a response is received, in addition to the storage specified in the previous example, the driver dumps the response byte for byte the secondary Array. It is important to avoid overlaps in the secondary arrays if this feature is used on multiple Map Descriptors. We suggest that about 2-300 DA elements is made available for the dump and that the format of the secondary Data Array is ‘BYTE’

Map_Descriptors

 

 

 

 

 

 

 

 

Map_Descriptor_Name,

Data_Array_Name,

Data_Array_Offset,

DA_Byte_Name,

Function,

Node_Name

Met1_Function,

Length,

Scan_Interval

Read Record,

DA_DATA,

0,

DA_DUMP,

Rdbc,

MET1,

Current Record,

20,

1.0s

 

 

 

 

 

 

 

 

 

A secondary Data Array is specified with the ‘DA_Byte_Name’ parameter. When this is done the driver stores the read current record response, byte for byte, in the secondary DA.

The length specified the amount of Data Array space reserved for primary storage and has no effect on the dump. Ensure that dumps don’t overlap each other.

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

Image 16
Contents MetOne Particle Counters Applicability & EffectivityTable of Contents MetOne Particle Counter Serial Description FS-8700-123 MetOne Particle Counter Serial Driver Manual Hardware Connections Hardware Connection Tips / Hints RS-232 PortConfiguring the FieldServer as a MetOne PC Serial Client Data Arrays/DescriptorsClient Side Node Descriptors Client Side Connection DescriptionsHF CNC Driver Related Map Descriptor Parameters Timing ParametersDatimes Rdbc MET1 Map Descriptor Example 3 Read the operating mode Datimes Wrbx MET1Map Descriptor Example 4 Start / Stop Counting Map Descriptor Example 5 Change Mode Map Descriptor Example 6 Select Device Map Descriptor Example 7 Read the Current Record Map Descriptor Example 8 Dumping the Current Record DACURRD01LBL ,0 Map Descriptor Example 10 Reading from a SubDevice/Port Map Descriptor Example 11 Selecting a Sub-Device/Port Configuring the FieldServer as a MetOne PC Serial Server Appendix A. Driver Error Messages Page Appendix A.1. Driver Operating and Error Statistics FYIAppendix A.2. Driver Exposed Operating and Error Statistics UINT32Page This page Intentionally Left Blank