Go to Post The bottom line is, what works best for YOUR team is what the best solution is. - EricH [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 27-01-2011, 16:30
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Problem running code (LabVIEW)

I have created code that should do mecanum drive and have code for 3 LED's using spikes. I'll try to post some print screens when i get a chance. When I go to the robot main.vi and look at the error list, there are no red flags there. I simply click run from the robot main.vi and it says it deploys successfully.
Then I can get a live camera feed from the robot to the driverstation, but i get a ton of repeated error messages. I believe these are the only errors, just repeated very frequently!:
ERROR <Code> -44006 occurred at DriverStationEnhanced IO.lvlib:Access Raw Cypress outputs.vi>>DriverStation.lvlib:Start Communication.vi>>Robot Main.vi
ERROR <Code> -44003 occurred at Camera.lvlib:Issue HTTP Request with Authentication.vi>>Camera.lvlib:Issue Get.vi>>Camera.lvlib:Set Image Appearance Property.vi>>Camera.lvlib:Set Enum Appearance Property.vi>>Camera.lvlib:Set Image Size.vi>>Begin.vi>>Robot Main.vi
ERROR <Code> -44003 occurred at Camera.lvlib:Issue HTTP Request with Authentication.vi>>Camera.lvlib:Read JPG.vi>>Camera.lvlib:Acquire Image.vi


http://www.mediafire.com/file/7cbu4v.../WPI_Error.txt



__________________
~Team 1529 Cybercards~

Last edited by 3p1c w1n : 27-01-2011 at 16:32. Reason: adding "LabVIEW" to title
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2011, 18:19
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,795
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: Problem running code (LabVIEW)

The -44006 probably just means the Cypress I/O card isn't plugged in.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2011, 18:40
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Problem running code (LabVIEW)

What is the Cypress I/O card? Is that one of the ones that goes into the cRIO?
__________________
~Team 1529 Cybercards~
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2011, 18:50
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,795
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: Problem running code (LabVIEW)

It's optional for custom buttons and other controls. It connects to the Classmate. It came in a white hard plastic case the size of a double DVD case.
Your team would have gotten it in last year's Kit.

There's nothing wrong with not having it, if you're not using it. We just get a message that it isn't there because the Driver Station looks for it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2011, 21:28
3p1c w1n 3p1c w1n is offline
Registered User
FRC #1529
 
Join Date: Jan 2010
Location: Indianapiolis
Posts: 53
3p1c w1n is an unknown quantity at this point
Re: Problem running code (LabVIEW)

Thank you for your quick replies. I did get it working. It was a fail on my part. I had not yet re-imaged the cRIO this year. After doing that everything worked just fine.

Thanks!
__________________
~Team 1529 Cybercards~
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2011, 21:34
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,795
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: Problem running code (LabVIEW)

I'll have to remember those symptoms...

Thanks
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2011, 09:33
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 136
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Problem running code (LabVIEW)

Quote:
Originally Posted by 3p1c w1n View Post
Thank you for your quick replies. I did get it working. It was a fail on my part. I had not yet re-imaged the cRIO this year. After doing that everything worked just fine.
This is good to hear, since I thought we had fixed this error. There shouldn't be an error just because the optional board isn't plugged into the classmate.
__________________
Doug Norman
National Instruments

Last edited by Doug Norman : 28-01-2011 at 10:40.
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


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

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