ReadTurboLabFileY (FPScript)
Reads the Y component of a channel from a file in TurboLab format.
Syntax
ReadTurboLabFileY(File, ChannelNumber)
The syntax of the ReadTurboLabFileY function consists of the following parts:
Part |
Description |
---|---|
File |
String with the path of the TurboLab file to be read. Permitted data structures are scalar value. Supported data types are string (file name). |
ChannelNumber |
Number of the channel to be read out of the file. The channels are numbered starting with 1. Permitted data structures are scalar value. All integral data types are permitted. The value must be greater or equal to 1. |
Remarks
If the argument is a list, then the function is executed for each element of the list and the result is also a list.
Available in
FlexPro View, Basic, Professional, Developer Suite
Examples
Signal(ReadTurboLabFileY("c:\\examples\\file.dat", 1), ReadTurboLabFileX("c:\\examples\\file.dat", 1))
Imports the X and Y component of the first channel from a TurboLab file and generates a signal from that.