First of all, I can't call it from the kernel. Keeps complaining about unifying the return type regardless of how I type it. I assume I must actually have get_dataset in an RPC that declares its return type, correct?
Anyway, doing that, and running a script that collects photons from the PMT (forcing the timeline up), then gets a dataset, and then immediately sets a DDS, throws slack errors ranging from 3-10 ms.
This is workable- I could throw it in an error catcher and just keep trying until the get happens to fit within 5 ms and works successuflly.
What if I only had 1 ms to work with, as is the case in another script I am working on... any suggestions there?