ReadWFTFile (FPScript)

21.09.2021

Reads a data set from a file in Nicolet Waveform format.

Syntax

ReadWFTFile(File [ , CalendarTime = FALSE ])

 

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

Part

Description

File

String with the path of the Waveform 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.

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

The function can also read data measured in block mode. The result is then a signal series with one signal per segment. The Z component of the signal series contains the trigger times of the measurements, if these were stored in the file.

Available in

FlexPro View, Basic, Professional, Developer Suite

Examples

ReadWFTFile("c:\\examples\\file.wft", TRUE)

Imports a Nicolet Waveform file. 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