01-22-2016 06:51 AM
I'm new to LabView and doing a "training case". The case is to make a green and a red LED blink at different rate at different voltages. I have manage to make the lamps blink at the rate I want, but when I try to check the program useing the "Highlight Execution" tool i'm getting these to errors; Error (-201003) and (-200279). I have no clue how to solve it. The rest of the errormessage (-200279) is below the picture.
Possible reason(s):
The application is not able to keep up with the hardware acquisition.
Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value: 0
Task Name: MyVoltageTask
All help is greatly appreciated.
- m3gney
01-22-2016 06:53 AM - edited 01-22-2016 06:54 AM
Hi m3,
where does that error occur? In your image a different error is visible with the DO task…
Why do you use CTR0 to output boolean values?
In your AI loop: what is the sample rate of your AI task? You don't try to read one sample after the other for a task that's set to a samplerate of >=1kHz?
01-22-2016 07:43 AM
Without even examining your code, but listening to your description ("The application is not able to keep up with the hardware acquisition" and "when I try to check the program using Highlight Execution"). Highlight Execution slows the program down by a factor of probably thousands (millions?), so if there is hardware-timing-dependent stuff going on, slowing the application down by multiple orders of magnitude must introduce errors.
Have you tried Probes? Right-click a wire and choose "Probe". A number will appear on the wire (starting with 1) and a Probe Watch Window will appear. Run your program. Every time the data in the wire changes, the Probe Watch Window will show the value. This barely slows down the execution of the program, so it should avoid your error. You can have several probes going at once.
Bob Schor