NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
sirluke
Posts: 25
0 Kudos

Connection lost Windows 7

Hi,

I'm experiencing a big problem since installing Veristand on a customer machine running Windows 7.

Often (like every 15minutes) the connection between the host and the PXI is lost and there is no way to reestablish it other than rebooting the RT target.

When this event occurs the RT system keeps running, the model, the DAQ, everything seems ok, but the workspace doesn't reconnect. Exiting the WS and reopening it does not solve the issue. Only rebooting the PXI solves the issue.

This problem makes the HIL system rather useless, since it is impossible to run automated tests unattended.

Are there any workarounds, tests or further investigation I can make?

Regards.

 

Luca Solieri 

Active Participant
Jarrod_S.
Posts: 1,346
0 Kudos

Re: Connection lost Windows 7

Do you have a second host machine with VeriStand installed? I'd be interested to see if it can connect to the target after the connection is dropped on the first host. Another good thing to check would be to see if exiting VeriStand and possibly rebooting the original host machine allows that host to connect to the RT Target.

 

This could help us determine if the issue is on the host or target side.

Jarrod S.
National Instruments
Member
sirluke
Posts: 25
0 Kudos

Re: Connection lost Windows 7

The host machine seems to have no effect on the problem. I've tried rebooting the host with no success, the target remains unaccessible.

I'll try using a different host machine, but it seems the target gets in a state from where it cannot recover. 

 

Luca Solieri 

Active Participant
Jarrod_S.
Posts: 1,346
0 Kudos

Re: Connection lost Windows 7

A couple questions:

 

  1. What type RT target are you using? Are you using the standard ethernet port or another ethernet card?
  2. Are the RT target and host on the same subnet?
  3. Were you doing anything specific on the host when this happens? Are you running stimulus profiles or anything, or does it occur regardless of what the host PC is doing?
  4. Can you ping the target or connect with an FTP session after the disconnect occurs?
  5. Is the target experiencing a very high CPU load that might preempt the TCP threads?

 

Here are a couple more things we can do to try to isolate the cause of this issue:

 

  1. Deploy an empty configuration the target from the same Windows 7 machine and see if the same behavior occurs.
  2. Deploy a configuration from another host machine on the same network and see if the disconnect ever occurs. (Windows XP would be ideal, because it has a different network stack than Vista and Win7.)
  3. To test if the network is causing this issue, you might also try connecting the Windows 7 host machine to the target using a cross-over ethernet cable and see if the behavior still exists.
Jarrod S.
National Instruments
Member
sirluke
Posts: 25
0 Kudos

Re: Connection lost Windows 7

Here are some of the answers:

1) PXI8110 with standard ethernet

2) Yes

3) The problem is not related to any particular action, it may happen without actually doing anything on the host

4) Yes, I can access the RT via FTP

5) No, cores n.1,n.2,n.3 are running at 20%, the n.4 is at 50% 

 

I can add another weirdness:

- when the system is running if I disconnect the ethernet cable the connection led on the workspace stays on. After reconnecting the cable sometimes it gets back online, sometimes no and sometimes stays in between, meaning that I can change control values (and the system reacts accordingly) but cannot read back indicators (everything is frozen).

 

I'll do the proposed tests tomorrow.

 

Thanks.

 

Luca 

Member
h_yong
Posts: 121
0 Kudos

Re: Connection lost Windows 7

[ Edited ]

Hello, I am having a similar issue but am running Windows XP and talking to an industrial PC running LabVIEW RT connected to a PXI-1033 chassis over MXI.

 

Here are my answers to the same set of questions:

 

1.    What type RT target are you using? Are you using the standardethernet port or another ethernet card?- I am using an industrial PC running LabVIEW RT connecting to the PXI-1033 over MXI.

 

2.    Are the RT target and host on the same subnet?- Yes.

 

3.    Were you doing anything specific on the host when this happens? Areyou running stimulus profiles or anything, or does it occur regardless ofwhat the host PC is doing?- Nothing specific. Once I disconnect the Ethernet, I lose communication with the RT system. But when I physically reconnect, Windows actually tells I am connected.

 

4.    Can you ping the target or connect with an FTP session after thedisconnect occurs?

- Yes, I can ping and FTP via an FTP client. However, when I try to deploy new code via VeriStand FTP, it tells me that the FTP connection fails. The RT's monitor also continues to show that my host is connected (doesn't recognize the disconnection). Windows tells me I'm connected too.

 

5.    Is the target experiencing a very high CPU load that might preemptthe TCP threads?- No, both CPU's are under 30% in usual operation.

 

1.    Deploy an empty configuration the target from the same Windows 7machine and see if the same behavior occurs.- I am using Windows XP but I cannot deploy as I cannot connect via VeriStand's FTP.

 

2.    Deploy a configuration from another host machine on the same networkand see if the disconnect ever occurs. (Windows XP would be ideal, becauseit has a different network stack than Vista and Win7.)- I don't have easy access to another machine that I can run VeriStand from.

 

3.    To test if the network is causing this issue, you might also tryconnecting the Windows 7 host machine to the target using a cross-overethernet cable and see if the behavior still exists.- I don't have a crossover cable handy here. Are you suggesting that a standard cable can work most of the time but after disconnecting and reconnecting it may not recognize the new connection? For what it's worth, Windows tells me it's reconnected but the workspace has no real response.

 

Thanks.

Message Edited by hyog on 05-07-2010 12:46 PM
Message Edited by hyog on 05-07-2010 12:46 PM
Member
thisisnotadream
Posts: 109
0 Kudos

Re: Connection lost Windows 7

Has this been resolved? I am seeing this as well. Exact same scenario. Workspace connection disappears and reappears momentarily and no one ever talks again.
Active Participant
Lunik
Posts: 331
0 Kudos

Re: Connection lost Windows 7

I had the same probleme

 

The workspace stops responding when there are many control.

 

After this i must kill veristand.exe next re start veristand projet and re connect to the target.

 

Target has worked continuously.
Configuration :
Win Xp SP3
Versitand 2011
PXI 81-09

Target speed :933 hz
There are the same probleme with any computer with Veristand 2011


By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page