01-15-2010 09:08 AM
I recently confronted a problem where the VISA routine in my VI worked fine in development, but not as an application (EXE) on the same machine. I don't understand why, but the problem disappeared when I closed labview and ran the executable. This is bizarre, as the labview progam explorer allows you to launch executable files directly, so one would hope that doing so would not produce conflicts between the two.
But whatever, it works now.
I'm using 8.0 - if this hasn't been solved in the past few version upgrades, it should be put on the list.
01-15-2010 09:14 AM
01-15-2010 10:24 AM
In complement, do you really 'Close VISA' after your communication routine?
You could easily check it by watch the content of a VISA Resource Name object : a small icon appears near to opened session.
Session could be opened even the programme doesn't run. If it's not made with 'VISA Close' function, only exit LabVIEW or the executable releases it