LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with variable deployment on Ethernet RIO

Hi,

 

I am using an Ethernet RIO (NI 9149) with Scan Engine for an application (LabVIEW 2017). When I run the code from my LabVIEW project, the variables are deployed correctly to the Ethernet RIO. However, when I run it as an executable, the variables are not deployed (there is no Deployment Progress window). Is there any way to get my executable file to deploy the variables?

 

I also had an issue when deploying from my project (right click on Eth RIO target => Deploy All). Most variables were deployed correctly, while several were not deployed at all. I tried to deploy the variables from a specific module only, but it didn't solve the issue. I had to select Undeploy from the module and then Deploy to get it to work. Is there a specific reason why this happened or could this be a bug?

 

Any help would be appreciated.

Thank you

0 Kudos
Message 1 of 5
(2,925 Views)

Hi,

 

The following link talk about configure application builder to build executable deploying variables, maybe it can help you.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MEMSA2

 

Regards,

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 2 of 5
(2,901 Views)

Thank you for your reply.

 

However, I do not have any library to deploy. I am only using Scan Engine to access the shared variable on the Ethernet Rio.

 

Is there any other way to get an executable to deploy variables on startup?

0 Kudos
Message 3 of 5
(2,860 Views)

In fact you only need Shared Variable Engine running to read a I/O Variable from Ethernet RIO.

https://forums.ni.com/t5/LabVIEW/Scan-Engine-in-Windows-Executable/td-p/1683086

http://digital.ni.com/public.nsf/allkb/D53FFB251C0F1681862576DD007D01EF?OpenDocument

 

Regards,

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 4 of 5
(2,855 Views)

Where is this exe running ? RT or Host? 

How is the Scan Engine setup? 

Are you able to see the variable in NI Distributed System Manager?

0 Kudos
Message 5 of 5
(2,849 Views)