Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

two analog output channels to 6259

Solved!
Go to solution

I need to output two analog waveforms, from my 6259, I have generated the necessary signals but would like some help with inputting 2 signals simultaneously, how could I go about it?

 

 

0 Kudos
Message 1 of 8
(3,786 Views)

Can you please explain it a bit more detailed?

Are you just talking about acquiering two analog signals next to the signal generation you allready have?

 

 

Christian

0 Kudos
Message 2 of 8
(3,776 Views)

Im sorry for being unclear, I have not generated the two analog outputs yet , I have generated a single  analog signal using the 6259, but need help with doing so for 2 analog signals simultaneously. 

 

 


 

0 Kudos
Message 3 of 8
(3,771 Views)

Hey,

 

If you just want to write the same data to two channels then set your physical channel to e.g. Dev1/ao0:1 and build a 2D Array of your data to wire it to the DAQmxWrite.vi which you set to the regarding Datatype (AO>MultipleChannels>...) before.

 

 

Hope this helps,

Christian

0 Kudos
Message 4 of 8
(3,767 Views)

Hi,

 

Its two different signals i am using, so what steps should I follow?

 

 

0 Kudos
Message 5 of 8
(3,764 Views)
Solution
Accepted by topic author cquark

The steps are quite the same, just that your 2D Array consists of the two different 1D Data Arrays.

 

 

Christian

0 Kudos
Message 6 of 8
(3,740 Views)

I am able to generate the required waveforms and now want to be able to synchronise the signals, any suggestions?

 

I also want to know if it is possible to update the waveform changes (amplitude, frequency,etc) in realtime without having to stop the execution and update the changes.

 

Thanks for the help Christian!!

0 Kudos
Message 7 of 8
(3,730 Views)

There is an example how to synchronize AI with AO in sharing the timebase. You will find it using the example finder, browse to HardwareI/O>DAQmx>Synchronization.

 

To change the sampleclock rate on the fly you will need to use one of the cards counters to create the timebase via pulse train generation for the AI and AO, there should be also an example about that under Synchronization.

 

 

Christian

0 Kudos
Message 8 of 8
(3,724 Views)