That function in capture3 is To DDT express VI located in the Express >> Signal Manipulation palette.
Try to avoid the blue dynamic datatype wire. You created a problem when you used the Split Signals on the array of waveforms. It converted the waveforms (a good powerful datatype) to a DDT wire. DDT is great because it allows you to connect anything to anything. The problem is that you really don't know what the underlying data is, and it will force the data into different types that you really don't want in order to make the connection. In this case, the array of waveforms turned blue, but that got coerced to a double (one data point, which signal? first data point or last data point?, you don't know) to fit into the Enqueue because you defined that queue to be a double scalar.
Get rid of the split. Use Index Array, do the math, build array to modify those signals. Create a constant from that wire and wire that to your Obtain Queue rather than the scalar double precision float you have there now.
Your case structure manipulation is very odd. You use a string that is either "start" or "stop" to determine how to control the case structure. But doing calculations on that to check the length and determining whether it is 4 or 5 characters long. Very, very Rube Goldberg. Just use a boolean value you store in a shift register, not a string.