08-16-2017 04:35 AM
Dear all,
I am trying to control an instrument using USB connection and VISA. I used the VISA Driver Wizard to create the driver and the instrument is correctly recognized by NI MAX. I can also send and receive bytes. The instrument does not have any software / driver provided by the vendor so I think the only choice I have is going with the VISA wizard. The developer can send me USB low level details (command number XX, number of bytes to read, etc).
Even if the instrument is correctly read by max and Vendor ID and model ID is correct, when I try to have access in labVIEW , I use the VISA open and the VISA resource name is not found....
Can you help please?
Thanks.
Solved! Go to Solution.
08-16-2017 04:35 AM
Dear all,
I am trying to control an instrument using USB connection and VISA. I used the VISA Driver Wizard to create the driver and the instrument is correctly recognized by NI MAX. I can also send and receive bytes. The instrument does not have any software / driver provided by the vendor so I think the only choice I have is going with the VISA wizard. The developer can send me USB low level details (command number XX, number of bytes to read, etc).
Even if the instrument is correctly read by max and Vendor ID and model ID is correct, when I try to have access in labVIEW , I use the VISA open and the VISA resource name is not found....
Can you help please?
Thanks.
08-16-2017 07:33 AM
As a workaround try putting the visa resource name (USB0::blahblah::blah::RAW or whatever it is) from MAX into a string in LV and wiring that into Visa Open.
08-16-2017 08:08 AM
Dear Ian,
thanks for the help. I did it and I received the following error message:
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.
I also used a "Find VISA resource" function, I get an array of visa perpherals found, including the instrument I want to control. I extract the position of the instrument I want to control and send it to the VISA open (I get exactly the same visa name of the NI Max), and also in this case I get the same error message.
The visa resource is found but it is not possible to open it...
08-16-2017 08:16 AM
Did you close down your other interface to it (in MAX)? You can only have one open session at a time to a resource
08-16-2017 08:23 AM
Thank you very much for the help Ian...The problems was just a trivial mistake from my side, sorry for bothering and thanks for the great support!!
04-16-2018 02:11 PM
I am having a problem where I cannot find a GPIB connected device in the VISA resource name list in LabView 2016 (32 bit), but it shows up fine in 64-bit LabView 2016 and 2017. It also shows up in MAX 17.5. COM ports and PXI devices show up in both 32 and 64 bit version. Because of other instrument libraries, I would really like to stick with 32-bit. Any advice?
04-16-2018 02:13 PM
04-16-2018 02:17 PM
These are my current filter settings
04-16-2018 05:56 PM
What happens if, instead of choosing from the drop-down, you just type it in manually? You should be able to put any string in there you like, the dropdown isn't mandatory to use.