取消
显示结果 
搜索替代 
您的意思是: 

Arbitrary waveform is generated continuously

I have an NI-5411 Arbitrary Waveform Generator PCI board and I'm using LabVIEW 7.1. In my VI, after I create my arbitrary waveform, I call "niFgen Initiate Generation.vi" to generate my waveform and I can see my waveform is being generated. The trouble is that the waveform is continuously generated until I call "niFgen Abort Generation.vi". Even when I call the Abort function right after the Initiate function, my waveform is produced many times. I need my waveform to be generated one time only. That seems to be such a basic function but I could not find anything in the documentation to help me. How do I do that? Thanx.
 
Fataneh 
0 项奖励
1 条消息(共 2 条)
2,631 次查看
Fatenah,

You need to use Single Trigger Mode on your 5411.  Do this by calling the niFgen Configure Trigger Mode.vi and specifying "Single" as opposed to the default "Continuous".  See the attached picture.

There is some great documentation on this in NI Signal Generators Help.
Start>>Programs>>National Instruments>>NI-FGEN>>Documentation>>NI Signal Generators Help.
Browse to Devices>>NI 5411>>Triggering>>Triggering Modes>>Single Trigger Mode.

You will probably want to add a DC stage at the end of your waveform, as the last stage will repeat continuously until the Abort is called.

Have a great day!
Travis W
0 项奖励
2 条消息(共 2 条)
2,621 次查看