High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

how to apply single sine or square wave

Now I used NI-FGEN and NI-Scope for bender element test, I want to now how to generate single sine or square wave (normally in NI-FGEN, I saw only continuous wave generation type).thanks you so much
0 Kudos
Message 1 of 2
(5,930 Views)
If I understand your question correctly, it sounds like you would like to output one period of a sine wave or square wave and then just 0V DC. To do this you can use the niFgen_Basic_Arb_Sequence_Example. You will want your first sequence to be a sine (or square) wave and then the second sequence to be DC with an amplitude of 0V. You could replace the while loop in that example with a sequence structure with a wait in the structure to last just a bit longer than your sine wave. This will ensure that your sequence doesn't repeat.

I hope this helps answer your question.

Regards,

Doug K.
Application Engineering
National Instruments
0 Kudos
Message 2 of 2
(5,930 Views)