|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: LabView Dashboard
Quote:
Have you been able to get the Dashboard to receive packets? Have you been able to get the Dashboard to display simple PWM_1 information? Have you been able to get the Dashboard to show you joystick information? -Danny |
|
#2
|
||||
|
||||
|
Re: LabView Dashboard
Danny,
Go easy on the little freshman fellow....he is new.... I tried to assist brummer13 yesterday. We loaded MPLAB and downloaded the default code from IFIrobotics. We assumed that all code and bytes would be supported by Labview Dashboard with this configuration. We still can't get Labview to work with the default code downloaded from IFI. Here is what we know. 1. Labview CMUCam works great. 2. NI-VISA is installed (it works fine with CMUCam Labview 3. IFI Robotics Dashboard works fine, this proves our cable, serial port work just fine on the computer. 4. We installed default IFIRobotics code with MPLAB and C18 2.4 complier. We assumed that this version of software would support all the user byte calls that Labview dashboard is looking for instead of using EasyC, where we have to write our own user bytes to Labview Dashboard. 5. We did write a small EasyC application for the OI LEDs, the OI LEDs work just fine, but Labview doesn't seem to be picking it up. 6. We have read the documentation, the PDF that came in the zip file for the dashboard application, doesn't really say anything about it "not" working. No troubleshooting steps etc.. What we have noticed: 1. Labview dashboard seems to be running continuously, and monitoring the block diagram in the background, we can see I guess what you would call a program "pulse" or bulge in the piping coming in simulation data flow, it arrives in the bigger frame on the right, then changes the top left and right arrow selectors to say "False". Common sense to me means the data came in, but didn't find a matching packet or "String" in that block and then went false. Being that we tried the default code, which we thought was sending user byte data, I am kind-of lost too. I do appreciate your other post, I am reviewing the Labview training links you have posted for the sake of our freshman team trying to design an HMI for the robot this year. Thanks for your patients in the matter. I am glad that other teams have gotten this to work, apparently for whatever reason, we aren't one of them, and I am trying to lead them in such a way that decifers good troubleshooting skills. We are generally a seasoned programming team with good technical skills. We helped find a bug in the EasyC camera function not long ago that was a concern to our team, but so far none of us have grasped the Labview Dashboard application. Apparently we aren't trying hard enough. Also I believe bummer13 was just asking a general question if anyone had gotten it to work or maybe wanted to hear from a team that got it up and running. Maybe you can direct us to such a team that has it running since their are so many of them. Thank you for you time. Quote:
Last edited by Chris_Elston : 06-02-2006 at 01:29. |
|
#3
|
|||||
|
|||||
|
Re: LabView Dashboard
Quote:
Quote:
What any of the Dashboard programs do is parse a specific datastream provided by the OI - the OI has special hardware that snoops the data communications between the OI and the RC and provides a copy of the data stream to the Dashboard, and should provide the same information regardless of the language used to program the RC. The 2 components of the LabVIEW Dashboard work together to parse this datastream and display the data.Without entirely repeating what is in the documentation, the Dashboard is comprised of 2 programs that must be open and running at all times. The first is the "Dashboard Read.VI", and it is this program that allows you to read packets from the Dashboard port on the Operator Interface (OI). To start and configure the "Dashboard Read.VI" program, do the following,
Now open the "Dashboard Display.VI" application (while leaving the "Dashboard Read.VI" open and running). All you should have to do here is press CTRL-R or the LabVIEW "run" button. Across the top of the VI are some very useful indicators:
Let me know if this allows you to at least process general information. I am going to steal back my "test controller" from team 418 so I can do a short video tutorial on how to modify the dashboard for your own customization. Quote:
Please let me know if this helps to get you up and running. -Danny |
|
#4
|
||||
|
||||
|
Re: LabView Dashboard
Our team started fiddling around with the LabView Dashboard under OS X, and while it's in general working well, we're finding that the execution is quite slow, and the number of buffers in the waiting list in Dashboard Read.vi keeps swiftly increasing, and as a result the Dashboard Display.vi starts to lag. Increasing Packet Processing Delay (I started with 5) just makes it worse.
This is on an OS X 10.4.4 1 GHz G4 laptop that's basically idle except for Labview. Any ideas on speeding this up? The dashboard really isn't producing all that much data to be processed. |
|
#5
|
|||||
|
|||||
|
Re: LabView Dashboard
Quote:
. I added "wait for millisecond multiple" VI's in each loop which caused the thread to block (or yield to other processes/threads) and this greatly enhanced performance on the machine (and thusly I submitted the update). I debated on whether or not to have the packet processing delay automatically start at 10 by having a "10 + packetprocessingdelay" in the code but that would honestly be arbitrary and might or might not be right on a given machine. Sure, the 100ms multiple I added was also arbitrary, but sometimes you have to just make a decision and live with it. Let me know if the update helps. I can gain access to a Mac OS X 10.4.4 desktop here at NI for a bit (through the careful use of bribery) so if this doesn't seem to do the trick I can potentially see what else might need a little TLC. -Danny Last edited by Danny Diaz : 07-02-2006 at 16:25. |
|
#6
|
||||
|
||||
|
Re: LabView Dashboard
Quote:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example LabVIEW Apps - Dashboard, CMUcam2 and Motors | DanDon | LabView and Data Acquisition | 3 | 29-01-2009 22:13 |
| Labview Video Tutorial? Dashboard | Chris_Elston | National Instruments LabVIEW and Data Acquisition | 21 | 25-01-2008 00:29 |
| Example LabVIEW Apps - Dashboard, CMUcam2 and Motors | Russ Beavis | National Instruments LabVIEW and Data Acquisition | 9 | 21-01-2007 17:19 |
| National Instruments LabVIEW and Data Acquisition Forum | Danny Diaz | National Instruments LabVIEW and Data Acquisition | 1 | 16-01-2006 13:20 |
| Custom Dashboard code for LabVIEW ready for download. | archiver | 2001 | 3 | 24-06-2002 00:49 |