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.
06-01-2016 09:30 AM
Hello,
I am looking for a way to take my continuous data and display it to an array in Labview. The issue I am having is that the data is unreadable due to it being read so fast. I am looking for a way to limit the amount of data points that are being displayed in my array. I am thinking something along these lines:
Any advice on how to achieve or another way to successfully display the continuous data is appreciated.
Thanks
06-01-2016 10:01 AM
How big is the array? Is it constantly groing or fixed size?
Where do you "store" the data? Are you streaming to disk?
Is this just a plain array indicator?
You can do all the acquisition and storing as fast as possible, but only update the array indicator at slower intervals.
Can you attach some simplified sample code so we get a better idea what you are doing? Thanks!
06-01-2016 10:47 AM
Thank you for your reply,
I have attached a VI that shows what I am trying to accomplish / what's not working.
The overall goal of the system is to read data from multiple DAQS at different rates, resample the data (so that it can be written to a TDMS file with a common timestamp. * note that I did not include the functionality for writing to the TDMS file in this sample VI*) then display the data in the form of a graph and a numeric indicator. The graph is working fine, the issue I am having is with the numeric indicator.
The issue I am having is that if I set the 'resample dt' to a high value (ie, 0.00001 s) then values are being read too quickly and it is difficult to read off the values from the indicator. If i set the 'resample dt' to a lower values (ie, 0.5 s) then values don't show up at all in the indicator.
Any advice on how to successfully display values into the indicator is appreciated.
Thanks
06-01-2016 10:49 AM
Furthermore,
The only way I am able to successfully get the indicator to display values is if I set a 'Number of samples per channel' for my read function. The issue with this is that I want to read every sample for every channel, that way all the samples are being 'resampled' to be written with a common time stamp.
06-01-2016 11:51 PM
Hi,
Already you have posted the same question in forum few weeks before refer to the previous topic here. and try out the said method.
Kudos Welcome 🙂