04-03-2013 09:20 AM
Hi,
Using MAX I'd like to connect to the device which is behind the router. (Router's IP is known and public)
Do do this I'd normally forwarded the port on the router, but what port is used to communicate with the instrument?
When I did scan the ports on the device (from local network) it looks like no port os open.
Cheers,
K.
04-08-2013 11:00 AM
Hi MimiKLM,
A list of all of the ports that you should forward can be found on this page ( I assumed you are using an ENET-GPIB deivce and not a USB-GPIB device? 😞
http://digital.ni.com/public.nsf/allkb/CEF5A3568A5DA71D8625732800520EA1?OpenDocument
Hopefully this should help you connect to your GPIB device.
04-09-2013 01:32 PM
Almost there,
I forwarded ports 5000 to 6000 and 44516 both TCP/UDP.
And I have some strange behaviour. I got the data back but with timeout error.
Any thoughts more?
04-10-2013 05:00 AM
Hi MimiKLM,
There could be a few reasons for the timeout in this case, it looks to me that you are looking to read 1024 bytes, and the program is timing out after having read 1024 bytes and not being able to find the remaning data, it could also be due to the set up of things like the baud rate, stop bits etc. This page gives a few good steps on reasons behind the timeout error:
http://digital.ni.com/public.nsf/allkb/874B379E24C0A0D686256FCF007A6EA0