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

DT AcquireHistoricalWaveformsThruSerial.vi

LabVIEW DataTaker Driver >> DataTaker High Level Serial >> DT AcquireHistoricalWaveformsThruSerial.vi

Uses serial communications. Initiates serial connection, requests all historical data then closes the serial connection.

Notes

- None.

Error Message Generated

- DT HIGHLEVEL ERROR: Unable to acquire historical waveform(s) thru serial.


DT AcquireHistoricalWaveformsThruSerial.vi


Controls and Indicators

cenum

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

cvsrn

VISA resource name is the VISA resource used for serial communications (ignore when using DARTS protocol).

cclst

port config: serial port configuration options (data bits, stop bits, parity, and flow control are ignored when using DARTS protocol).

    cenum

    parity is the parity used for the connection. The DT 500 uses none, while the DT800 uses none, odd, or even parity.

    cu16

    stop bits specifies the number of stop bits used to indicate the end of a frame.

    cu16

    data bits is the number of bits in the incoming data.

    cu32

    baud rate is the rate of transmission

    cenum

    flow control sets the type of control used by the transfer mechanism.

cenum

protocol specifies whether to use standard serial communications, or the DARTS protocol (DT500 only).

cclst

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.

i1dclst

historical waveforms is an array of  historical waveform clusters.

    iclst

    historical waveform clusters contain two arrays, which is the historical data stored on 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.

i1dstr

waveform names is an array that contains names for each plot in the historical waveform cluster. For example, A1, is the first plot from schedule A.

    istr

    Each element of the waveform names array, is a string which is a unique name derived from the dataTaker's schedule and channel.

ibool

timeout? is true if the acquisition timed out.

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