LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Timed event" for peak detection input

Sorry for the second post, but this is what I changed - see the attachment.
From here, I created controllers and hope to be able to use this edited VI as a subVI for the program. Do you think this code will work?

0 Kudos
Message 11 of 13
(539 Views)

Specifically, I'm worried that because of the control on the While Loop of the Peak Detection VI (the default one and now my new edited one) that it will execute only once when it is initialized and thus only take the first width instead of altering in the middle.

0 Kudos
Message 12 of 13
(539 Views)

Then I would split up the array into two arrays, and feed each of these arrays into separte detect peak VI's (or use a loop to access the same VI twice with different inputs). You could alter the VI itself to accept another input and break up the array inside the VI. But the 1st option sounds easier if you don't quite know where to start. 

0 Kudos
Message 13 of 13
(533 Views)