NewDocument
Creates a new document (data file) with the specified timestamp frequency.
Syntax
NewDocument(timestampFrequency)
Parameters
Parameter |
Type |
Description |
---|---|---|
timestampFrequency |
number |
Timestamp frequency |
Return
Returns a reference to the opened document (nex.NexDoc
object in Python, integer in NexScript).
Examples
Python
import nex
doc = nex.NewDocument(100000.)
NexScript
doc = NewDocument(25000.)