|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Solenoid Output in Dashboard
We copied the code from the Dashboard example and were able to get the pwms, analog sensors, and digital sensors to display on the dashboard.
How do we get the solenoids and everything else to work? |
|
#2
|
|||
|
|||
|
Re: Solenoid Output in Dashboard
rhf323: You mentioned that you copied code from the Dashboard example. Could you tell me where you found that example code? I am having trouble with the Dashboard on our Classmate PC and would like to see the example that you used to see if it might help me. Thanks in advance.
|
|
#3
|
|||
|
|||
|
Re: Solenoid Output in Dashboard
Assuming you are using C++, I noticed that the dashboard example doesn't bother to check solenoids and instead just returns all off. Most likely because the writers didn't want to include the extra solenoid objects. If you add it yourself it probably will work
|
|
#4
|
||||
|
||||
|
Re: Solenoid Output in Dashboard
One of the example projects built into WindRiver for us was a DashBoardDataExample project that had the code we used.
|
|
#5
|
|||
|
|||
|
Re: Solenoid Output in Dashboard
yeah, that example doesn't do the solenoids. If you look at the code:
Code:
// Can't read solenoids without an instance of the object dash.AddU8((char) 0); |
|
#6
|
||||
|
||||
|
Re: Solenoid Output in Dashboard
Well we got it working thanks any way
![]() |
|
#7
|
|||
|
|||
|
Re: Solenoid Output in Dashboard
How did you get it working? Are you using the default dashboard? Which values did you need to un-comment? Do you have to do anything like encoder1.Get() or does it just grab data from the inputs? This I/O stuff is so hard for me to understand!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solenoid not firing off Solenoid Breakout | spooncwru | Pneumatics | 2 | 30-01-2010 17:46 |
| Labview Dashboard and updated IFI dashboard spec | Joe Ross | LabView and Data Acquisition | 1 | 04-04-2006 02:04 |
| 2004 Dashboard Protocal vs 2005 Dashboard Protocal | Kyle T | Programming | 4 | 14-03-2005 22:19 |
| Weird Output from Dashboard Port | Ian W. | Programming | 9 | 06-03-2004 21:33 |
| Dashboard Output Question | jnossen | Technical Discussion | 5 | 02-02-2002 19:52 |