08-01-2016 01:14 AM
when i use event structure in sbrio-9651,the boolean doesn't work
but this vi is runing perfectly in PC
who knows
08-01-2016 02:42 AM
You should attach your VI, otherwise, your text doesn't make any sense to anyone not being you.....
However, i assume:
You are using a front panel boolean switch. sbRIO does not support front panels so why should that work at all?
Please learn about the differences of FPGA, RT (both sbRIO) and non-RT (Windows, Linux, ...) coding.
Norbert
08-01-2016 01:17 PM
08-01-2016 01:56 PM
As others have said - any VIs you run on the sbRIO are actually running on an embedded target and don't have a user interface on your computer. What LabVIEW does to help you debug is pass data between the code running in development mode to make it easier to see what's happening (without needing to build a separate user interface application). When you come to run your code as an executable, you wouldn't normally have access to the front panel.
You can use events on RT targets, but only really for user events that you generate programmatically, and not for interactions with the front panel.