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

DT ExtractData.vi

LabVIEW DataTaker Driver >> DataTaker Low Level Utility >> DT ExtractData.vi

Extracts specified channel and schedule data from raw data using a supplied datamap.

Notes

- Assumes that DT GetDataMap.vi has been previously called to obtain the datamap.

Error Message Generated

- No specific errors are reported from this VI.


DT ExtractData.vi


Controls and Indicators

cstr

datamap in a string which contains the current job, schedules and channels in the specific format detailed by the return of STATUS14 for the DT800, or STATUS10 for the DT500 family.

cenum

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

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.

iclst

extracted data contains information on a job which is extracted from a datamap

    idbl

    program check code is a unique code to indicate program change. Increments by one every time a change message is issued. This allows you to determine if the datataker program is the same.

    ii32

    base year is 1989. The dataTaker counts time from midnight (00:00am) on 01/01/1989.

    idbl

    time resolution is 1. This is the resolution of the timestamps from the dataTaker.

    idbl

    card state shows the current card state.

    istr

    job name is the name of the current job on the DT800. This is not used on the DT500, and will return NA.

    i1dclst

    schedules is an array of schedule clusters

      iclst

      schedule a cluster that contains information on a schedule which is extracted from a datamap.

        istr

        ID is the schedule identifier for the current schedule.

        istr

        trigger is the schedule trigger.

        ibool

        active indicates the state of the schedule. TRUE if the schedule is active and running, FALSE if the schedule has halted.

        i1dclst

        channels is an array of channel clusters

          iclst

          channel a cluster that contains information on a channel which is extracted from a datamap.

            istr

            name is the name of the channel. For the DT500, this can be user assigned.

            istr

            user name is the user assigned name for the channel on the DT800. For the DT500, this is the same as name.

            istr

            units is the units text.

            ii32

            returned data format has the following values. 0 = numeric, 1 = time, 2 = date, 3 = text, 4 = time instance, 5 = interval, 6 = alarm.

            ii32

            returned data sub format gives more details on the format of the returned data.

            ii32

            significant digits is the number of significant digits that will be returned.

            ii32

            decimal places is the number of decimal places that will be returned.

            ii32

            realtime / logged shows information if the channel is logged, or returned with realtime data.

            istr

            scaling type gives information on the type of scaling used.

        istr

        name is the user assigned name of the schedule on the DT800. On the DT500, it is the schedule ID.

    istr

    text identifier is the current $ string defined on the DT500. This is not used on the DT800, and is always $.

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