I cannot communicate with a TDS3014B scope in CVI via TCPIP with a second ethernet card.
Using the driver is tdks_30xx, I execute the command
Status = tkds30xx_InitWithOptions ("TCPIP0::192.168.1.4::80::SOCKET", VI_TRUE, VI_TRUE,
"Simulate=0,RangeCheck=1,QueryInstrStatus=1,Cache=1", &SCP1_ID);
This returns an error "Timeout expired before operation completed".
This resource is recognised in MAX, and when I press the Validate button it says
it successfully starts a VISA session.
The scope configuration screen shows the IP address and port to be correct.
From a command prompt I can successfully ping the scope IP address.
I've tried TCPIP1 instead of TCPIP0, without success.
I expected to see two interfaces, TCPIP0 and TCPIP1, in MAX, but I can't find any
option in MAX to recognise TCPIP1.
If I connect the scope to the company network, then via the first ethernet card I can
communicate without a problem. I can configure the scope and take a few measurements
before the IT team arrive with baseball bats.
If I swap the network wires to the ethernet cards, nothing changes: the company
network still works OK, and the same problems occur with the local network.
If I set fixed IP adresses and use a crossover ethernet cable the same problems occur.
How do I get CVI to use the second network card and the local hub?