Go to Post The closest and strongest friendships that I have formed, however, have come from the FIRST robotics program. Friends that I can call “brother,” that I can call “sister,” that I can just call “family.” - DanDon [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 07-02-2011, 16:06
Bennio Bennio is offline
Registered User
FRC #2495
 
Join Date: Jan 2011
Location: NJ
Posts: 4
Bennio is an unknown quantity at this point
Error Out Difficulties- Help Please?

I can't seem to figure out how to bundle the error out values of several motor DevRef VIs. Anyone have an idea how to connect them?
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2011, 16:15
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Error Out Difficulties- Help Please?

You can either wire the errors serially through the motor vis, or use a merge error VI. http://zone.ni.com/reference/en-XX/h.../merge_errors/
Reply With Quote
  #3   Spotlight this post!  
Unread 07-02-2011, 18:03
Baconfly Baconfly is offline
Registered User
AKA: Tylor
FRC #3330
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: St.Louis
Posts: 9
Baconfly is an unknown quantity at this point
Re: Error Out Difficulties- Help Please?

if you need to build more errors in, you can also compile f your errors into a build array and attach the output of the build array into the error array input of the merge error VI, then send that to error out.
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2011, 01:47
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Error Out Difficulties- Help Please?

If you are using CAN, I recommend that you leave the error wires unconnected. This way a timeout error on the CAN bus will not stop it from functioning from then on. If it is unwired, then the Auto Error Handler will send the information to the Driver Station errors window.

-Joe
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2011, 09:05
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: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Error Out Difficulties- Help Please?

In fact, for FRC in general you don't need to wire the error terminals. This differs from typical industry because:
1. you don't typically want to stop/kill your robot on error
2. since you are running on a real-time system, regular error dialogs don't exist
3. for FRC, we already handle errors within the Device Ref wires and report those errors back to the Driver Station.

When would you want to use error wires?
1. To force data flow - like when using some analysis between FRC subVIS
2. When you want to check for errors and handle them yourself - maybe for a specific error you want to run some different code
__________________
Doug Norman
National Instruments
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 20:37.

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