07-19-2019 01:49 PM
Hi to all.
I have a question about comunication wia network shared variables betwin main VI on a computer and RT-Host.vi on cRIO target. Can I use complex type of variable based on a control?
Like this control:
I don't understand why my RT-host.vi not run at sturtup. It deploys and starts from project and dosen't have any errors.
I deploed all shared variables, deploed the build, push the "run at startup" option and done all steps like shown at this link.
RT-HOST.VI view like that:
07-24-2019 04:32 PM
Hi 0Forest0,
You can create a network published shared variable that refers to a custom control. When you're creating the variable, you scroll to the bottom and choose From Custom Control... as shown in the screenshot. This will prompt you for a .ctl file, where your control should be saved. Then you can use this variable with a custom datatype.
Also, in order for your program to run at startup, you need to build the program by right clicking the build specification and selecting Build. You won't get an interactive front panel in this situation, because it's running as a real-time executable on the target. All you will get is any data you're sending back to a host VI.
07-25-2019 07:07 AM
My apologies, here is the screenshot: