Some background: I'm trying to use the name of the library my VI is executing in as part of a string which will be used in the name of a Rendezvous, to keep it distinct from other Rendezvous I will create.
When attempting to use the VI Property Node to access the Library property on the CompactRIO, error code 1 is returned. Running the same code on my computer runs as expected and returns the Library. Accessing the VI Name using the Property Node appears to work no problem on the RT, though.
Does anyone know what could be causing the problem? I tried searching the documentation, but didn't turn up anything. Is this error part of some general behavior wherein some VI properties are not accessible when a VI is running on a real-time target?
Code is attached. Please see attached pictures:
Front Panel - RT Results:
Front Panel - Computer Results:
Experiment with VI Property Node Error.zip
I am trying to launch a vi dynamically inside RT. But I am unable to do it. It either throws up error 100 (VI not in compatible state for this operation) or just I get disconnected from the RT. I am not sure about the problem and I need help in this. How do I launch a VI dynamically inside RT. All its dependencies are downloaded to RT.
The VIs I am trying to launch is a member of a class.
VIs property is set to be modal. (I want it to be front most when it gets launcheed. We are using LabVIEW Embedded UI for monitoring purposes).
I am able to get the reference of the VI porperly. The error occurs in invoke node which tries to run the VI.
Should the VI be reentrant for launching(a hunch of my own-but not sure why it should be)?
Thanks in advance for your replies.
I am looking to get some design consideration for developing a cRIO motion control application. My questions are
1. Is Softmotion advisable to be used for motion control where the data rate can is upto 20KHz? Not sure if SoftMotion only works with scan engine and according to cRIO developer guide, for rates >500 Hz FPGA should be used and not scan engine. What are the limitations of using Softmotion?
2. In one application can FPGA be used to do I/O with one module and scan engine be used to do I/O with another module?
Just wondering how long does it take to develop a LV application with Softmotion if basic motion control is to be performed. Thanks.