Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use one analog channel for output both single point and sine waveform ?

Hi,
 
How can I use one analog channel for output et. both single point and sine waveform? I am using the PCI-6025e board.  My try is to generate two arrays beforehand, one is sine waveform and another is array containing value 1. I rewrite data into buffer depending on what kind of signal I want to ouput.  Is there a better (faster) method to implement case like this ? Did I in the right way ?
0 Kudos
Message 1 of 2
(6,437 Views)

Hello supermango,

I believe what you're trying to do is AO without regeneration. You should be able to do this. I recommend starting with the "Cont Gen Wfm Int-Clk Non-Regeneration.vi" and setting up a case structure inside the loop that allows you to select between a sine wave array and an array with 1 set point of data. It will continue to send the value untill you update it or select the sine wave.

Hope this helps,

Andrew S.

National Instruments 

0 Kudos
Message 2 of 2
(6,418 Views)