LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deplying to RT pc target

1. yes

2. it behaves like that since begining

3. I did not add anything new.

 

 

0 Kudos
Message 11 of 15
(746 Views)
AndyN-

I would recommend you try to segment your code and see where exactly the hang is occurring.  There obviously is something in your code that your Real-Time system doesn’t like.  Possibly try running it in highlight execution and if there are any errors that are occurring that aren’t getting sent due to the breach in communication.  The best method of troubleshooting is to simply begin with a small part of your code and continue adding parts until you find what is causing this issue. 
Regards,

Mike S
NI AE
0 Kudos
Message 12 of 15
(725 Views)

I do not think You got me right.

 

My code runs fine for 99% of time.  I mean hours of operation and testing. But when it does not, of or both of the two things happen:

instant, temporary loss of communication and almost immediate return OR the message  about the lack of memory and then almost instant return to a normal operation. I also 50% of time get the deployment error but that does not seem to affect the execution in any way. It runs just fine after.

 

CPU usage low, memory usage low, no memory leaks.

0 Kudos
Message 13 of 15
(706 Views)
Is the behavior consistent?  ie. does it take the same amount of time for this behavior to manifest itself?
Regards,

Mike S
NI AE
0 Kudos
Message 14 of 15
(680 Views)
It appears to be random to me. I cannot see any obvious pattern and I run it maybe 500+ times maybe a 1000?
0 Kudos
Message 15 of 15
(615 Views)