LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Old Visa Open vs Visa Open

Hi,
 
I've a question regarding 'Old Visa Open' (LV 6.1) vs 'Visa Open' (LV 8.0).
 
On upgrading LabVIEW code from version 6.1 to 8.0, I noticed 'Visa Open ' in LV 8.0. The only difference I can
find is there is no string reference for the resource name.
What should I use for the resource name in 'Visa Open' for LV 8.0?
 
Thank you.
0 Kudos
Message 1 of 3
(2,874 Views)
Hello Troy12,

I don't have LV8 but only 7.1.1 but I assume "VISA open" is the same in both versions. Indeed, VISA open expect not a string but a "VISA RESSOUCE NAME" that you will pass further to read/write/close functions.

just remove your sting constant (the one you had in LV 6.1), right click  on the terminal and chose "create" >> "constant" you then should see this  :



Then choose the port on which your device is connected and it should work 😉

Let me know (with screen-shots if possible) if you have any problems

Message Edité par TiTou le 04-10-2006 08:12 AM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 3
(2,874 Views)


@TiTou wrote:
Hello Troy12,

I don't have LV8 but only 7.1.1 but I assume "VISA open" is the same in both versions. Indeed, VISA open expect not a string but a "VISA RESSOUCE NAME" that you will pass further to read/write/close functions.

just remove your sting constant (the one you had in LV 6.1), right click  on the terminal and chose "create" >> "constant" you then should see this  :



Then choose the port on which your device is connected and it should work 😉

Let me know (with screen-shots if possible) if you have any problems

Message Edité par TiTou le 04-10-2006 08:12 AM


You can also wire a string with a valid VISA resource name to the VISA resource name input of VISA Open. LabVIEW will do an automatic conversion for you. This can be handy if you store the VISA resource to a configuration file for instace which of course uses strings and not VIS resource datatypes.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 3
(2,859 Views)