Hi, I am acquiring real time analog data using 4474 daq card. Basically i am doing some signal processing to the data that i am reading then i am feeding it to my sound card. In middle of my process i would like to read the 1D array and check the values if it is above certain value and if it is above certain, i want to change that element to the certain value. as an example, i am trying to set the limits of the array no to exceed 4 voltage which is the voltage limit of the speaker i am using. and if some of the values are above 4, basically i want to change it to 4
IF(array.element>4) array.element=4;
how can i achieve this while i am running real time. thank you for your help