05-02-2012 10:31 PM
Is there a way to set up MAX with a sbRIO and RT Target without actually connecting to the sbRIO? After that, is there a way to debug the programming for the sbRIO using MAX without actually having the sbRIO?
05-03-2012 02:32 PM
Not yet, you will have to simulate in LV for windows.
05-03-2012 03:18 PM
Hey Russ,
Unfortunately, it's not possible to simulate an sbRIO in MAX. However, you can manually add an sbRIO to a new project by right-clicking, in the project, on the project name (ie Project: Untitled Project 1) and selecting New >> Target and Devices. Then choose New Target or Device >> Real-Time Single-Board RIO >> sbRIO-XXXX. This will add the sbRIO target to your project. You can then right click on the sbRIO target and select New >> VI. This will create a new VI under the target and you can begin programming as if you're connected to the sbRIO. However, you will still need the Real-Time Module. Hope this helps!
--Ryan S
05-03-2012 11:14 PM
I still don't know how to debug the program without physically connecting the the sbRIO, which I do not have at this time.
05-04-2012 09:59 AM
Hey Russ,
I guess it depends on what you mean by debug. If you simply want to look through the code and check for broken run arrows, then that's possible. If you mean running the actual code using a simulated device and looking for unexpected behavior and bugs, then that's not possible. Depending on how much you can modify the code, you could simulate a cDAQ chassis with a module that has functionality similar to that of the sbRIO and use that to fully debug your code. Hope this helps!
--Ryan S.