Chris,
How can I send the global timestamp you use to synchronize things internally in mworks as a string over 0MQ?
– Shay
Chris,
How can I send the global timestamp you use to synchronize things internally in mworks as a string over 0MQ?
– Shay
Hi Shay,
If you want to send it via the Open Ephys network events client, just assign the current time (now()
) to the “request” variable. MWorks will convert it into a string for you.
Alternatively, if you want to send a formatted string that includes the time, use the format
function, e.g.
format("current timestamp = %d", now())
Chris
Perfect. Thank you for the quick reply.
– Shay