MoBi_Trigger.m 297 B

123456789101112
  1. function [can_i_trigger] = MoBi_Trigger(ioObj,address,Trigger_value, can_i_trigger)
  2. if can_i_trigger == 1
  3. io64(ioObj,address, Trigger_value);
  4. WaitSecs(0.01);
  5. io64(ioObj,address, 0);
  6. % if using single pulse, then only one pulse per
  7. can_i_trigger = 0;
  8. end
  9. end