FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

"Create new Robot Project" fails to complete.

Solved!
Go to solution

I'm having trouble using the labview FRC software for the first time to create a robot project.

I'm a veteran LabVIEW programmer for FRC, so I think I've tried the basics.

My provlem is that this is a brand new Windows 8 laptop so I don'tknow if that's a problem.

I hace installed the CD and done the autonatic updates.\I've then downloaded the three required updates and installed them in the designated order.

I can create and open a Dashboard project.

However, If I try to create a new FRC Robotics Project. the process throws an error just after the RobotMain.vi is loaded at the end of the create process.

I've sent a LOG to NI but I don't expect an immediate reply.

The end of the error log says:

<DEBUG_OUTPUT>
1/5/2013 10:42:31.665 PM
Crash 0x0: Crash caught by NIER
File Unknown(0) : Crash 0x0: Crash caught by NIER
minidump id: 3ed3ff77-5220-47bf-b1c0-d155983d0591
ExceptionCode: 0xC0000005

</DEBUG_OUTPUT>
0x01AF1179 - LabVIEW <unknown> + 0
0x01AF1688 - LabVIEW <unknown> + 0
0x7C37FDB4 - MSVCR71 <unknown> + 0
0x77EAC11C - ntdll <unknown> + 0
0x77E8AC3C - ntdll <unknown> + 0
0x00000000 - <unknown> <unknown> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x00400000 ***
#** compile: "C:\Program Files (x86)\National Instruments\LabVIEW 2012\Targets\NI\RT\vi.lib\Rock Robotics\SystemInterfaces\WatchDog\FPGA_WatchDogReadCount.vi"
*** End Dump ***

I tried doing a hardware and Simulator project, as well as a hardware only project.

Still no joy.

Any suggestions.

Phil

Get a life? This IS my life!
0 Kudos
Message 1 of 33
(12,287 Views)

Follow Up..

I noticed this warning in the error log.....  Looks like a stray reference to the NI development environment....

<DEBUG_OUTPUT>
1/5/2013 10:42:21.967 PM
DWarn 0xEA862FC: no ExtFunc link!
e:\builds\penguin\labview\branches\2012patch\dev\source\xstuff\CXNodeUtilities.cpp(75) : DWarn 0xEA862FC: no ExtFunc link!
$Id: //labview/branches/2012patch/dev/source/xstuff/CXNodeUtilities.cpp#1 $

Get a life? This IS my life!
0 Kudos
Message 2 of 33
(4,085 Views)

Hey Phil,

This is a weird one. We didn't do extensive testing on Windows 8 but we expect it to work.  The first thing I would try is to mass compile (Tools->Advanced->Mass Compile from the getting started window) the Rock Robotics directory in <LabVIEW>/vi.lib.  If that still crashes I would try to delete the C:\Program Files (x86)\National Instruments\LabVIEW 2012\Targets\NI\RT\vi.lib\Rock Robotics\SystemInterfaces\WatchDog\FPGA_WatchDogReadCount.vi file and reinstall the FRC LabVIEW update from the web.  Can you also post the crash dump file on this thread?  We could also use a MAX technical report (http://digital.ni.com/public.nsf/allkb/271F252B4EF0A2E0862570E70056A1E4).

Kevin

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 3 of 33
(4,085 Views)

I did the mass compile and got a lot of error:

I'll try the re-install...

#### Starting Mass Compile: Mon, Jan 7, 2013 12:12:50 AM
  Directory: "C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics"
  ### Bad VI:    "FPGA_AnalogTriggerReadLowerLimit.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\AnalogTrigger\FPGA_AnalogTriggerReadLowerLimit.vi"
  ### Bad VI:    "FPGA_AnalogTriggerReadUpperLimit.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\AnalogTrigger\FPGA_AnalogTriggerReadUpperLimit.vi"
  ### Bad VI:    "FPGA_CounterReadTimerConfiguration.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\Counter\FPGA_CounterReadTimerConfiguration.vi"
  ### Bad VI:    "FPGA_DIOReadDO_PWMConfig.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadDO_PWMConfig.vi"
  ### Bad VI:    "FPGA_DIOReadDO_PWMDutyCycle.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadDO_PWMDutyCycle.vi"
  ### Bad VI:    "FPGA_DIOReadI2CConfig.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadI2CConfig.vi"
  ### Bad VI:    "FPGA_DIOReadI2CDataToSend.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadI2CDataToSend.vi"
  ### Bad VI:    "FPGA_DIOReadPulseLength.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadPulseLength.vi"
  ### Bad VI:    "FPGA_DIOReadPWMMinHigh.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadPWMMinHigh.vi"
  ### Bad VI:    "FPGA_DIOReadPWMPeriod.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadPWMPeriod.vi"
  ### Bad VI:    "FPGA_DIOReadPWMPeriodScale.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadPWMPeriodScale.vi"
  ### Bad VI:    "FPGA_DIOReadSlowValueI2CHeader.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOReadSlowValueI2CHeader.vi"
  ### Bad VI:    "FPGA_DIOWaitForI2CDone.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOWaitForI2CDone.vi"
  ### Bad VI:    "FPGA_DIOWriteSlowValueI2CHeader.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DIO\FPGA_DIOWriteSlowValueI2CHeader.vi"
  ### Bad VI:    "FPGA_DMAConfigureHostBuffer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAConfigureHostBuffer.vi"
  ### Bad VI:    "FPGA_DMAReadFromStream.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAReadFromStream.vi"
  ### Bad VI:    "FPGA_DMAReadRate.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAReadRate.vi"
  ### Bad VI:    "FPGA_DMAStartTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStartTransfer.vi"
  ### Bad VI:    "FPGA_DMAStopTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStopTransfer.vi"
  ### Bad VI:    "FPGA_EncoderReadTimerConfiguration.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\Encoder\FPGA_EncoderReadTimerConfiguration.vi"
  ### Bad VI:    "FPGA_WaitOnInterrupt.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\Interrupt\FPGA_WaitOnInterrupt.vi"
  ### Bad VI:    "FPGA_SPIReadAvailableToLoad.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIReadAvailableToLoad.vi"
  ### Bad VI:    "FPGA_SPIReadStatus.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIReadStatus.vi"
  ### Bad VI:    "FPGA_SPIWaitForReceiveHalfFull.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForReceiveHalfFull.vi"
  ### Bad VI:    "FPGA_SPIWaitForReceiveNotEmpty.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForReceiveNotEmpty.vi"
  ### Bad VI:    "FPGA_SPIWaitForReceiveOverrun.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForReceiveOverrun.vi"
  ### Bad VI:    "FPGA_SPIWaitForTransmitEmptyAndIdle.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForTransmitEmptyAndIdle.vi"
  ### Bad VI:    "FPGA_SPIWaitForTransmitHalfEmpty.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForTransmitHalfEmpty.vi"
  ### Bad VI:    "FPGA_WatchDogReadExpiration.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\WatchDog\FPGA_WatchDogReadExpiration.vi"
  ### Bad VI:    "FPGA_WatchDogReadTimer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\WatchDog\FPGA_WatchDogReadTimer.vi"
  ### Bad VI:    "FPGA_DMAStopTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStopTransfer.vi"
  ### Bad VI:    "FPGA_DMAStartTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStartTransfer.vi"
  ### Bad subVI: "WPI_DMAClose.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\DMA\WPI_DMAClose.vi"
  ### Bad VI:    "FPGA_DMAReadFromStream.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAReadFromStream.vi"
  ### Bad subVI: "WPI_DMARead.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\DMA\WPI_DMARead.vi"
  ### Bad VI:    "FPGA_DMAStopTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStopTransfer.vi"
  ### Bad VI:    "FPGA_DMAStartTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStartTransfer.vi"
  ### Bad subVI: "WPI_DMAResetStream.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\DMA\WPI_DMAResetStream.vi"
  ### Bad VI:    "FPGA_DMAConfigureHostBuffer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAConfigureHostBuffer.vi"
  ### Bad VI:    "FPGA_DMAStopTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStopTransfer.vi"
  ### Bad VI:    "FPGA_DMAStartTransfer.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\DMA\FPGA_DMAStartTransfer.vi"
  ### Bad subVI: "WPI_DMAStart.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\DMA\WPI_DMAStart.vi"
  ### Bad VI:    "FPGA_WaitOnInterrupt.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\Interrupt\FPGA_WaitOnInterrupt.vi"
  ### Bad subVI: "WPI_InterruptWait.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\Interrupt\WPI_InterruptWait.vi"
Insane object at FPHP+1CA19CB8, UID 334, in "Read Simulation Sonar ID.vi": {tdname } (0x4000): Type Definition (DDO )
Insane object at FPHP+1CA19F58, UID 364, in "Read Simulation Sonar ID.vi": {tdname } (0x4000): Type Definition (DDO )
insanities in FPHP of C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\Simulation\Read Simulation Sonar ID.vi
Insane object at FPHP+1CA19CB8, UID 334, in "Read Simulation Sonar ID.vi": {tdname } (0x4000): Type Definition (DDO )
Insane object at FPHP+1CA19F58, UID 364, in "Read Simulation Sonar ID.vi": {tdname } (0x4000): Type Definition (DDO )
insanities in FPHP of C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\Simulation\Read Simulation Sonar ID.vi
Insane object at FPHP+1EF855E8, UID 393, in "SonarRefNum_Simulation_Global.vi": {tdname } (0x4000): Type Definition (DDO )
Insane object at FPHP+1EF85888, UID 423, in "SonarRefNum_Simulation_Global.vi": {tdname } (0x4000): Type Definition (DDO )
insanities in FPHP of C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\Simulation\SonarRefNum_Simulation_Global.vi
Insane object at FPHP+1EF855E8, UID 393, in "SonarRefNum_Simulation_Global.vi": {tdname } (0x4000): Type Definition (DDO )
Insane object at FPHP+1EF85888, UID 423, in "SonarRefNum_Simulation_Global.vi": {tdname } (0x4000): Type Definition (DDO )
insanities in FPHP of C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\WPI\Simulation\SonarRefNum_Simulation_Global.vi
  ### Bad VI:    "FPGA_SPIWaitForReceiveNotEmpty.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\SPI\FPGA_SPIWaitForReceiveNotEmpty.vi"
#### Finished Mass Compile: Mon, Jan 7, 2013 12:23:15 AM

Get a life? This IS my life!
0 Kudos
Message 4 of 33
(4,085 Views)

Here is Max tecnical report.

Get a life? This IS my life!
0 Kudos
Message 5 of 33
(4,085 Views)

Update.

I deleted the entire Rock Robotics folder and re-installed the Labview FRC Core.

BTW, you can't just re-run the core update, you need to drill into the unzipped folders and locate the specific product install for FRC_Labview_update and run a "repair" operation, otherwise the install doesn't do anything.

Unfortunately there was no change... the crash still occurs right after the Robot_main.vi is installed.

What do you mean when you say attach the "Core Dump"?   where will I find this?

Phil.

Get a life? This IS my life!
0 Kudos
Message 6 of 33
(4,085 Views)

OK, so I decided to look at the first "bad VI" on the mass compile list

"FPGA_AnalogTriggerReadLowerLimit.vi" Path="C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\Rock Robotics\SystemInterfaces\AnalogTrigger\FPGA_AnalogTriggerReadLowerLimit.vi"

When I open up this VI I get a broken arrow indicating a problem.

Here is the code snipit...

   There are about 8 errors listed.

readlowerlimit.png

Get a life? This IS my life!
0 Kudos
Message 7 of 33
(4,085 Views)

Hey Phil,

I think the fact that the VI is broken when opened is a red herring.  Those VI's are also broken on my machine - I think they are no longer used.  You can get to the crash dump I referenced by selecting the View Report link on the NI Error Reporting Window that prompts you to send the crash log to NI.

Kevin

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 8 of 33
(4,085 Views)

It looks like the Analog Trigger VI is the same on my computer. I suspect that it is actually not used by the stuff in the palettes and is an orphan VI that should be culled. Same is likely true for the others.

Looking at your initial error, I noticed that the VI that needs to be loaded for Watchdog is not really located in vi.lib. Can you navigate to the NI/LV2012/Targets/NI/RT/vi.lib/Rock Robotics/System Interfaces/Watchdog and verify that you have a GetCount for watchdog located there? I'm wondering if somehow the installers didn't create the targets directory.

Greg McKaskle

0 Kudos
Message 9 of 33
(4,085 Views)

I do have that folder, but there is no "GetCount"

I have a FPGA_WatchDogReadCount which is close, and a FPGA_WatchdogGetDevStatus.

Does tht Help?

Report:   7d49a3ff-f413-452d-8779-23665a367ea8

Get a life? This IS my life!
0 Kudos
Message 10 of 33
(4,085 Views)