FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW program execution problem(s)

I have installed LabVIEW on my laptop.  Did the update.

Updated the Classmate software.

Downloaded the updated cRIO program ok.

Set up the router and the wireless bridge.

The Classmate shows Communications and Stop Button as green

The Robot Code is red.

On my laptop I opened the Simple Digital Input example program and changed the cRIO target.

I clicked on Run and it deployed the program.  Then, after a few seconds the program ends on its own.

I did a trace and get an ERROR signal from the DI vi that causes the program to STOP.

At no time has the Robot Code display gone green.

I had a simlier failure with the Simple Analog Input program.

Please advise.

0 Kudos
Message 1 of 7
(5,508 Views)

On the diagnostics tab of the classmate, what does it display for the cRIO image version? What about the DS software version?

Does it print any errors to the error window on the diagnostics tab?

Message was edited by: sciencewhiz

0 Kudos
Message 2 of 7
(2,944 Views)

The cRIO Image = LabVIEW-2010_v5

DS Version = 2010.01.06.00

Messages in the "Messages" window=

I/O unit not detected or not installed correctly

No change to Network Configuration: "Local Area Connection"

There are two messsages filling up the WPI_Error.txt file.  They are long strings of:

ERROR <Code> -44085 occurred at Loaded FPGA has incorrect version or revision.  Library expecting Version 2010, Revision 1.3.0.
NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:Open.vi>>NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:Async VI Agent.vi
<time>16:04:57 01/11/2010

and

ERROR <Code> -44026 occurred at DigitalModule.lvlib:DIOCache.vi>>DigitalModule.lvlib:DIOAllocator.vi>>DigitalInput.lvlib:Close.vi>>Simple Digital Input Example.vi
<time>16:04:57 01/11/2010

0 Kudos
Message 3 of 7
(2,944 Views)

Downloaded the updated cRIO program ok.


This should mean two things:

1. From LabVIEW you ran Tools>>CompactRIO Imaging Tool...

2. You did this from your Laptop that has the LabVIEW update, not from the classmate (if it doesn't have the LabVIEW update)

Those errors look like your cRIO is out of synch with your LabVIEW.

0 Kudos
Message 4 of 7
(2,944 Views)

Hello,

From your first post it sounded like you had run through the process correctly but with the errors you are getting it sounds like you may not have formatted the cRIO.

Can you run the FRC cRIO Imaging Tool again and make sure that you check the box that says Format Controller.  If you have not done this since running the updates on your system that definitely could be the issue.

Please give this a try and let me know if there are any updates.

Thanks!

Bob

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 5 of 7
(2,944 Views)

THANK YOU ALL!!

I can't find the "helpful/correct" button by your responses.

However, they were all HELPFUL & CORRECT!

My Classmate and our cRIO are in perfect communications.

Thanks again.

Mike

0 Kudos
Message 6 of 7
(2,944 Views)

Great to hear Mike!

We are always happy to help.

Thanks!

Bob

NI FIRST Support

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 7 of 7
(2,944 Views)