Creating a Marker Event in Script Mode

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)

You can specify a marker and its location by setting an offset location value (in number of samples) from the start of the waveform. If the offset is out of range of the number of samples in that segment, NI-FGEN returns an error.

In Script mode, you can create up to four markers for each waveform.

LabVIEW Example

  1. To create markers in Script mode, refer to Common Scripting Use Cases.
  2. Export the marker event by calling the niFgen Export Signal VI. Set Signal to "NIFGEN_VAL_MARKER_EVENT" and set Signal Identifier to the name of the marker to export.

C Example

  1. To create markers in Script mode, refer to Common Scripting Use Cases.
  2. Export the marker event by calling the niFgen_ExportSignal function. Set the signal parameter to " NIFGEN_VAL_MARKER_EVENT" and the signalIdentifier parameter to the name of the marker to export.

WAS THIS ARTICLE HELPFUL?

Not Helpful