01-08-2013 02:18 AM
Hello Everyone,
I have the need to detect the min and max values to input channel signals to NI PXI-5105 card in NI PXIe-1073 chasis. My exact requirement is to be able to detect the maxima and minima of the input signals based on a cycle where the first channel input is TDC (Top Dead Center) and the second channel input is CAD (Crank Angle Degree). So every cycle (between two TDC pulses) I need to detect where the maximum or the minimum values of the other channels are detected and presented in their corresponding CAD values.
I appreciate tips to which already existing VIs I can use ( hoping that there are already) and a guide to the right direction in tackling this problem.
Many Thanks!
Solved! Go to Solution.
01-08-2013 08:03 AM
Hello again,
I would like to refine my question above. My current difficulty is I have a cluster of two arrays; lets say X and Y. The X values are data values of channel input and the Y values gives the corresponding CAD values of the X array elements. So my ultimate question is to detect the most positive or negative of the X values and output that value together with its corresponding Y value in the cluster.
I really appreciate the help!
01-09-2013 01:50 AM
Hello Henok,
Take a look at the example attached below. Extracts the Min and Max from the X array and also corresponding Y value.
Best regards,
Klas