|
Re: Possibility of Controller Overload using Compressor
The compressor implementation should be fine if you start and stop the compressor only when needed. The code in question is Starting for every auto and every tele and every disabled packet, the compressor was already Started in Begin and never Stopped.
You can modify anything you like, but I'd recommend calling Start only in Begin.
As for the implementation, the Compressor was done as a background VI which loops waiting on a low-jitter queue called the RT FIFO. This enables other code to send commands to the compressor whenever you like, kinda like a fancy global. The RT FIFO read has a 500ms timeout so if no commands are sent, it will poll the compressor at 2Hz.
Greg McKaskle
|