LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface AFG3102C with LabVIEW 2 channel mode

Hello guys, I got  this  device AFG3102C ( dual- channel signal  generator)  connected  to Labview with  drivers and Vi's  from exemple,  but Ithis  VI can't  set   both  channel's  output on. When i set  channel 1 and I send data to be changed to  device, the other  channel  is  set  automaticaly off, and reverse. How can i solve this? This is my VI.

Regards!

0 Kudos
Message 1 of 2
(2,311 Views)

I can't say for sure because you didn't Include the actual driver VIs, but my suspicion is that the problem lies in how you are using the drivers.  In both cases when you go to write to a channel the first thing you do is initialize the box -- which probably turns off the outputs...

 

Mike...

 

PS: Look into event driven programming, it will significantly simplify your code...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,238 Views)