ReadTEAMFile (FPScript)

21.09.2021

Reads a data set from a file in Nicolet Odyssey TEAM format.

Syntax

ReadTEAMFile(File, ChannelNumber, [ CalendarTime = FALSE ], Signal)

 

The syntax of the ReadTEAMFile function consists of the following parts:

Part

Description

File

String with the path of the TEAM 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 value zero reads the time information that applies to all channels. Values greater than zero read the corresponding analog channel. Values less than zero read the corresponding digital channel. A digital channel contains sixteen digital tracks.

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.

Signal

Boolean value specifying that the channel together with the time information is to be read as a signal. Otherwise, the channel is read as a data series.

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.

Remarks

The function can also read data measured in block mode. The result is then a signal series or a data matrix with one signal per segment. The Z component of the signal series contains the trigger times of the measurements as calendar time.

Available in

FlexPro View, Basic, Professional, Developer Suite

Examples

ReadTEAMFile("c:\\examples\\file.001", 1, TRUE, TRUE)

Imports the first channel from a Nicolet Odyssey TEAM file as a signal. The X component provides the time in calendar time format.

Signal(ReadTEAMFile("c:\\examples\\file.001", 1, TRUE, FALSE), ReadTEAMFile("c:\\examples\\file.001", 0, TRUE, FALSE))

Imports the X and Y component of the first channel from a Nicolet Odyssey TEAM file and generates a signal from that. The X component provides the time in calendar time format.

See Also

File Import

Share article or send as email:

You might be interested in these articles