05-10-2011 12:54 PM
Hi Mike,
While researching your issue, I discovered that you have the same service request open with another engineer in my department. Rather then both of us working on it seperately, we are going to work together under one service request. This will ensure we get your question answered quicker. That being said, all communication will now go through your service request currently open with Adam G. Thank you for your time!
P.S. In the strange event that we have two Mike's with identical questions and you do not know what I am talking about, let me know and I will continue to work with you in this forum.
05-11-2011 11:43 AM
Hi,
sorry for asking things on this topic, if you prefer I will open a new one, but I'd like to know if it's possible to have as output an array instead of a tdms file in the example "niScope EX Multi Record Fetch More Than Available Memory Producer Consumer 8_2.vi".
Thank you!
05-12-2011 07:34 PM
Hi danielevee,
No worries!
When you say output to array, I assume you mean appending the data into an array as it comes? Or are you wanting to output to a file like an Excel spreadsheet?
To write to an array, all you will need to do is unbundle the waveform data and use the actual "Y" data to create the array. Waveform data also has timing information (dt, t0) that is the reasoning behind unbundling to extract the actual datapoints. Here is a quick tutorial on Arrays and Clusters (unbundling) in case you have not seen it.
There are lots of great examples on building arrays as well. You can also look in LabVIEW by going to Help -> Find Examples then search for array.
Here is fairly advanced example on how to convert a waveform to a timestamped array. The main take away from this is stripping the waveform and building an array.
I hope this helps you get started!
05-13-2011 01:57 AM
Thank you,
that's exactly what I was looking for.