View Single Post
  #6   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