LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

rt

Hi,

 

We have this compact RIO machine and I've been trying to write labview code that would perpetually run on it in scanning mode.  The problem I am having is that I often find my self being able to just run the code from labview (no broken arrow) but when I dbuild and deploy the project, the cRIO does not like it.  Trying to operate the remote pannel gives error "VI is broken and cannot be viewed or controlled."  In the build properties I've made sure to check the "Disconnect type definitions" checkbox.

I was wondering if people have had similar problems and more importantly how to track the source of the problem.  I cannot see any error messages on the console, LabView itself thinks the VIs are runnable, so the only thing I can do is selectively start removing code, which is highly non-ideal (especially in a visual programming language like labview).

0 Kudos
Message 1 of 4
(2,604 Views)

Can you please post your code? -SS



0 Kudos
Message 2 of 4
(2,588 Views)

Here's the code.  I am more interested in a process of figuring out these problems.  is there some log where I could see what is causing the VI to be broken?  Or is there a quide saying "X can be done in regular labview, but not when it's running on cRIO?"

Download All
0 Kudos
Message 3 of 4
(2,579 Views)

Ok when I turn on debugging and click view warnings, it says the XNode is broken, indicating the offending element is a timed loop.

 

Anyone encountered error like that?

0 Kudos
Message 4 of 4
(2,568 Views)