03-05-2013 10:50 AM
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?
03-05-2013 10:54 AM
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.
03-06-2013 08:43 AM
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.