Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5625

Split second lag when controlling two instruments via GPIB; functional but bad programming?

$
0
0

Hello,

 

This is a difficut post to phrase because I got the VI working how I want. I am trying to control a DC power supply and a function generator and be able to ubdate their parameters whenever necessary. I combined and modified the example drivers for the instruments (Agilent E3646A and HP 33120A, respectively) and have achieved the functionality intended, however, I notice a little freeze that I can't figure out.

 

As I mentioned, everything works like it's supposed to and the freeze is not so long as to impede the functionality; it's maybe a split second but just enough for me to notice. When I'm upping the Output Voltage on the DC power supply, for example, sometimes the numbers won't change immediately and if I press the increment one more time it will not show that little depression of a button being pressed in the VI but then go up by however many times I pressed once the freeze passes. As you can see by the file name, I've gone through quite a few incarnations of this VI; I got the functionality down but it bothers me that I may have a bad programming practice that may hurt me down the line. Would appreciate some input as I am still in the learning phase of LabVIEW.

 

Hope to hear back,
Yusif Nurizade


Viewing all articles
Browse latest Browse all 5625

Trending Articles



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