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.
Controls and Indicators

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

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

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

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

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

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

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

|
card state shows the current card state. |

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

|
schedules is an array of schedule clusters |

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

|
ID is the schedule identifier for the current schedule. |

|
trigger is the schedule trigger. |

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

|
channels is an array of channel clusters |

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

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

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

|
units is the units text. |

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

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

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

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

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

|
scaling type gives information on the type of scaling used. |

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

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

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