Go to Post I am a geek. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 28-01-2009, 01:00
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: Proper procedure for deploying Labview code?

Did you "build" the project first?

(Without having a development system handy to test some things out, I'm just guessing at possible issues.)
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2009, 15:50
Daniel_H's Avatar
Daniel_H Daniel_H is offline
Registered User
FRC #1156 (Under Control)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Brazil
Posts: 171
Daniel_H is just really niceDaniel_H is just really niceDaniel_H is just really niceDaniel_H is just really nice
Re: Proper procedure for deploying Labview code?

Quote:
Originally Posted by Alan Anderson View Post
Did you "build" the project first?

(Without having a development system handy to test some things out, I'm just guessing at possible issues.)
yes, I built it first.
Then i tried the procedure described above by Kevin and I got a similar log:

Quote:
Deploying RT CompactRIO Target (successfully deployed target settings)
Deploying Dashboard Datatype.ctl (6,67 K)
Deploying Deadbandv1.vi (5,27 K)
Deploying Center of Rectv1.vi (6,87 K)
Deploying Servo Tracking State Machinev1.vi (24,79 K)
Deploying IMAQ Extract (15,50 K)
Deploying IMAQ ImageToImage 2 (16,35 K)
Deploying Green Rectsv1.vi (9,50 K)
Deploying Basic Robot Global.vi (3,96 K)
Deploying IMAQ Create (13,08 K)
Deploying IMAQ Cast Image (15,58 K)
Deploying IMAQ Or (15,54 K)
Deploying MiniMergeError.vi (6,95 K)
Deploying Merge Rects Verticallyv1.vi (4,84 K)
Deploying Compare Sizesv1.vi (5,23 K)
Deploying BiColor Maskv1.vi (11,00 K)
Deploying Autonomous Independent.vi (5,38 K)
Deploying Split FF Infov1.vi (9,69 K)
Deploying PID Control Input Filter (DBL).vi (10,16 K)
Deploying Trim Whitespace.vi (3,96 K)
Deploying Error Cluster From Error Code.vi (27,40 K)
Deploying IMAQ ColorThreshold (17,26 K)
Deploying Clear Errors.vi (2,89 K)
Deploying CreateImagesv1.vi (19,09 K)
Deploying Merge Errors.vi (6,94 K)
Deploying TCP Listen Internal List.vi (12,27 K)
Deploying Internecine Avoider.vi (12,78 K)
Deploying TCP Listen.vi (13,39 K)
Deploying IMAQ Particle Analysis (22,27 K)
Deploying SizeOrderedMorphologyv1.vi (11,25 K)
Deploying Test Second Colorv1.vi (6,74 K)
Deploying FindTwoColorv1.vi (35,03 K)
Deploying RobotDrive.lvlib
Deploying RobotDrive.lvlib:GetPWMReference.vi (6,22 K)
Deploying NI_FPGA_Interface.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA SPI.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Interrupt.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Global.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Encoder.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA DMA.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA CounterEncoderSourceConvertion.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Counter.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA AnalogTrigger.lvlib
Deploying NI_FPGA_Interface.lvlib:DigitalModuleToRIOSlot.vi (3,69 K)
Deploying NI_FPGA_Interface.lvlib:DigitalModuleToModuleTypeW ithNumber.vi (3,61 K)
Deploying NI_FPGA_Interface.lvlib:AnalogModuleToModuleTypeWi thNumber.vi (3,60 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA DIO.lvlib
Deploying Servo.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA System.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:FPGA Ref Global.vi (2,38 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:Asynch VI Registration.vi (6,88 K)
Deploying VariantType.lvlib
Deploying VariantType.lvlib:GetNumericInfo.vi (15,24 K)
Deploying NI_FPGA_Interface.lvlib:FPGAResourceConstant.vi (26,46 K)
Deploying DriverStation.lvlib
Deploying DriverStation.lvlib:StatusErrorCache.vi (6,62 K)
Deploying DriverStation.lvlib:Start VI Asynchronous.vi (9,65 K)
Deploying DriverStation.lvlib:LaptopDataCache.vi (6,30 K)
Deploying DriverStation.lvlib:UnloadC++StartupProgram.vi (4,62 K)
Deploying DriverStation.lvlib:StatusDataCache.vi (7,04 K)
Deploying NI_FPGA_Interface.lvlib:ErrorDisplay.vi (20,71 K)
Deploying NI_FPGA_Interface.lvlib:ERRInvalidAnalogModuleErro r.vi (3,88 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA DIO.lvlib:ERRInvalidPWMChannel.vi (3,57 K)
Deploying NI_FPGA_Interface.lvlib:ERRInvalidDigitalModuleErr or.vi (3,88 K)
Deploying NI_FPGA_Interface.lvlib:RIOSlotToDigitalModule.vi (5,30 K)
Deploying NI_FPGA_Interface.lvlib:Valid Digital IO Module.vi (5,30 K)
Deploying DriverStation.lvlib:Stop VI Asynchronous.vi (9,05 K)
Deploying NI_FPGA_Interface.lvlib:DefaultSlotError.vi (3,56 K)
Deploying DriverStation.lvlib:BuildDashboardPacket.vi (17,36 K)
Deploying NI_FPGA_Interface.lvlib:ERRInvalidSolenoidModuleEr ror.vi (3,88 K)
Deploying NI_FPGA_Interface.lvlib:Valid Solenoid Module.vi (5,24 K)
Deploying NI_FPGA_Interface.lvlib:Valid Analog Input Module.vi (5,24 K)
Deploying NI_FPGA_Interface.lvlib:Default Module Cache.vi (10,27 K)
Deploying NI_FPGA_Interface.lvlib:DefaultModuleToRealSlot_Di gital.vi (7,51 K)
Deploying DriverStation.lvlib:Stop Communication.vi (4,78 K)
Deploying DriverStation.lvlib:CommDataCache.vi (10,87 K)
Deploying DriverStation.lvlib:Get Competition Mode.vi (28,62 K)
Deploying Basic Get Mode.vi (8,89 K)
Deploying DriverStation.lvlib:AllianceInfoCache.vi (8,06 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA DIO.lvlib:Open.vi (6,80 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA System.lvlib:ERRWrongVersion.vi (7,53 K)
Deploying Watchdog.lvlib
Deploying Watchdog.lvlib:SecToTicks.vi (4,93 K)
Deploying Watchdog.lvlib:WARNWatchdogDisabled.vi (3,54 K)
Deploying AnalogModule.lvlib
Deploying AnalogModule.lvlib:Defaults.vi (3,12 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib:ERRInvalidAnalogChannel.vi (3,59 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib:Open.vi (5,96 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib:ERRInvalidAccumulatorChannel.vi (3,60 K)
Deploying PWM.lvlib
Deploying PWM.lvlib:ERRPwmChannelAllocated.vi (3,55 K)
Deploying PWM.lvlib:ERRSetOnUnallocatedChannel.vi (3,58 K)
Deploying PWM.lvlib:PWMToDigitalModule.vi (5,33 K)
Deploying PWM.lvlib:DefaultPWMConstants.vi (3,14 K)
Deploying PWM.lvlib:ERRAcquireInvalidPWMChannelIdx.vi (3,55 K)
Deploying PWM.lvlib:ChannelCache.vi (18,70 K)
Deploying PWM.lvlib:GetRangeScaleFactors.vi (5,45 K)
Deploying MotorControl.lvlib
Deploying MotorControl.lvlib:DefaultSetSpeed.vi (8,22 K)
Deploying AnalogChannel.lvlib
Deploying AnalogChannel.lvlib:FPGA_Timebase.vi (2,57 K)
Deploying AnalogChannel.lvlib:AnalogChannelToAnalogModule.vi (4,56 K)
Deploying AnalogChannel.lvlib:ERRScanlistInvalid.vi (3,62 K)
Deploying AnalogChannel.lvlib:WARNSampleRateTooFast.vi (3,63 K)
Deploying AnalogChannel.lvlib:ERRAcquireInvalidChannel.vi (3,55 K)
Deploying AnalogChannel.lvlib:ERRChannelAllocated.vi (3,55 K)
Deploying AnalogChannel.lvlib:ChannelCache.vi (18,11 K)
Deploying AnalogChannel.lvlib:Close.vi (5,96 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA Watchdog.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Watchdog.lvlib:Open.vi (5,13 K)
Deploying DigitalModule.lvlib
Deploying Camera.lvlib
Deploying Camera.lvlib:Get Default Frame Rate.vi (2,67 K)
Deploying Camera.lvlib:Get Image Size Values.vi (3,01 K)
Deploying Camera.lvlib:ERRFailedComm.vi (3,60 K)
Deploying Camera.lvlib:Notifier GUID.vi (2,92 K)
Deploying Camera.lvlib:Get Image Notifier Internal.vi (5,73 K)
Deploying Camera.lvlib:Get Camera Dev Ref Notifier.vi (5,74 K)
Deploying Camera.lvlib:Update Refcount.vi (7,39 K)
Deploying Camera.lvlib:Get Acquire Image Notifier Internal.vi (5,74 K)
Deploying Camera.lvlib:ERRAccountProblem.vi (3,67 K)
Deploying Camera.lvlib:Get Acquire Image Notifier.vi (5,46 K)
Deploying Camera.lvlib:Stop.vi (5,84 K)
Deploying Camera.lvlib:Get White Balance Values.vi (3,10 K)
Deploying Camera.lvlib:Build CGI.vi (5,04 K)
Deploying Camera.lvlib:Get Frame Rate Notifier Internal.vi (5,73 K)
Deploying Camera.lvlib:Get Frame Rate Notifier.vi (5,46 K)
Deploying Camera.lvlib:Set Frame Rate.vi (7,55 K)
Deploying Camera.lvlib:Issue HTTP Request with Authentication.vi (13,53 K)
Deploying Camera.lvlib:Issue Get.vi (12,68 K)
Deploying Camera.lvlib:Set Image Appearance Property.vi (6,22 K)
Deploying Camera.lvlib:Set Image Sensor Property.vi (7,55 K)
Deploying Camera.lvlib:Set Numeric Sensor Property.vi (8,13 K)
Deploying Camera.lvlib:Set Enum Sensor Property.vi (8,74 K)
Deploying Camera.lvlib:Set Brightness.vi (5,85 K)
Deploying Camera.lvlib:Set White Balance.vi (6,32 K)
Deploying Camera.lvlib:Read JPG.vi (15,88 K)
Deploying Camera.lvlib:Acquire Image.vi (14,32 K)
Deploying Camera.lvlib:Set Enum Appearance Property.vi (8,74 K)
Deploying Camera.lvlib:Set Image Size.vi (6,30 K)
Deploying Camera.lvlib:Get Image To PC Port.vi (2,23 K)
Deploying Camera.lvlib:Start Asynchronous VI.vi (13,93 K)
Deploying Camera.lvlib:Start.vi (5,84 K)
Deploying Update Camera Status.vi (8,63 K)
Deploying Camera.lvlib:Get Image Notifier.vi (5,46 K)
Deploying Camera.lvlib:Get Exposure Values.vi (3,00 K)
Deploying Camera.lvlib:Set Exposure.vi (6,30 K)
Deploying Camera.lvlib:Wait for Raw Image String.vi (14,87 K)
Deploying Camera.lvlib:Convert Version String to Header String.vi (5,65 K)
Deploying Camera.lvlib:Send Image String To PC 1.0.0.0.vi (6,78 K)
Deploying Camera.lvlib:Send Images To PC.vi (7,77 K)
Deploying Camera.lvlib:Open Internal.vi (10,65 K)
Deploying Camera.lvlib:DecodeJPEGString.vi (6,02 K)
Deploying Camera.lvlib:Get Image.vi (6,88 K)
Deploying Camera.lvlib:Close Internal.vi (10,58 K)
Deploying Camera.lvlib:Cleanup On First Call.vi (5,33 K)
Deploying Camera.lvlib:Camera Registry.vi (19,77 K)
Deploying Camera.lvlib:Close.vi (5,62 K)
Deploying Camera.lvlib:Open.vi (5,26 K)
Deploying Accelerometer.lvlib
Deploying Accelerometer.lvlib:AccelerometerToAnalogChannel.v i (4,73 K)
Deploying Accelerometer.lvlib:Close.vi (5,62 K)
Deploying Joystick.lvlib
Deploying Joystick.lvlib:JoystickCache.vi (8,19 K)
Deploying Joystick.lvlib:Close.vi (2,35 K)
Deploying Joystick.lvlib:Open.vi (3,09 K)
Deploying Joystick.lvlib:ScaleTo100PlusMinRange.vi (3,85 K)
Deploying Joystick.lvlib:Get.vi (12,54 K)
Deploying Joystick.lvlib:GetAxis.vi (7,63 K)
Deploying NI_FPGA_Interface.lvlib:NIFPGA Solenoid.lvlib
Deploying FRC Basic Robot Deployment (failed to deploy)
Deploying NI_FPGA_Interface.lvlib:NIFPGA Solenoid.lvlib:Open.vi


Download completed with errors.
We are currently on the third Labview update, right? Everytime there's an update, I create a new project and then copy and paste my code from the old project to the new, can this be the problem (copying instead of rewriting from scratch)?

Anyone having the same problems? I'm using some VIs from the 2 color camera tracking example, such as FIND and SERVO GIMBAL.
__________________
[<o>] gogogo [<o>]
http://undercontrol1156.com/

Last edited by Daniel_H : 29-01-2009 at 15:52.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2009, 00:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Proper procedure for deploying Labview code?

I'm also without cRIO nearby. Can someone else post the results of their deployment? That last part where it is deploying the file that defines the deployment doesn't sound necessary, and may be where things go wrong. Since it isn't a VI, the RAM debugging doesn't care about it, but the real build/deploy feels the need to take the XML file that describes the build.

If this is correct, open the deployment in the project and look to see if it references any files other than your top level VI. If need be, open and compare to the original deployment file in a new project. The project has this habit of making changes to the project and build scripts as you drag files to the project -- mostly nice, but sometimes surprising results.

Since you've been dragging files to the project You may also want to verify the files come from the disk files you think they do. This is where the second tab on the project is useful. That or the View or Tools menu item for showing the file path.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2009, 11:43
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Proper procedure for deploying Labview code?

I was getting a similar error to Daniel when I lost connection to the cRIO during deployment.
Deploying Sensor Fusion Robot Project.lvproj
Deploying RT CompactRIO Target (successfully deployed target settings)
Deploying Accumulator.lvlib
Deploying MotorControl.lvlib
Deploying Camera.lvlib
Deploying NI_FPGA_Interface.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA SPI.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Interrupt.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Global.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Encoder.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA DMA.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA System.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Counter.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA CounterEncoderSourceConvertion.lvlib
Deploying PWM.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Watchdog.lvlib
Deploying AnalogTrigger.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA DIO.lvlib
Deploying DigitalModule.lvlib
Deploying DigitalOutput.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA Solenoid.lvlib
Deploying AnalogChannel.lvlib
Deploying Joystick.lvlib
Deploying Ultrasonic.lvlib
Deploying VariantType.lvlib
Deploying DigitalInputFilter.lvlib
Deploying DriverStation.lvlib
Deploying NI_FPGA_Interface.lvlib:NIFPGA AnalogTrigger.lvlib
Deploying AnalogModule.lvlib
Deploying DigitalInput.lvlib
Deploying Servo.lvlib
Deploying Gyro.lvlib
Deploying Counter.lvlib
Deploying Watchdog.lvlib
Deploying RobotDrive.lvlib
Deploying FRC Robot Boot-up Deployment (failed to deploy)


Download completed with errors.

I suspected this was because the power on my battery was low. When I connected a power supply to my cRIO I was able to deploy successfully.
Deploying Sensor Fusion Robot Project.lvproj
Deploying Acquire Image.vi
Deploying Async VI Agent.vi
Deploying Autonomous Independent.vi
Deploying Robot Main.vi
Deploying Send Images To PC.vi
Deploying RT CompactRIO Target (successfully deployed target settings)
Is this a possible cause for you issue?
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-02-2009, 06:52
Daniel_H's Avatar
Daniel_H Daniel_H is offline
Registered User
FRC #1156 (Under Control)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Brazil
Posts: 171
Daniel_H is just really niceDaniel_H is just really niceDaniel_H is just really niceDaniel_H is just really nice
Re: Proper procedure for deploying Labview code?

I found out the problem: filters.

When I removed them, it deployed, and more people noticed the same problem.

I am waiting for an answer here:
http://decibel.ni.com/content/thread/2087
and here:
http://decibel.ni.com/content/message/3773
__________________
[<o>] gogogo [<o>]
http://undercontrol1156.com/
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
help me in LabView code mahmosh National Instruments LabVIEW and Data Acquisition 3 11-01-2009 00:18
Problem deploying/running default code blaxbb FRC Control System 0 10-01-2009 11:59
pic: Team 58 deploying ramps - www.riotcrew.org for more bobl Extra Discussion 7 27-02-2007 20:09
Can anyone tell me the proper code for line sensors thelastride Programming 1 14-02-2004 13:47
Custom Dashboard code for LabVIEW ready for download. archiver 2001 3 24-06-2002 00:49


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

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