DT WriteToDataTakerTCPIPConnection.vi
LabVIEW DataTaker Driver >> DataTaker Low Level Communications >> DT WriteToDataTakerTCPIPConnection.vi
Writes a command to the dataTaker using TCP/IP. CRLF termination of the command string is handled by this vi.
Notes
- Assumes that dataTaker HW is in "CRLF" mode and that "DT OpenDataTakerTCPIPConnection.vi" has been successfully called previous to this VI being called.
Error Message Generated
- DT LOWLEVEL ERROR: Unable to write to TCP/IP connection.
Controls and Indicators

|
connection ID in network connection refnum that uniquely identifies the TCP/IP connection. |

|
data in the command to send to the dataTaker. |

|
timeout (ms,25000) length of time to try and write to the dataTaker (in ms). |

|
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. |

|
connection ID out network connection refnum that uniquely identifies the TCP/IP connection. |

|
timeout? returns true if the command could not be written within the timeout period. |

|
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 & ICON Technologies Pty Ltd
www.dataTaker.com
www.icon-tech.com.au
|