Hi,
I have a 4-channel Analog Output Module.
I would like to send one waveform to Ch1 and another to Ch2 simultaneously.
I did the following to load two waveforms:
W.loadWaveform(1, waveform1);
W.loadWaveform(2, waveform2);
LoadSerialMessages('WavePlayer1', {['P',1,0], ['P',2,1]});
However, I am not sure how to trigger both waveforms simultaneously in the AddState command.
If I do 'OutputActions', {'WavePlayer1',1} or 'OutputActions', {'WavePlayer1',2}, they individually work as expected.
So, the loading of the waveforms seem to be working. Would you mind letting me know how to trigger both waveforms?
I tried 'OutputActions', {'WavePlayer1',3}, similar to what I would do for BNCState or WireState, but it did not work for WavePlayer1.
Thanks,
Hiroyuki