Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   Wierd program behavior with LabVIEW and 2CAN (http://www.chiefdelphi.com/forums/showthread.php?t=80821)

Jon236 21-01-2010 21:42

Wierd program behavior with LabVIEW and 2CAN
 
We successfully installed the 2CAN, loaded the firmware, found a Jaguar and downloaded version 86 of the firmware to it. On the browser, we could see the voltage and temperature.

However, when we downloaded the Voltage Mode example.vi, it would download, run for a second, then stop with error -52010.

Any suggestions?

Mark McLeod 21-01-2010 23:07

Re: Wierd program behavior with LabVIEW and 2CAN
 
That error means a cRIO "requested resource must be initialized before use."

I still have to make my CAN cables before I can help more.

Jon236 21-01-2010 23:28

Re: Wierd program behavior with LabVIEW and 2CAN
 
Ok....still looking around for my bootstraps.

Jon236 22-01-2010 18:40

Re: Wierd program behavior with LabVIEW and 2CAN
 
Looking at deployment errors: "Failed to load FRC2CANPlugIn.out" I have revised the nrt-ini file and copied the .out file to the system subdirectory. My 2CAN still stubbornly blinks red.

ozrien 22-01-2010 19:47

Re: Wierd program behavior with LabVIEW and 2CAN
 
I suspect the problem is that FRC_UserProgram isn't imaged in when the cRIO is imaged for labview. Since the 2CAN plugin uses some of the library that's probably why its crashing. Darn, I thought i had removed all references to classes in the library (Nice catch peterjohnson). Expect an update soon.

Omar Zrien
CTRE Software/Firmware Engineer
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions

jhersh 24-01-2010 03:25

Re: Wierd program behavior with LabVIEW and 2CAN
 
Quote:

Originally Posted by Jon236 (Post 904330)
However, when we downloaded the Voltage Mode example.vi, it would download, run for a second, then stop with error -52010.

This means that no plugin is loaded.

Jon236 24-01-2010 08:02

Re: Wierd program behavior with LabVIEW and 2CAN
 
That makes sense, since the download window states that it 'fails to download FRC_2CANPlugIn.out'....I think Omar is working on that problem.

ozrien 01-02-2010 15:55

Re: Wierd program behavior with LabVIEW and 2CAN
 
FYI 2CAN update is now available...

http://www.crosstheroadelectronics.com/2CAN.htm

Details are explained at ...

http://www.chiefdelphi.com/forums/sh...highlight=2can


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

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