View Single Post
  #1   Spotlight this post!  
Unread 27-01-2009, 16:18
Elliot Swart's Avatar
Elliot Swart Elliot Swart is offline
Registered User
FRC #0192 (Gunn Robotics Team)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Palo Alto, CA
Posts: 7
Elliot Swart is an unknown quantity at this point
High CPU Usage in LabVIEW even with Basic Code

Our team has been having trouble with excessive CPU utilization of the basic FIRST supplied VI's. Even the basic code with vision turned off when deployed (not in debug mode), uses up 60% of the processor. Reading analog values and setting PWM outputs on the FPGA seems to be nearly as demanding as image processing. Given that I/O was handled easily on the old PIC, I assume there must be something wrong, either with the FRC libraries or with my teams specific version of them. I was wondering if anyone has an idea on how to fix this, and if this is a problem for other teams.

Also, when the CPU load is high, we get intermittent "no code" displays on the driver station