LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hp 4192A drivers: while loop conflict with global variables

dear all,

i am using a modified version of the labview drivers for the HP 4192A (attached .vi). After sending all the machine parameters I am reading the output from the A and B channels with the while loop in the 3rd frame. The attached .vi is working properly. As soon as I connect the A and B variable to two GLOBAL VARIABLES and I call these two globals with another .vi, the attached code is not working anymore. The GPIB read in the while loop is not refreshing the output data anymore. The attached code is still working when the two global variables are created and wired to the A and B output but not called by another .vi. I tried by changing the timeout of the GPIB read and introducing a waiting time between the loops but I was not able to resolve the problem. 

I hope someone will be interested in this topic.

regards

daniele

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

Hi Daniele,

 

have you tried with Shared variables or Functional Global Variables?

 

Have you resolved your problem?

 

Giuseppe.

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