From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-25-2013 10:37 AM
I want to use color regions on my graph. But, if I use a background image, it doesn't adjust with the scale.
If I use plot fill and create data arrays for my boundaries, it hides the grid.
Does anyone know how to accomplish this? (see attached pictures)
03-27-2013 05:01 AM
Here are some options, although I don't particularly like any of them. I think I would go with one, because it's the simplest:
03-27-2013 08:37 AM
tst, I was hoping there was a simple solution.
I have tried redrawing the BG on every loop, otherwise, like you said, it's difficult to determine when to redraw it. The VI App. continuously falls behind in collecting the data samples, from the NI-USB 6211, and once its buffer overflows, the VI App. stops.
The problem is, the VI App. is collecting samples from a NI-USB 6211 continuously. The graph displays from 3 Min. to 6 Hrs. of "Real Time" data (2 ch. @ 200Hz, updated 0.5 seconds). After six hours the older data is no longer displayed. The NI-USB 6211 is also, writing the data samples to files for viewing the data at a later time. The VI App. may run for days, once it's started.
Currently, in the two versions I have, the BG or the data arrays are generated once, when the VI App. is started.
I need a sloution, if possible, that doesn't slow down the loop time.
03-27-2013 09:04 AM
03-27-2013 09:30 AM
Specifically, look at producer/consumer patterns and queues.
03-27-2013 09:38 AM