ReadTAFFmatFile (FPScript)

21.09.2021

Reads a data set from a file in TEAC TAFFmat format.

Syntax

ReadTAFFmatFile(File, ChannelNumber [ , CalendarTime = FALSE ])

 

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

Part

Description

File

String with the path of the TAFFmat header file (*.hdr) 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 numbers are counted starting at zero. If you specify a negative channel number, then the LSB of the particular channel will be read out as an impulse series.

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.

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

ReadTAFFmatFile("c:\\examples\\file.hdr", 0, FALSE)

Imports the first channel from a TEAC TAFFmat file as a signal. The X component provides the time in seconds.

See Also

File Import

Share article or send as email:

You might be interested in these articles