Hi Els,
In any state where you want the line to remain high, add
{'BNC1', 1}
to the OutputActions section of the state description (assuming it's BNC output channel 1 you're using). For an LED, use {'PWM1', 255}
In that state where you want an inverted pulse, you can omit this - all lines are low and LEDs are off by default.
The line will go low during the inter-trial interval, while the next state machine is being prepared. If you use TrialManager to write your protocol, you can limit the off time to ~ 200 microseconds.
-Josh