02-21-2017 05:47 PM
So I'm trying to control instruments with VISA commands, and I'm having problems that the regular internet posts don't seem to answer. I can use VISA commands in the interactive control window just fine, but when I go to use VISA write or VISA read and other functions like that on the block diagram, an error code pops up. It seems to be a pretty common error, but the fix is to install NI-VISA software which already is installed on the computer I'm using.....so I don't know what is going wrong.
FYI I'm using labview 2016 in case that makes a difference.
02-21-2017 05:57 PM
What error are you getting?
Did you install VISA after installing LabVIEW? It may not have installed the LabVIEW support if LabVIEW was not installed first.
02-21-2017 06:06 PM
It's error 1073807202. I did not do the installation, however I was told it just did everything at the same time.
Even the express VI works with visa codes though.....it's just the basic functions that cause trouble.
02-21-2017 06:38 PM
Next stupid question, where did you install to? I inherited a computer with all NI stuff installed to a D drive (partition of the hard drive). But that caused issues with TDMS since that DLL needed to be in the C drive. I am wondering if VISA has a similar issue.
02-21-2017 06:44 PM
Ah I'm not sure at the moment, don't have the computer with me, I'll have to check it out tomorrow morning and get back to you on that one.
02-22-2017 08:59 AM
Ok I checked, it seems to be all on the c drive.
02-22-2017 10:23 AM
Correction to an earlier reply of mine:
The instrument assistant express vi does not work on the block diagram....it works fine when testing the individual steps, but once it generates code and goes on the block diagram it gives the same error as all the other visa functions.
02-22-2017 01:56 PM - edited 02-22-2017 01:56 PM
Do you have also installed NI Serial drivers? Also, what version of LabVIEW, and NI VISA drivers do you have? Are they compatible?
What is bitness of LabVIEW?
Did you check posts from this forum (googled links)? There're a lot of different threads dedicated to this error, did you go through all of them, please?
Thanks,
02-22-2017 02:08 PM - edited 02-22-2017 02:10 PM
You really need to say what the device is and how you are communicating with it. (You probably need to re-install NI Device Drivers. If everything is correct it will take a few moments. If it takes longer, you found the trouble.
02-22-2017 02:25 PM
Ah I'm not sure about the serial drivers. However i am using labview 2016 64bit and have NI-VISA drivers 16.0. I would assume they are compatible as they are the latest versions of each.