Gettimestampfrequency function – Multichannel Systems NeuroExplorer User Manual

Page 164

Advertising
background image

5.5.2.3. GetTimestampFrequency Function

GetTimestampFrequency Function


Returns the frequency used in the internal representation of the timestamps.

Syntax


double GetTimestampFrequency(doc)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

Returns


Returns the frequency used in the specified file to store the timestamps.

Comments


Internally, the timestamps are stored as integers representing the number of time ticks from the start
of the experiment. The time tick is equal to 1./Timestamp_Frequency.

Usage

NexScript

doc = GetActiveDocument()

tsFreq = GetTimestampFrequency(doc)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 162

Advertising