Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I generate a single (50ms) square wave? I'm using a PXI 5402.

 I've developed several tests using this generator and I need to generate
these wave forms;
 
1) a single (ONE) square wave, cycle duration is 50ms.
2) a single (ONE) positive Triangle wave, cycle duration is 20ms.
 
Any ideas?
 Thanks.
 
 
0 Kudos
Message 1 of 2
(6,843 Views)
Sounds like a job for an Arbitrary Waveform Generator (such as the 5412), not a Function Generator.

That said, and as long as you don't need both waveforms to play back to back and the speeds are reasonably slow (like they are in your example), you can use Frequency List Mode to create two distinct Frequency Lists, each with a single step, a frequency of 20 and 50 Hz respectively and the desired durations. Select the Function type before you generate.

Hope this helps.
Marcos
Marcos Kirsch
Chief Software Engineer
NI Driver Software
0 Kudos
Message 2 of 2
(6,839 Views)