Sequencer - IF block

A Sam

Posted on 26.05.2016 17:29

Hi there,

I am trying to use the IF block in the sequencer to make some decisions based on channel data, but I keep getting a "Warning (If): No samples acquired" error. I have modified an old file that you used to demonstrate a stop trigger using the 'Wait' block. The 'wait' block works fine, but I can't get the If block to work, not sure what I am missing.


Attached files:
DEWESoft Support
Technical support
Posted on 27.05.2016 05:34


the if block is not working because you have stopped the measurement, therefore no samples are coming through for the sequencer to check. There are two things that you can do about it. You can remove the stop block and paste it after the if, to both branches, so the if will get the data to be able to make a decision, but the measurement will be stopped right after that. The other way would be to assign the value of the data that you use to a sequencer variable, and then stopping the measurement. Since the sequencer already has that value stored, you can than use it in the if sentence even after the measurement has stopped. I've attached both examples.

Attached files:
Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more