LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Physical Channel

      hi everybody,
 
   i'm reading 6 AI on physical channel and i can show the all data in the waveform chart . but i want to show max. value for every signal on front panel.  and   can i use the six data in different place ?
 
hakan
0 Kudos
Message 1 of 24
(3,547 Views)
Hi hakan,
you can use shift register to store the max value, and compare it with the new values, so you can show the max value on your front panel. What do you mean with use it in different places? You can use queues to send the data to another loop or vi.
 
Hope it helps.
Mike
0 Kudos
Message 2 of 24
(3,539 Views)
     hi mike,

 thanks for your reply,
 i want to show max. value for every signal on front panel.  
 namely, i should see 6 max. value on the front panel. 
 how can add the "shift register" ?

 hakan

0 Kudos
Message 3 of 24
(3,518 Views)

Right click on the border of the loop and select Add Shift Register.

Since you sound very new to LabVIEW, I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
0 Kudos
Message 4 of 24
(3,508 Views)
 thanks for your recommend,

i looked the this file and i learnt too many things....
but i still can't show the max. value.
how can i show the 6 max. value ?

0 Kudos
Message 5 of 24
(3,488 Views)
Why don't you post the code you've written so someone can see what is wrong? The basic answer you've gotten remains the same - use a shift register.
0 Kudos
Message 6 of 24
(3,485 Views)
    hi everybody,

i attached the my program.  pls help me 😞 

0 Kudos
Message 7 of 24
(3,461 Views)
Hi hakan,
you can use the "Max & Min" function. Replace the sequence with the "DAQmx Read.vi".
Notice that your code in your while loop only runs if an event occurs.

Hope it helps.
Mike
0 Kudos
Message 8 of 24
(3,458 Views)

     hi mike,

thanks for kindly information.  i couldn't understand  this messsage

"Replace the sequence with the "DAQmx Read.vi"."

i tried two different way but i couldn't it 😞        i attached my test file.

i hope we'll solve this problem....

thanks for your everything...

Download All
0 Kudos
Message 9 of 24
(3,422 Views)
Hi hakan,
i meant that you should replace the strucutre with the random values with your real value, like you you do it. Smiley Happy
I think you should implement it in the inner while loop.
 
Mike
0 Kudos
Message 10 of 24
(3,418 Views)