LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Having Trouble with VISAs

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. 

0 Kudos
Message 1 of 22
(4,177 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 22
(4,171 Views)

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.

0 Kudos
Message 3 of 22
(4,163 Views)

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.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 22
(4,142 Views)

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.

0 Kudos
Message 5 of 22
(4,137 Views)

Ok I checked, it seems to be all on the c drive.

0 Kudos
Message 6 of 22
(4,099 Views)

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.

0 Kudos
Message 7 of 22
(4,084 Views)

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,

 

logos_middle.jpg

 

0 Kudos
Message 8 of 22
(4,072 Views)

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.

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 22
(4,067 Views)

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.

0 Kudos
Message 10 of 22
(4,051 Views)