Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Boolean Indication of ARB Generation

Hardware: Signal Sources (AWG/FG/AO)>>Arbitrary Waveform and Function Generators

Problem:
How can I indicate that generation has started in my ARB application?

Solution:
A marker is an event that the device generates in relation to a waveform that is generated. This event can be configured to occur at a specific location or sample n in the waveform being generated.

Markers can be created in Arbitrary Waveform Mode, Arbitrary Sequence Mode, or Script Mode. Standard Function Mode does not have marker event capability. Markers can be output to be read in hardware or software via property node.  The hardware output terminal is specified by a property node, Marker Event Output Terminal.

To create a marker event, the following property nodes should be set as seen in Figure 1.
This configuration should be placed before the Initiate Generation.

 
Figure 1. niFgen Marker configuration



To read a boolean indicator that indicates if the marker event has been set, read the niFgen property node Marker Event Latched Status as seen in Figure 2.


Figure 2. niFgen Marker Event Latched Status


In summary, this method provides a way to read in software if Arbitrary Waveform, Arbitrary Sequence, or Scripted Waveform Generation has started. An example program (LabVIEW 8.5) has been attached to this KnowledgeBase article, niFgen_Arb_Waveform_Marker_Example_Indicator.vi.

Related Links:
KnowledgeBase 38FG89KZ: Can I Retrigger an Entire Arbitrary Waveform Sequence Using One Trigger Signal Per Sequence?

Developer Zone Tutorial: Advanced Arbitrary Waveform Generator Features
NI Signal Generators

Attachments:
niFgen_Arb_Waveform_Marker_Example_Indicator.vi
nifgen_Arb_Waveform_Marker_Example_Indicator_LV71.vi




Report Date: 10/04/2007
Last Updated: 01/31/2008
Document ID: 4E37Q4VZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit