Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69004

Syncronize two PXI 5421 signal generators

$
0
0

Hi,

 

I am trying to create a VI that uses two 5421 signal generators’ I need to synchronise them together and run through a sequence of amplitudes of a sine wave. One 5421 will start at an amplitude of 1 V and the other starts at 0.1V, after 100ms the first 5421 will reduce to 0.9V and the second 5421 will increase to 0.2V and so on until the amplitudes have reversed then the sequence will stop. I have managed to get that bit working but I am struggling to synchronise the two waveforms.

 

On a previous VI I have managed to synchronise two 5421’s with fixed sine wave amplitudes  by using the build array function and connecting the session signals to this and then using one set of TCLK functions. But when I try to build an array from the two session signals it says they are different session sizes.

 

I’ve attached the VI with the Variable amplitudes that I would like to synchronize together, I have also attached a Vi of the Sine wave generator that I have explained in the paragraph above.

 

 

Any help would be greatly appreciated.

 

Luke


Viewing all articles
Browse latest Browse all 69004

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>