ReadEDASFileX (FPScript)
Reads the X component of a channel from a file in EDAS format.
Syntax
ReadEDASFileX(File, ChannelNumber [ , CalendarTime = FALSE ])
The syntax of the ReadEDASFileX function consists of the following parts:
Part |
Description |
---|---|
File |
String with the path of the EDAS 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 channels are numbered starting with 0. Permitted data structures are scalar value. All integral data types are permitted. The value must be greater or equal to 0. 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 since the start of the measurement. 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
Signal((ReadEDASFileY("c:\\examples\\file.dat", 0), ReadEDASFileX("c:\\examples\\file.dat", 0))
Imports the X and Y component of the first channel from an EDAS file and generates a signal from that. The X component provides the time in seconds since the start of the measurement.