Creating a Marker Event in Arbitrary Waveform 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.

Note Note  NI-FGEN supports only Marker0 in arbitrary waveform mode.

LabVIEW Example

  1. Specify the active channel as "Marker0".
  2. Specify the position of the Marker event by setting the Arbitrary Waveform Marker Position property.
  3. Export the marker event by calling the niFgen Export Signal VI and setting Signal to "NIFGEN_VAL_MARKER_EVENT".

C Example

  1. Specify the active channel as "Marker0".
  2. Specify the position of the Marker event by setting the NIFGEN_ATTR_ARB_MARKER_POSITION attribute.
  3. Export the marker event by calling the niFgen_ExportSignal function and setting the signal parameter to " NIFGEN_VAL_MARKER_EVENT".

WAS THIS ARTICLE HELPFUL?

Not Helpful