LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI RT Single Process Shared Variables

Hi,

 

I have two PXI controllers running a realtime operating system that sit on the same tcp network. I have inhereted some code which uses a few single process shared variables. The issue I have is that I think (though I have no evidence of this) that the two PXI controllers are talking to each other! As far as I am aware single process shared variables do not publish their data to the network. I have checked for datasocket, tcp code, and network shared variables. I have also editted the alias file that gets deployed onto the controllers to remove the IP address of the others.

 

The reason I uspect that the two controllers are talking to each other is that when one crashes, the other crashes in sympathy (within 2 seconds)! Unfortunately disconnecting the controllers from the network is not an option as I do not want to have to crawl into my oily rig every time I want to add a config file to the HDD. Its LV2009 SP2 with RT I'm using.

 

Any comments, suggestions would be aoppreciated!

 

Al

0 Kudos
Message 1 of 7
(3,067 Views)

There is asetting for the RT target that will let it crash if it lloses the network.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(3,065 Views)

Hey Weevil

 

Are both PXI's running the same code? If so are they measuring similar things? this could be a consinsidental crash if this is the case.

also would it be possible to look at the code you have inherited as I might be able to spot the problem from that.

 

Thanks

 

Matt

Matthew Trott
Applications Engineer
National Instruments UK
www.ni.com/ask
0 Kudos
Message 3 of 7
(3,051 Views)

Matt,

 

Yes both PXI's are running the same code measuring and outputting to the same channels, but they are in different test rigs. The only link between the two controllers is the ethernet network. If there was a general bug in the code I would expect it to crash when doing the same test, but yesterday when they crashed the two rigs were in a different part of the test sequence.

 

It might be coincidence, but the operators have told me that this has been happening at other times in the past.

0 Kudos
Message 4 of 7
(3,048 Views)

There is a setting for the RT target that will let it crash if it looses the network.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 7
(3,043 Views)

Ben,

 

Thanks for that, I'll check the project properties to see if its set - I have a Doh! feeling coming on 😉

0 Kudos
Message 6 of 7
(3,035 Views)

Hey Weevil

 

Just out of interest did Bens suggestion solve it?

 

Matt

Matthew Trott
Applications Engineer
National Instruments UK
www.ni.com/ask
0 Kudos
Message 7 of 7
(3,025 Views)