LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add trigger control at example continuous sound input vi

Solved!
Go to solution

Hi,

 

I am new on Labview programming.

 

I am trying to add trigger control to Labview\example\continous sound input vi but I found that the program will hault or no signal display on graph. Can anyone has any sample program or what's wrong on my vi? 

0 Kudos
Message 1 of 8
(3,484 Views)

Hi, it seems that you are stopping the task before even starting. From the looks on the code, it would be easier to enclose the Sound Input Read.vi and the Raw Data indicator in a case structure and use a Boolean control to determine when to read or not.

Alejandro C. | National Instruments
0 Kudos
Message 2 of 8
(3,472 Views)

Could you give me an example how to modify my vi?

0 Kudos
Message 3 of 8
(3,468 Views)
Solution
Accepted by topic author survey

Try this one...I think this is what you were trying to do. I already test it and it's working.

Alejandro C. | National Instruments
0 Kudos
Message 4 of 8
(3,458 Views)

It has a blink on the graph when the switch state from off to on. Is that possible to prevent?

0 Kudos
Message 5 of 8
(3,450 Views)

Right click on the graph and select "Ignore Time Stamp"

Alejandro C. | National Instruments
0 Kudos
Message 6 of 8
(3,444 Views)

It does not work.

0 Kudos
Message 7 of 8
(3,437 Views)

Try this instead: take the graph outside of the case and do the same changes shown in the picture attach. The blink on the graph is the data updating in the indicator. The suggestion smooths this operation. I hope this helps

Alejandro C. | National Instruments
0 Kudos
Message 8 of 8
(3,416 Views)