Repetitive data logging triggered by an external signal in a data logger

Can I set up repetitive data logging triggered by an external signal in a data logger?

Hi @steven,

You can do repeated triggered data logging with a scripted API but in the App you have to press the red “start” button after each completed logging session to re-arm the trigger. The equivalent in the API is start_logging(). You could script your data logging setup in the API with this in a loop using start_logging() to re-arm the trigger after each session.

Examples for Python | Moku API is a good starting point to add this loop into.

Let me know if you have any further questions,
Indira.

Hi Indira,

I am running a laser lifetime test using Moku:Go. I am utilizing the multi-instrument cloud compile feature and prefer not to use API scripts. It would be very useful if I could trigger data logging repetitively. Specifically, I want to capture 100 samples within 1 ms at a repetitive rate of 500 Hz.

Thanks,
Steve

Thanks for the further information but this is not possible in the App currently, but I have noted this as a feature request for you.

I would note that cloud compile is available with the APIs as well but you could also achieve the same result by logging over a long period of time and post-processing out the unwanted samples. For example, you could log for 24 hours at a sample rate of 100 kSa/s, export this as a CSV file and then process out every second ms worth of data to achieve your 1 ms of data at your 500 Hz rate.

Hope this helps,
Indira