ReadAstroMedDCRFile (FPScript)
Reads a data set from a file in Astro-Med Dash 18/8X Data Capture Record format.
Syntax
ReadAstroMedDCRFile(File, ChannelNumber [ , CalendarTime = FALSE ])
The syntax of the ReadAstroMedDCRFile function consists of the following parts:
Part |
Description |
---|---|
File |
String with the path of the Astro-Med Dash 18/8X data file to be read. Permitted data structures are scalar value. Supported data types are string (file name). If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
ChannelNumber |
Number of the channel to be read out of the file. The zero channel number reads the event channel. Permitted data structures are scalar value. All integral data types are permitted. If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
CalendarTime |
Boolean value specifying that the time data are to be read as calendar times. Otherwise, the X component provides the time in seconds relative to the trigger time. Permitted data structures are scalar value. Supported data types are Boolean value. If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. If this argument is omitted, it will be set to the default value FALSE. |
Remarks
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
ReadAstroMedDCRFile("c:\\examples\\file.dcr", 1, FALSE) |
Import the first channel of an Astro-Med Dash 18/8X file. The X component provides the time in seconds relative to the trigger time. |