Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   Labview CAN Error -1073807246 (http://www.chiefdelphi.com/forums/showthread.php?t=100329)

zaphodp.jensen 15-01-2012 23:40

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

Alan Anderson 16-01-2012 00:03

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?

zaphodp.jensen 16-01-2012 00:13

Re: Labview CAN Error -1073807246
 
Quote:

Originally Posted by Alan Anderson (Post 1106548)
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 (Post 1106548)
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?

Alan Anderson 16-01-2012 00:16

Re: Labview CAN Error -1073807246
 
Quote:

Originally Posted by zaphodp.jensen (Post 1106554)
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.

zaphodp.jensen 16-01-2012 00:16

Re: Labview CAN Error -1073807246
 
My question sounds like a weird question, but what other "console" comes out through the serial port?

zaphodp.jensen 16-01-2012 00:17

Re: Labview CAN Error -1073807246
 
Quote:

Originally Posted by Alan Anderson (Post 1106556)
No, it comes out through an Ethernet connection to the NetConsole application on a host PC.

That's what I thought. Just checking...

jhersh 16-01-2012 02:00

Re: Labview CAN Error -1073807246
 
Quote:

Originally Posted by zaphodp.jensen (Post 1106557)
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.

zaphodp.jensen 16-01-2012 11:17

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.

zaphodp.jensen 16-01-2012 11:32

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.

Alex698 07-04-2012 23:56

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!


All times are GMT -5. The time now is 02:47.

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