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

DT AcquireRealTimeWaveformThruTCPIP.vi

LabVIEW DataTaker Driver >> DataTaker High Level TCP/IP >> DT AcquireRealTimeWaveformThruTCPIP.vi

Uses TCP/IP communications. Initiates TCP/IP connection, configures dataTaker for acquisition, performs a scheduled real-time acquisition of a single dataTaker channel at a specified rate and for a specified number of samples, reads the acquired data, then disconnects from TCP/IP connection.

Notes

- Assumes that no job is currently running on dataTaker.

Error Message Generated

- DT HIGHLEVEL ERROR: Unable to acquire real-time waveform(s) thru TCP/IP.


DT AcquireRealTimeWaveformThruModem.vi


Controls and Indicators

cu16

trigger time is the time interval of the schedules trigger.

cenum

time trigger type specifies the units of time the schedule is to trigger with.

cenum

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

cstr

IP address is the IP address of the dataTaker hardware.

cu16

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

ci32

samples to acquire is the number of samples to acquire for the waveform, before disconnecting from the TCP/IP connection.

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.

cclstp

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

    cstr

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

    cenum

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

    cenum

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

    c1dstr

    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.


ci32

samples to acquire is the number of samples to acquire for the waveform, before disconnecting from the TCP/IP connection.

iclst

real time waveform is a cluster containing two arrays, which is the real time data from the dataTaker.

    i1ddbl

    The first array contains the time values of each data point of the waveform

      idbl

      Each element is the time of each data value, given in seconds since 1904.

    i1ddbl

    The second array contains the waveform data for the particular channel.

      idbl

      Each element is a data value of the channel.

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 Pty Ltd & ICON Technologies Pty Ltd

www.dataTaker.com

www.icon-tech.com.au


Google

WWW datataker.com

Go to top
Copyright © Datataker Pty Ltd