::rtm:: Status: Unsolved
Background Information:
I am in an FRC team and am the lead programmer and an electrical designer/engineer.
Specs:
FRC NI cRIO II
Labview 2012(13) with latest update
2Go PC D12 Rugged, Driver Station
2x Thrustmaster T.Flight Stick X Joystick
Issue:
I am unsuccessfully trying to update the Driver Station Dashboard with Boolean values from Teleop.
Currently, I have a VI named “Latch Launcher” which is right next to Teleop in the same case structure under Robot Main.vi and runs everything I have in there perfectly. I have three Latch Gates that allow buttons on the driver station joystick to be togglable, and those work as well. BUT, the issue i’m having is that I cannot successfully use a “SD Write Boolean” and then a corresponding “SD Read Boolean” on the driver station project, using the same string names of course, to send signals accurately.
It does work, but after a couple times, it just randomly stops sending signals or becomes stuck, and I have absolutely no idea why it is doing that or how to fix it. I tried creating another VI and leading all of the Boolean wires to that and setting the loop wait time to 50, but the CPU is overpowered then and won’t do it. At 0, that still doesn’t function. The only way I’ve found to partially get signals to work is by just using the plain node, but then it stops as I’ve said before.
How would one go about fixing this or a method to accurately send signals? And are there any examples to follow?
Feel free to ask questions, i’l answer them to the best of my ability.
Thanks, hope to hear some answers soon
This is how i’m writing the values in Latch Launcher
This is how I’m reading the same value on the dashboard
Here is my Labview code for the robot and dashboard, I compressed it to multiple formats for cross-compatability.
Robot Project:
-Self-Extracting 7-Zip Archive
-7-zip Archive
-Zip Archive
Dashboard Project:
-Self-Extracting 7-Zip
-7-Zip Archive
-Zip Archive