ReadSEFRAMRecorderFile (FPScript)

08.02.2018
Analyzing Data Mathematically > Reference > FPScript Functions > Data Import > ReadSEFRAMRecorderFile

ReadSEFRAMRecorderFile (FPScript)

Reads an analog or digital channel from a file in SEFRAM recorder format.

Syntax

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

 

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

Teil

Beschreibung

File

String with the path of the SEFRAM 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 from the file. If you specify negative values, then the digital channels will be read.

Permitted data structures are scalar value. All integral data types are permitted.

The value must be greater or equal to -16.

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, Standard, Professional, Developer Suite

Examples

ReadSEFRAMRecorderFile("c:\\examples\\file.rec", 0, FALSE)

Imports the first channel from a SEFRAM file. The X component provides the time in seconds.

Bit(ReadSEFRAMRecorderFile("c:\\examples\\file.rec", -1, FALSE), 0)

Imports the first bit of a digital channel from a SEFRAM file. The X component provides the time in seconds.

See Also

File Import

Partager l’article ou envoyer par mail :

Vous serez probablement intéressé par les articles suivants :