12-21-2009 07:19 AM
Hi,
Is there anyone managing to maintain a continuous VXI-11 connection from Matlab to a device connected using TCP/IP over periods from several days to weeks? During the time, the device would be handling almost continuous SCPI commands and would be sending information back to Matlab just fine also?
I'm using Matlab 7.40 with the instrument control toolbox, NI-VISA 460 runtime, and an Anritsu device with a 10BASE-T Ethernet interface. After approximately 24 hours of continuous SCPI command handling, I get the error "VISA: The protocol specified is invalid".
A workaround is to send a SCPI reset command to reboot the device and begin again. The network and power systems are fine; not the problem here. If this isn't a known issue, perhaps the problem is on the device side.
Any feedback/insights would be very welcome
Thanks
Solved! Go to Solution.
12-22-2009 07:37 AM
Are you using DHCP or static IP? Normal DHCP leases are renewed every 24 hours and who knows what the instrument is going to do during this period - reset the link maybe!
12-22-2009 07:54 AM