FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

How to Enumerate Digital I/O from side car in LabView?

Highlighted

I am trying to add some digital I/O (like a limit switch to the robot program), but I cannot select the "Enumerated Constant Properties"  of the digital I/O from the side car.  How is this set in LabVIew?  Any thoughts someone may have would be greatly appriciated.

Thanks,

Kevin C

0 Kudos
Message 1 of 2
(1,781 Views)

Hi Kevin here are the steps to create a ENUM constant off of a wire terminal.

  1. Hover over the wire terminal you want to creat a constant from until you see the wire tool
  2. Right click and select Create -> Contant for both the Module and Channel wire terminals
  3. hover over the newly created constant until you see the selection tool
  4. click and select the correct DIO channel

FRC Create Constant.png

0 Kudos
Message 2 of 2
(900 Views)