|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
help with LabVIEW framework
Our team is having some difficulty with the LabVIEW framework.
Here are the specifics: - we built the real time application from the unmodified 2010 FRC Robot project. - we right-clicked the application in the project explorer window and selected "run as startup" - when it prompted to re-boot the cRIO we said yes - the communication and robot code indicator lights on the FRC Driver Station went red (indicating that the cRIO was re-booting) - the "communication" and "robot code" indicator lights on the Driver Station then turned green. the "stop button" light is yellow (we disabled the stop button) - the FRC Driver Station indicates (via the diagnostics tab) that our joystick is joystick1. - we clicked the "enable" button in the FRC Driver Station. - the lights on the jaguars turned solid yellow. - when the buttons on the joystick are pressed, the joystick indicator light in the FRC Driver Station diagnostics tab window turns from green to blue. - BUT, when we move the joystick, the lights on the jaguars do not change. If the above description lacks necessary detail, please tell us what is missing. ~ Last edited by Ether : 08-02-2010 at 13:06. Reason: added more detail |
|
#2
|
|||||
|
|||||
|
Re: help with LabVIEW framework
That's a great description of what you did and what you're seeing. I don't notice anything wrong with the steps you took. It would help to know what the RSL on the Digital Sidecar is doing, and what the three power status LEDs show. Since the Jaguars go steady yellow when the robot is enabled, it looks like your wiring is correct, but it's always worth double-checking that you are correctly supplying power to the Digital Sidecar.
Do you see any activity on the PWM section of the Dashboard display when you move the joystick? You did apply the LabVIEW and Driver Station updates, right? |
|
#3
|
||||
|
||||
|
Re: help with LabVIEW framework
<<You did apply the LabVIEW and Driver Station updates, right?>>
I did not personally do this, but I have asked more than once and have been assured that the updates were downloaded and applied. I will double-check this tonight (by asking the team) to make sure. Is there a way to tell for sure that all the updates have been installed, like by looking at "Help About" or something like that? I just went over to the USFIRST website to double-check this. I see there are 4 updates: Mandatory LabVIEW Update - posted 09 Jan 2010 Mandatory Driver Station Update/Driver Station Installer (for use on any PC) - posted 09 Jan 2010 Fix for Driver Station Missing 'nicyapi.dll' Issue - posted 11 Jan 2010 CAN/Jaguar Update - posted 11 Jan 2010 Are there any other updates besides those listed above? <<Do you see any activity on the PWM section of the Dashboard display when you move the joystick?>> I will have the team check this. They did not have the Dashboard running at the time (we are using an XP laptop for development, not the classmate, because we wanted the classmate to remain "pristine" as advised in the FRC docs) <<It would help to know what the RSL on the Digital Sidecar is doing, and what the three power status LEDs show.>> Hate to be so clueless, but what is the RSL? I'm not sure my team will know what this means. Are the power status LEDs located on the power distribution board? Thanks. ~ |
|
#4
|
||||
|
||||
|
Re: help with LabVIEW framework
Quote:
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: help with LabVIEW framework
Here's a photo of the status lights Alan is asking about.
The really bright one is the RSL that is just repeated by the big yellow light that Mike told you about.
Last edited by Mark McLeod : 08-02-2010 at 15:37. |
|
#6
|
||||
|
||||
|
Re: help with LabVIEW framework
Thanks Mark and Alan and Mike.
I will pass this information along to the team tonight and we will go over all the suggestions together. |
|
#7
|
||||
|
||||
|
I also have a question:
When opening the compressor in the BEGIN sub-VI, what is the difference in the "Pressure Switch DIO Module" and the "Pressure Switch DIO Channel"? I know they refer to different pieces of hardware (digital sidecar and pnematic breakout), but which one? Do I need to use both of them? What about the "Relay Module and "Relay Channel"? Thanks |
|
#8
|
|||||
|
|||||
|
Re: help with LabVIEW framework
Quote:
The Pressure Switch DIO Module refers to which slot of the cRIO the module attached to the Digital Sidecar is in. The Pressure Switch DIO Channel refers to the channel number (printed in white on the Digital Sidecar) that the switch is attached to. The relay module and channel are similarly defined. |
|
#9
|
|||||
|
|||||
|
Re: help with LabVIEW framework
Quote:
Quote:
|
|
#10
|
||||
|
||||
|
Re: help with LabVIEW framework
Thanks a whole bunch!
About a half dozen other questions were cleared up by your responses.Thanks again! |
|
#11
|
||||
|
||||
|
Re: help with LabVIEW framework
We got the LabVIEW framework working. I had the team review all the suggestions, and then very carefully repeat all the steps... and now it works.
I suspect they may have missed a step the first time or inadvertently modified something. At least I hope that's the case - and not an intermittent hardware problem (yikes). Once they got the framework working, they modified it to add their own custom-designed mecanum drive code which they have been working on the past 3 weeks. It works. It's wonderful to end the evening on an up note. Thanks for all the help. ~ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LabVIEW framework realtime architecture | Ether | NI LabVIEW | 2 | 07-02-2010 12:54 |
| Help with basic algorithm on LabVIEW | Manoel | NI LabVIEW | 26 | 14-11-2009 17:06 |
| timer help with labview | T3H_K3YM45T3R | Programming | 6 | 16-02-2009 18:34 |
| Help with LabView | daviamp | NI LabVIEW | 2 | 03-02-2009 19:55 |
| Tank Drive with Advanced Framework in Labview | finman | NI LabVIEW | 4 | 30-01-2009 13:35 |