Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LabVIEW loses connection with roboRIO immediately after deploying program #78

Open
jfabellera opened this issue Dec 17, 2024 · 0 comments
Labels
bug Something isn't working NI - LabVIEW

Comments

@jfabellera
Copy link
Contributor

Describe the bug
When running a robot project in LabVIEW, it will seemingly deploy correctly then immediately end and say that it lost connection to the RIO.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new robot project in LV
  2. Set team number/target address
  3. Open Robot Main.vi
  4. Run
  5. Once the it is done deploying, Robot Main.vi will show that it is running for half a second and then LV will have a pop up saying it lost connection with the target, stopping the program.

Expected behavior
Robot Main.vi should continue running and the target should not disconnect

Screenshots
Popup
Image

Desktop (please complete the following information if applicable):

  • OS: Windows 11
  • OS Language: English
  • Project Information:
    • LabVIEW
    • NI beta 2

roboRIO

  • roboRIO 1
  • Image version: FRC_roboRIO_2025_v1.1

Additional context

  • I talked with Greg, and we found that a work around for this right now is to run WPI_DriverStationStart Communication.vi (found in Robot Main.vi) first and that will initialize communication correctly, and you should be able to run Robot Main.vi fine after that. This will need to be repeated when the RIO is power cycled.

    This is the VI:
    Image

@jfabellera jfabellera added bug Something isn't working NI - LabVIEW labels Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NI - LabVIEW
Projects
None yet
Development

No branches or pull requests

1 participant