Go to Post The teams that know how to build good robots are the same teams that know how to build good teams, and they engage the students every step of the way. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2010, 12:52
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2010, 13:18
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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?
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2010, 14:05
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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.

~
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2010, 14:25
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: help with LabVIEW framework

Quote:
Originally Posted by Ether View Post
...Hate to be so clueless, but what is the RSL? I'm not sure my team will know what this means...
Please read the manual:

Quote:
<R59> ROBOTS shall use the diagnostic Robot Signal Light provided in the KOP. It must be mounted on the ROBOT such that it is easily visible while standing three feet in front of the ROBOT in the NORMAL CONFIGURATION. The team has no direct control over the light and no programming is required.
A. The Robot Signal Light must be connected to the “RSL” supply terminals on a Digital Sidecar (see the FRC Control System Manual, Section 3.5 and the item bulletin online at http://literature.rockwellautomation...063-177-01.pdf for connection details). These terminals provide power and control for the light.
B. The Digitial Sidecar must be connected to a NI 9403 module in Slot 4 of the cRIO-FRC. If it is connected through any other slot, the light will not function properly.
C. The light must be wired for “solid light” operation, by placing a jumper between the La and Lb terminals on the light.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2010, 14:39
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,731
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
  • off = off or booting
  • blinking = disabled
  • long on/short off = teleop
  • solid = autonomous
To check your versions:
  • LabVIEW: Help -> About FIRST Robotics Competition Software... (should be Software Update 2.0)
  • cRIO: On the Driver Station Diagnostics tab, once you connect to the cRIO (should be ..._v19)
  • Driver Station: Driver Station Diagnostics tab (should be 2010.01.06.00 or later)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 08-02-2010 at 15:37.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-02-2010, 14:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 08-02-2010, 15:28
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Exclamation Re: help with LabVIEW framework

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
Reply With Quote
  #8   Spotlight this post!  
Unread 08-02-2010, 15:32
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: help with LabVIEW framework

Quote:
Originally Posted by kws4000 View Post
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
Each Module has a number of different channels on it.

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.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #9   Spotlight this post!  
Unread 08-02-2010, 15:39
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: help with LabVIEW framework

Quote:
Originally Posted by kws4000 View Post
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?
They refer to the same piece of hardware. The "Module" selection is used to specify which cRIO Module (and thus which Digital Sidecar) is being used. The valid choices are Slot 4 and Slot 6; Slot 4 is the default that will be used if you don't wire anything to that input. The "Channel" selection specifies which DIO pin on the Digital Sidecar has the pressure switch wired to it.

Quote:
What about the "Relay Module and "Relay Channel"?
Similarly, the "Module" selection indicates the slot that the cRIO Module is installed in, and the "Channel" selection indicates which Relay pins on the Digital Sidecar are connected to the Spike.
Reply With Quote
  #10   Spotlight this post!  
Unread 08-02-2010, 17:23
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: help with LabVIEW framework

Thanks a whole bunch! About a half dozen other questions were cleared up by your responses.

Thanks again!
Reply With Quote
  #11   Spotlight this post!  
Unread 08-02-2010, 21:14
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,034
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
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.


~
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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