LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa events do not work properly !

Solved!
Go to solution

Hello labview programmers !

After i realized that visa read function is polling the port thus stucking my code i looked how to use visa events.

I did exactly as the shipped examples showed, but the visa events acts like polling - it hangs the front panel and stucking other

loops in my program to run properly. i looked at cpu consumption stats and it was ok - 3%.

what could be the problem ?

0 Kudos
Message 1 of 2
(1,028 Views)
Solution
Accepted by topic author hookso

I figured it out !

In the properties of the vi -execution - execution system - the value was set by me by mistake to user interface.

visa events and visa functions works bad in this mode !!!

I switched it to same as caller and it finally solved my problem !

 

Message 2 of 2
(1,020 Views)