Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Displaying Data on the Front Panel (http://www.chiefdelphi.com/forums/showthread.php?t=100458)

2508 17-01-2012 11:03

Displaying Data on the Front Panel
 
I have searched for this and I must be using the wrong search terms because I can't find anything helpful. I would like to display data to the driver in the form of an LED notifying the driver of the status of some boolean value in a sub VI. Anyone know how this is done or where I can find information about this?

Mark McLeod 17-01-2012 11:32

Re: Displaying Data on the Front Panel
 
Three ways to accomplish that:
  1. Use the Dashboard as a virtual LED. It already has examples of that.
  2. Use the Cypress First Touch connected to the Driver Station PC to power a physical LED (WPI Robotics Library->Driver Station->Compatibility IO->Set Dig Out)
  3. Use the Driver Station application I/O tab to see the virtual LED associated with the Cypress.
Cudos for searching first.
It's understandable that the information might be hard to search for when you don't know the custom terms we use for it.

notmattlythgoe 17-01-2012 11:40

Re: Displaying Data on the Front Panel
 
Quote:

Originally Posted by Mark McLeod (Post 1107658)
Three ways to accomplish that:
  1. Use the Dashboard as a virtual LED. It already has examples of that.
  2. Use the Cypress First Touch connected to the Driver Station PC to power a physical LED
  3. Use the Driver Station application I/O tab to see the virtual LED associated with the Cypress.
Cudos for searching first.
It's understandable that the information might be hard to search for when you don't know the custom terms we use for it.

I don't think he means a physical LED, just one on the driver station. You'll have to send data back and forth from the DS. There should be labview examples provided for doing this. I will look it up for you right now.

notmattlythgoe 17-01-2012 11:58

Re: Displaying Data on the Front Panel
 
Have you created a dashboard project and tried to step through the code and see how it works? You'll basically need to attach the data to the dashboard sending vi's in your robot code and pull them out of the array in your dashboard project. Take a look at Tutorial 6- Creating a Custom Dashboard.


All times are GMT -5. The time now is 04:27.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi