12-09-2024 12:09 PM
Hi,
I try to read the state of "User1" button located on the cRIO-9047.
For other RT targets i have used "RT Read Switch.vi" found in NI_real-Time Target Support.lvlib.
But now when i using the same code i get Error code -1.
So my question is, how do i read the User1 switch state [on or off] from my RT target?
Solved! Go to Solution.
12-11-2024 02:28 AM
Found this and modified it to work.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kGMoSAM&l=sv-SE
Seems like my cRIO-9047 dont have all System Hardware functionality.
So i only using the first value witch is the User1 swtich state.
It works, but maybe someone can share other solutions, please do.
12-11-2024 02:36 AM