After doing some reading, I am left without a simple solution to using this function. Short of writing some C & Python code to properly wrap and pass the parameter as the function wants (by pointer), I'm not sure how else I could use this in Python.
Is there something I'm missing so that I can use this function?
We're using both the AWG & 2 Channels on the 5242D. The AWG output is connected to Channel B to trigger Channel A to capture a reflection signal, that's the current hardware setup.
Software wise, the AWG is configured for burst mode. Generating a user defined number of shots on the output. That burst is then repeated based on a user defined repeat period (ms). The Burst is triggered using the software trigger in the API. The scope is configured for 14 bits to run in Block mode. Most of the other parameters are not static.
The control of triggering a burst and collecting the samples is all done in a thread that executes the process sequentially. But in an effort to try and reduce the minimum repeat period, we wanted to use a callback function that polls the sample data from the scope asynchronously instead of sequentially.