From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why it's take a while to get a TCP Connection

I Guys

I open VISA Interactive Control

and I see my USB Connection just in time,

but the TCP/IP Connection takes at least 5 min to be recognized.

What is the reason for this and can I force the auto detection?

 

I Develop an Application in Delphi

0 Kudos
Message 1 of 4
(4,136 Views)

Hi,

 

Can you give us a few more details about your hardware setup please?

- which device are you using?

- is the device directly connected to your computer or part of a bigger network?

 

And do you only see this behavior in the VISA Interactive Control or also in your application?

 

Best regards

Christian

Christian
CLA, CTA, CLED
0 Kudos
Message 2 of 4
(4,090 Views)

Sorry

It's a direct TCPIP connection via a switch

192.168.1.200 - 255.255.255.0

 

If my Rigol DS1074Z is on and I start my PC

I don't have a delay, but if I power on My DS1074Z

it takes a while.

 

The USB Connection is just in time available.

 

In Pascal

 

viOpenDefaultRM(defrm);

Error := viFindRsrc(defrm, '?*?', list, nmatches, matches);  // Open the device
if Error <> VI_SUCCESS then begin
....

end;

 

 

 

 

0 Kudos
Message 3 of 4
(4,065 Views)

Anyway what I figured out.

If I first start the DS1074Z then the PC

all the other VISA32 function work well so far.

 

Sometimes I had VI_ERROR_TMO,

when I first started the PC.

0 Kudos
Message 4 of 4
(4,046 Views)