FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem building/deploying when using Point by Point filters

I've been playing around with some of the filters in the Signal Processing -> Point By Point -> Filters PtByPt. They work fine when running the program in ram.

However, when I try to build the project, it takes a very long time to build (instead of 2 minutes normally, it takes closer to 20 minutes). During the build process, I see all kinds of esoteric mathematical/signal procesing type VIs being built. It seems that there are many dependencies that only gets pulled in when built, and not when run in ram.

Additionally, when I try to deploy newly built program, it doesn't work. I get the following result.

Deploying Beachbot2008-8.lvproj 
Deploying RT CompactRIO Target  (successfully deployed target settings)
Deploying DriverStationLCD.lvlib 
Deploying PWM.lvlib 
Deploying DigitalModule.lvlib 
Deploying DriverStation.lvlib 
Deploying Compressor.lvlib 
Deploying Accumulator.lvlib 
Deploying DMA.lvlib 
Deploying Watchdog.lvlib 
Deploying AnalogChannel.lvlib 
Deploying RobotDrive.lvlib 
Deploying ContinuousPot.lvlib 
Deploying Solenoid.lvlib 
Deploying DigitalInput.lvlib 
Deploying AnalogModule.lvlib 
Deploying AnalogTrigger.lvlib 
Deploying Encoder.lvlib 
Deploying MotorControl.lvlib 
Deploying Relay.lvlib 
Deploying VariantType.lvlib 
Deploying Gyro.lvlib 
Deploying NI_AALBase.lvlib 
Deploying NI_FileType.lvlib 
Deploying NI_PtbyPt.lvlib 
Deploying Camera.lvlib 
Deploying DigitalInputFilter.lvlib 
Deploying Counter.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 System.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA Solenoid.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA AI.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA Encoder.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA Counter.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA AnalogTrigger.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA Watchdog.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA DIO.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA CounterEncoderSourceConvertion.lvlib 
Deploying NI_FPGA_Interface.lvlib:NIFPGA DMA.lvlib 
Deploying Joystick.lvlib 
Deploying FRC Robot Boot-up Deployment (failed to deploy)
Deploying Acquire Image.vi 
Deploying Async VI Agent.vi 
Deploying Autonomous Independent.vi 
Deploying MarsRock.vi 
Deploying Robot Main.vi 
Deploying RunCompressor.vi 
Deploying Send Images To PC.vi


Download completed with errors.

Any ideas?

0 Kudos
Message 1 of 6
(11,148 Views)

Hey sciencewhiz,

I wanted to give you an update on this. I've reproduced this issue and I will be working on it more throughout the day. I'll give you another update when I have more.

Sorry about the troubles

Stephen B
0 Kudos
Message 2 of 6
(3,522 Views)

I noticed the same problem!

take a look at my thread:

http://decibel.ni.com/content/thread/2087

in my last post I diagnosed the same problem, after a harsh seek for causes.

I think it's a problem with all filters. Not using them would make traction control and accelerometer noise reduction a lot harder.

0 Kudos
Message 3 of 6
(3,522 Views)

This has been escalated to R&D and they have been investigating it. So far we might have a work around for you: If you open the build spec, visit the page for exclusions, and check the option to remove unused members from project Libraries, your build time should return to reasonable times.

Sorry for the troubles, I will give you an update when I have more information.

Stephen B
0 Kudos
Message 4 of 6
(3,522 Views)

Using the workaround, I was able to succesfully build and deploy.

0 Kudos
Message 5 of 6
(3,522 Views)

Are the filters are working?

0 Kudos
Message 6 of 6
(3,522 Views)