Hi Josh,
Perfect, Thanks!
Just in case someone else has the same problem, "[i]H.load(1, MyAudioWaveform, [i]'LoopMode', 1);" it seems like using push ('HiFi', *') in the same OutputActions causes some problems & the loop doesn't work - plays some smooth jazz (really cool error message!)
sma = AddState(sma, 'Name', 'WaitForCenterPoke', ...
'Timer', 0,...
'StateChangeConditions', {'Port2In', 'Delay'},...
'OutputActions', {[s]'HiFi1', '*', 'HiFi', ['P' 0], 'PWM2', 255});
Thanks again,
Cal