04-02-2014 01:00 PM
I put together a quick example of using the SDR with two NI sbRIO-9612 boards (LV2013). It uses network shared variables, so I would recommend using a different mechanism for RT Target to Host communications (such as Network Streams) for any serious applications. To run the example, you will need:
The example is run be toggling the "Health" values for each board, causing the board with a higher numeric value to assume the role of "Active" unit and relegating the other to "Slave." Here are a couple of screenshots of the example project:
04-11-2014 05:16 AM
hello all,
Thank you for making a wonderful reference for SDR.
I want to share with you about my experience when creating rtexe for my real-time target.
When you test the VI in LabVIEW, it works as expected.
However, after you build the exe and deploy it on your cRIO/cFP, it does not work,
You will see an error coming out with code 1026, saying VI reference is invalid.
My work around is to open the SDR Start.vi. Replace the open reference function with Static reference, as shown below:
Now all will work just fine.
If Anybody know the method to use dynamic reference on RT target, please post here too. I believe many of us will appreciate it.
Attached my set of modified SDR reference used under LabVIEW 2012
Cheers,
Marco Kwok