DT SampleChannelsThruTCPIP.vi
LabVIEW DataTaker Driver >> DataTaker High Level TCP/IP >> DT SampleChannelsThruTCPIP.vi
Uses TCP/IP communications. Given multiple channel numbers and types, initiates TCP/IP connection, configures dataTaker for acquisition, performs an immediate schedule of those channels and reads the values acquired from each channel, then disconnects from TCP/IP connection.
Notes
- Assumes that no job is currently running on dataTaker.
Error Message Generated
- DT HIGHLEVEL ERROR: Unable to sample channel(s) thru TCP/IP.

Controls and Indicators

|
DT type shows the type of dataTaker that is connected (DT800 or the DT500 family). |

|
IP address is the IP address of the dataTaker hardware. |

|
remote port (8) is the port to connect to on the dataTaker hardware. |

|
The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning. |

|
The code input identifies the error or warning. |

|
The source string describes the origin of the error or warning. |

|
channel list is an array of clusters. Where each cluster contains details on a channels configuration. |

|
intermediate channel config is a cluster that contains details on the channels configuration. |

|
channel number is the number or name of the dataTaker channel. |

|
channel type is the type of sensor connected to the channel. |

|
channel wiring is the type of wiring configuration used to connect the sensor to the channel. |

|
channel option list is the channel option of the particular channel.
NOTE Multiple channel options can be entered in each element of the array, or in a single array element, separated by comma's. No brackets, "()", are required. |

|
channel data is the is the acquired sample data, where each element of the array represents the data value from each declared channel in the channel list. |

|
timeout? is true if the acquisition timed out. |

|
The error out cluster passes error or warning information out of a VI to be used by other VIs.
The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed. |

|
The status boolean is either TRUE (X) for an error, or FALSE (checkmark) for no error or a warning.
|

|
The code input identifies the error or warning.
|

|
The source string describes the origin of the error or warning.
|
(C) 2003 dataTaker Pty Ltd & ICON Technologies Pty Ltd
www.dataTaker.com
www.icon-tech.com.au
|
|