LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

showing counter value and input analog signal

Hi everyone!

 

I am new to LabView and to this forum and i am not english speaking so i hope i will not make fool of myself...

 

The think is that i am building simple device using DAQ, that will measure voltage and count pushes of a button.

I have successfully configured DAQ to measure and count. Now i want to show all this on graph.

For example: at first press the voltage was 2,5V, at second press, the voltage was 3,4V etc...

So that i can see the shape of graph at the end of pushing the button.

Somehow i am not doing it right so i ask for help if anyone can help me to solve this (i guess it should be simple?) or help me otherway... It is not showing all the dots and lines so i can not see all the graph.

Here is the file with what i have done for now...

The bottom elements (with graph2) are not important. I was just trying different combinations...

 

 

regards


0 Kudos
Message 1 of 2
(2,015 Views)

Hi Sorta,

 

From wat I understand, you would like a graph that would shou, at every push of your button, the value of a voltage.

 

This can be easily managed by setting a LV application of retriggerable finite acquisition, where the trigger is the libe with your button, and the number of samples to be acquired when trigger appears to be 1.

 

The acquisition could then be presented on a chart.

 

A good example of the architecture I presented can be found at:  

Help -> Find Examples -> Hardware Input and Output -> DAQmx-> Analog Measurements -> Voltage -> Acq&Graph Voltage-Int Clk- Retriggerable.vi

 

Please analyze the example , set the number of samples per channel to 1, and connect your pulse generated by the button to a trigger input.

 

Let me know how it works out for you,

Mircea

0 Kudos
Message 2 of 2
(1,963 Views)