LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Different Attenuation factors for each Channel on the Virtual bench MSO

Solved!
Go to solution

I am trying to measure two very different signals using both channels of the Virtual Bench 8012 programmed in LabView. THe signals are of very different amplitudes which means that setting the vertical range so the larger signal doesnt get truncated causes the smaller signal to become very choppy as the resolution is now quite low. The only way I know to use both channels simultaneously is to index the waveforms by channel number after the measurement is complete. This mean that both channel's settings are set at the same time by the same command sequence. Is there any way to set distinct settings for each channel during the intialize stage?

 

I have attached my program for reference though there is a lot more to it than just this part. If anyone needs clarification just ask!

 

Thanks in advance!

Kai

0 Kudos
Message 1 of 4
(3,226 Views)
Solution
Accepted by topic author NGKai

I figured it out. If anyone else runs into this issue let me know and I can show you how I did it

0 Kudos
Message 2 of 4
(3,222 Views)

Glad you got it working. Did you configure the range in a FOR loop, or add a second instance of the configuration VI?

 

Interesting application of VirtualBench Smiley Happy

0 Kudos
Message 3 of 4
(3,206 Views)

You got it, I was able to use a parallel instance of just the signal acquisition configure VI so that the majority of the command sequence still handles both at the same time but the vertical ranges and probe attentuation get handled separately for each channel. I've attached a new version so you can see the difference.

0 Kudos
Message 4 of 4
(3,160 Views)