12-11-2016 04:33 AM
Hi Everybody,
For a instrument which has LAN input is controlled from a PC, is it enough to make the Internet connection of the instrument and PC? Is it necessary to use any device between the instrument and PC for controlling via internet?
Thank you.
12-11-2016 04:55 AM
I just use VISA. I would recommend finding the instrument in MAX and that will give you the VISA resource to use. After that, it is simple VISA Write and VISA Read.
12-13-2016 06:27 AM
Thank you for reply. I obtained the IP address of the intrument. The IP address was written in the MAX. But, MAX gave the error (Insufficient location information or the device or resource is not present in the system). What is the problem? How can I do the internet connection between PC and instrument?
Have a nice work.
12-14-2016 09:11 AM
Can you post a picture of what you are seeing in MAX for the device?
Applications Engineer
National Instruments
12-18-2016 11:06 AM
Thank you for your reply. I added the device to MAX. But now, when I started the "test panel" in MAX, an error was given. The error was "VISA: (Hex 0xBFFF0015) Timeout expired before operation completed". How can I overcome the error?
12-19-2016 05:24 PM
So this error occurs if the VISA read/query functions do not return a value within the set timeout period. I would double check the VISA command that you are writing to the device to make sure that the call is supported by the device.
What is the device, and what command did you send to the device?
Applications Engineer
National Instruements
01-03-2017 12:41 PM
MAX may be running into one of two common issues that I have seen with their default settings:
1) By default, MAX performs the "*IDN?" query of a device and does not take into consideration that many of the older instruments will only accept the "ID?" query. This could cause the timeout response.
2) Some instruments will reset upon receiving the *IDN?" query then respond. This could also be causing the timeout response.