07-07-2015 02:53 PM
how to increase the update rate of an intensity chart?
07-07-2015 02:56 PM
Do you have code that you're trying to improve that you could share?
A chart is just an indicator of the most recent data points, so it updates at the same rate that you write data to it.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-07-2015 03:07 PM
attached is my vi and a picture of my front panel when its running
07-07-2015 03:16 PM
Okay, so what's the problem? Your charts will update faster if you decrease your 100ms delay.
P.S. If you want acurate loop timing you should replace the Wait function with a Wait Until Next Multiple function.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
07-07-2015 03:41 PM
First, move the Initialize and Close VIs outside the loop. It probably takes the instrument a long time to initialize and you should not need to do that on every iteration.
1.a. How long does it take the instrument to acquire and transfer a data set? This will be the ultimate limiting factor on the loop rate.
Next, only write to the property nodes if the inputs have changed. Property nodes can be slow.
Third, If the data sets are always the same length, only calculate the array of integers (for loop) one time. This executes quite quickly but it is a good habit to only caluclate one time things which never change.
Try to avoid overlapping and right to left wires. These have no effect on speed but make it very difficult to follow what is going on.
Lynn
07-07-2015 04:03 PM
Are you working with Haristhota in this thread on the Signal Conditioning Board? There are some very strong similarities between the code posted there and your VI.
Lynn
07-07-2015 04:05 PM
No, I started mine from an example built into labview then have been updating it to work for my purposes