dataTaker - Data Loggers, Powerful and Flexible Data Acquisition and Data Logging Systems
Powerful Data Logger and Flexible Data Acquisition and Data Logging Systems

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.


DT WriteToDataTakerTCPIPConnection.vi


Controls and Indicators

cncrn

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

cstr

data in the command to send to the dataTaker.

cu32

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

cclstp

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.

    cbool

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

    ci32

    The code input identifies the error or warning.

    cstr

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

incrn

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

ibool

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

iclst

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.

    ibool

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

    ii32

    The code input identifies the error or warning.

    istr

    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

Google

WWW datataker.com

Go to top
Copyright © BIOLAB (Aust) Pty Ltd Trading as Datataker ABN 52 058 390 917