03-03-2014 07:00 AM
I would like to know your opinion about this issue I am facing in Labview:
I have 4 input signals in my FPGA which look like this:
The signals are saved independently in arrays (size: 3600). The first signal is centered around 1800 and I would like to reorder the others to also be centered around 1800. There is a fix delay between the signals, so my first option was to created a "for" loop that "point by point" reorders the array. The signals correspond to pressure traces from all cylinders of an internal combustion engine. Is there any other way to reorder the signals? Maybe using defined functions in labview...
Solved! Go to Solution.
03-03-2014 07:07 AM
Use Index Array to break up your 2-D array into the individual channels. Use Rotate 1-D array to rotate each 1-D array however many elements necessary to get the peaks to line up. Use Build Array to put the individual 1-D arrays back together into a 2-D array.
03-03-2014 09:16 AM
Thanks for your reply. Should I use a for loop for those operations? It would be really useful if someone could post a picture of the structure.
Thanks in advance!
03-03-2014 09:26 AM
03-03-2014 09:30 AM
Actually they are not reordered on the FPGA. They are saved without reordering for its use with Matlab, but to check that all cylinders perform in the same way is good to plot them in one single plot and phased at 1800.
03-03-2014 09:35 AM