04-03-2019 06:41 PM
Hello
In the attached VI, I am getting the data from a waveform using "get waveform components". The output is in the form of 1D array, I want to convert the data to integer to perform the analysis. I tried using the index array but realized it is not working. Can any one please let me know how to convert the data type to make the VI working.
Thank you in advance
Ram
Using LabVIEW 2014
04-03-2019 10:01 PM
04-04-2019 01:51 PM
Hello Emboar
I tried that but, it didnt work for me. Please look at the VI attached. My generated sinusoidal waveform has an amplitude of 1, but when i see the elements from the array index my values are varying differently. My idea is to get same sinusoidal data in number format from the array.
Thank you
Ram
04-04-2019 02:00 PM
Hi Ram,
My generated sinusoidal waveform has an amplitude of 1, but when i see the elements from the array index my values are varying differently. My idea is to get same sinusoidal data in number format from the array.
Then you should analyse all samples in the waveform, not just one 1 of 1000:
Are you sure you want to use ExpressVIs in the FPGA?
(When attaching FPGA VIs you should attach the whole project. You also forgot those subVIs…)
04-05-2019 06:16 PM
Hi GerdW
I understand what you said, taking more number of samples will help me to resolve the issue. but I am not sure how do we get 1000 samples from the array index at once.
Thank you
Ram
04-07-2019 11:18 AM
Hi Ram,
how do we get 1000 samples from the array index at once.
Forget about that IndexArray function and use the array wire to get all 1000 samples…
(Basic LabVIEW stuff: When you want to process each sample, one after the other, you should think about using an autoindexing FOR loop!)