LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error with Visa and USB device

Solved!
Go to solution

Good Morning,

 

I'm currently working on a VI to use visa to get information from a USB device. The device is a check-line digital tachometer.

 

I was able to get the USB drivers and everything together, and the device to show up in MAX, but now I'm getting an error after the visa open block, and I'm not sure why.

 

Any insight would be greatly appreciated, though I dont know what anyone will be able to do, seeing you likely dont have the same one.

 

VI is attached

Download All
0 Kudos
Message 1 of 21
(5,031 Views)

This is a duplicate of this post, with the attached file duplicated as well, kewl!

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 21
(5,026 Views)

Cannot comment on fixing an error when you do not provide the error code. Essential information.

 

p.s. Get rid of the sequence structure. Redundant with the error in/error out connections.

0 Kudos
Message 3 of 21
(5,024 Views)

Sorry, the error is (-1073807343)

 

Not sure why it double posted and double attached, that's really weird.

0 Kudos
Message 4 of 21
(5,015 Views)

Guess I picked the wrong post to respond to. I basically said the same thing about the error code in the other post, will use this one now.  That error indicates that the VISA reference you are supplying is not pointing at your device. Could you provide an image of your front panel? Also, if you go into MAX and select the device you can try communicating with it, there will be an "Open VISA Test panel" where you can try out the settings, and simple command strings to confirm that the hardware and VISA drivers are working.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 5 of 21
(5,011 Views)

Er, your code has code to access a SERIAL port not a USB port.

 

You can't do USB communication with a SERIAL port.

 

Shane

0 Kudos
Message 6 of 21
(5,007 Views)