FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variable -connection loss

Dear All,
 
i try to deploy a code which has almost 80 shared variables in cFP 2120 controller,many time the connection breaks in between,this inturn disturb us to test our code.
Pls suggest me the possibility of the cause and solution
 
 
Chandru
0 Kudos
Message 1 of 4
(7,005 Views)
Hi Chandru,
80 shared variables is a lot but this should be possible. Can you elaborate on the error you are receiving? Please post the error number if you are receiving one. Also, you might be overloading the network with all of that traffic. Try reducing the number of shared variables to see if the application works correctly with fewer.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 2 of 4
(6,990 Views)

Hi Eric,

i did not get any error but always the message pops up and says "Stop or wait for RT Respond", even we tried with few shared variables and that also gives same problem

 

can you suggest me what may be the cause for this problem

we tried with FTP and publish data vis also, and even in this too some time there is no updation in the output or the vis is idle without outputting anything

 

Thanks

Chandru

0 Kudos
Message 3 of 4
(6,976 Views)
Hi Chandru,
Thanks for the additional information. It sounds like your loss of connection might be due to thread starvation. If you have loops in your application you should consider slowing them down to help with troubleshooting. I would guess if you slow your application down enough, you will stop seeing the loss of connection error. Also does the application run for a little while before getting that error or does it happen immediately? Is your VI priority set to normal or time critical? If it is set to time critical you might want to consider setting it to normal. Please describe how you handle timing in your VI such as using timed loops, RT FIFOs or the RT timing VIs. Last question is what version of LabVIEW Real-Time are you using? I know that is a lot of information to give but the more we know the easier it will be to figure out the problem.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 4 of 4
(6,967 Views)