01-31-2014 03:03 AM
Hello,
because I became annoyed of deploying the VIs for the Real-Time-Target on my cRIO-9074 every time I changed a little,
I tried to deploy the main VI programmatically. I tried to use this community solution:
https://decibel.ni.com/content/docs/DOC-4154
but it won't work. If I wire the path of the project on the Host-PC (like c:\users\...) i got the following error message:
Error 8 on method node "open project", file permission error.
NI-488: DMA Hardware-Error
Can this be caused by the opened project? I don't have the RT-VI opened...
I also tried to choose the VI on the RT-Target, by wiring IP-adress to OpenReference and changing the project path to c:\ni-rt\startup\, but that won't open a valid project reference.
Maybe I have to change some settings in my project?
Regards,
01-31-2014 03:55 AM - edited 01-31-2014 04:24 AM
Hey there,
I got it managed, I had to use the property node ActiveProject and then Path instead of OpenProject.
But now there occurs an error with the shared variables, in DSM the library is marked as "Evaluation in another application (offline)". I deploy the RT-Main.vi programmatically, when I do the same manually, the shared variables work fine
Regards
Edit: In DSM, the shared variable library is added, but not started. Is there a possibility to start shared variable processes programmatically?