Go to Post After all, if matches were determined by the numbers, we wouldn't need to have competitions. - jamierose [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 15-01-2012, 23:40
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Exclamation Labview CAN Error -1073807246

We are using a cRIO II, with the serial to can bridge selected, and whenever we attempt to load any code that has can available, we get this error message:
-1073807246
Description:
VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

It is complaining that the serial port can't be opened, but the question is why and how do we fix this?

Attempted fixes / Useful debugging info:
I can run the Jags through BDC-com.
Run example code (Same error occurs.)
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2012, 00:03
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: Labview CAN Error -1073807246

In order to use the serial port to send CAN commands, you have to make sure nothing else is using the serial port. That means you need to verify that the CONSOLE OUT switch on the cRIO is OFF. I assume you told the Imaging Tool that you were using the appropriate CAN Driver Plugin?
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2012, 00:13
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Labview CAN Error -1073807246

Quote:
Originally Posted by Alan Anderson View Post
I assume you told the Imaging Tool that you were using the appropriate CAN Driver Plugin?
Yes, we did.

Quote:
Originally Posted by Alan Anderson View Post
In order to use the serial port to send CAN commands, you have to make sure nothing else is using the serial port. That means you need to verify that the CONSOLE OUT switch on the cRIO is OFF.
And no we didn't. I'll have to check that out tomorrow! Does the Net Console come out through the Serial port?
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2012, 00:16
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: Labview CAN Error -1073807246

Quote:
Originally Posted by zaphodp.jensen View Post
Does the Net Console come out through the Serial port?
No, it comes out through an Ethernet connection to the NetConsole application on a host PC.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2012, 00:17
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Labview CAN Error -1073807246

Quote:
Originally Posted by Alan Anderson View Post
No, it comes out through an Ethernet connection to the NetConsole application on a host PC.
That's what I thought. Just checking...
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2012, 00:16
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Labview CAN Error -1073807246

My question sounds like a weird question, but what other "console" comes out through the serial port?
Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2012, 02:00
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: Labview CAN Error -1073807246

Quote:
Originally Posted by zaphodp.jensen View Post
My question sounds like a weird question, but what other "console" comes out through the serial port?
There is a serial console available. It is controlled by the Console Out DIP switch (virtual on the cRIO-FRC II). You need to turn it off to use the black jaguar bridge plugin.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-01-2012, 11:17
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Labview CAN Error -1073807246

And I have confirmed that the console switch has been turned off (In fact, the imaging software will not let you image it with the can to serial bridge enabled), and the problem still exists.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-01-2012, 11:32
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Labview CAN Error -1073807246

I solved it. I just reimaged the cRIO (making sure the console switch was turned off), and that appeared to fix it and now it worked.
Reply With Quote
  #10   Spotlight this post!  
Unread 07-04-2012, 23:56
Alex698's Avatar
Alex698 Alex698 is offline
Sparky
FRC #2449 (Out of Orbit Robotics)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Arizona
Posts: 114
Alex698 is a jewel in the roughAlex698 is a jewel in the roughAlex698 is a jewel in the rough
Send a message via AIM to Alex698
Re: Labview CAN Error -1073807246

I was having a similar issue as described above, after re-imaging the cRIO-II, I noticed that the console out option had been automatically switched to the ON position, I changed it back to OFF, hit apply and now I am in business. Hope this helps someone in the future!
__________________
Eat, Sleep, Build Robots
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 02:47.

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