Ethernet Interface
Ethernet Interface
It is not at all clear from the Protocol Documentation as to how to initiate communications over the Ethernet interface on a DI-4208-E. I can issue a "dataq_instruments" on UDP port 1235 and see appropriate response on port 1234. What I am not clear on is whether I can use an ASCI command like "info 1<CR>" over port 51235. It does not seem to work on either port 51235 or 1235. Are the ASCI commands not valid over UDP? I also do not quite understand the structure of the commands.
struct Command { uint32 TYPE; uint32 GroupID; uint32 Command; uint32 arg0; uint32 arg1; uint32 arg2; char PayLoad[]; };
Is this indicating that a command packet would start with 4 bytes 0x31415926 then 0x0000000A .... Is there a terminating byte? What port are these supposed to be sent on? 51235?
Is there a .Net example using the ethernet interface?
Thanks