LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SVE I/O variables bug?

Solved!
Go to solution

Having weird results when deploying my RTapp on RT target.

 

From the project explorer I deploy all of the IO variables to RT target.

1.PNG

 

Everything looks good, i can reboot RT target and always have the same IO variables found on DSM as in project. But then When I Deploy and run the RT app. The module #4 reverts to default channel names. I then get Errors from any IO variable on module #4.

 

2.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

At this point i can re-deploy from the project window as many times as i want, and the #4 module will stay with the default names in DSM.

I have to undeploy then, then Re-deploy them, and then the correct IO variable names will be used .

This error is only occurring on module #4, with a 9401 module installed.

 

When I run the RT Main.VI from the project explorer, thus not using the RT app. The IO variables do not get renamed and everything works fine.

 

Anyone had issues like this before?

 

 

 

 

 

 

 

 

 

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

Have you tried removing the module from the project and chassis, then adding it back.  If it's a duplicate module configuration, you could run into issues with it updating/defaulting.  Are you changing the direction of the I/O in the properties for the module?

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,581 Views)

I have removed the entire chassis and then readded it, same result. I am not changing the properties for the module.

0 Kudos
Message 3 of 4
(2,579 Views)
Solution
Accepted by topic author teslaaaa

problem solved, I included a Subvi in the "startup VI" in the RT application. moved it to always included and all works fine. OOPS

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