Set two GlobalTimer

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set two GlobalTimer
#1
Hi Josh,

Could you give me an example of how to set more than one GlobalTimer? I tried to setup two GlobalTimer, but there was an error.

sma = NewStateMatrix();
sma = SetGlobalTimer(sma, 1, 2);
sma = SetGlobalTimer(sma, 2, 4);

'Error setting global timer#' 2 '. Only ' 1 ' global timers are available.'

Thanks,
Xiong
Reply
#2
Hi Xiong


Thanks for the bug report!
The bug was created recently, when we updated state machine firmware to send a hardware self-description to MATLAB (including the number of global timers supported). The bug is fixed in the latest push to the beta branch.

-Josh
Reply
#3
(05-09-2017, 05:52 PM)Josh Wrote: Hi Xiong


Thanks for the bug report!
The bug was created recently, when we updated state machine firmware to send a hardware self-description to MATLAB (including the number of global timers supported). The bug is fixed in the latest push to the beta branch.

-Josh

It worked. Thanks, Josh!

Xiong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)