12-09-2022 03:15 PM
Dear all,
When I try to create ethernet instruments by specifying the port number (entering raw socket) everything goes smoothly, I can create my instrument and it seems to be "active/online". However, when I try to communicate with the instrument, I get error "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed."
My NI-VISA is up to date.
Thanks in advance!
-F
12-11-2022 11:17 AM
Do you have a linefeed character (\n) appended to the end of the command you are sending?
12-12-2022 09:53 AM
Yes, I tried with \n and without \n.
Is it possible that some instruments simply do not allow VISA communication?
12-12-2022 10:28 AM
"Is it possible that some instruments simply do not allow VISA communication?"
12-12-2022 10:34 AM
If you tell us the make and model of instrument, and perhaps a link to the manual, then we can probably be more helpful.
Craig
12-12-2022 12:21 PM
Hi Craig,
Trying to communicate with a MiniCircuit ZTM switch. I'm following the same procedure as this https://www.minicircuits.com/softwaredownload/App%20Note%20-%20VISA%20Control.pdf but still can't communicate with the instrument... I tried using the Keysight Connection Expert to see if the VISA address would work and it did.
Any ideas why it's not working in NI MAX?
12-12-2022 12:38 PM
So clearly that works instrument works with VISA. But what they don't mention is that having multiple vendor VISA drivers installed on your PC can cause conflicts.
If Keysight IO works, then you have Keysight VISA installed (probably as well as NI VISA).
This is a common problem with GPIB-USB adaptors, and there's a way around the problem described here - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHh0CAG&l=en-CA
Hope that helps.
Craig