Skip to content

LabVIEW loses connection with roboRIO immediately after deploying program #78

Open
@jfabellera

Description

@jfabellera

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions