I've been working on integrating the Picotech 5242D into a python application that uses both the Oscilloscope and Signal generator functionality. While I've had no issues with the Oscilloscope functions, I have come across some bumps with the Signal Generator.
Some details:
the goal is to have the signal generator trigger a shot output with a variable number of sine wave cycles (shots). The trigger of the signal generator could be either the ps5000aSigGenSoftwareControl Trigger (preferable) or by using the ps5000aSetSigGenBuiltInV2 function call.
The Problem:
While experimenting with the SDK I can setup the signal generator to output a waveform, but it doesn't seem to limit the number of cycles. Here's my function call based off the SDK example:
this seems to produce a continuous output rather than the limited cycle output that I'm trying to achieve.
Additionally, the function ps5000aSigGenSoftwareControl doesn't seem to be implemented through the Python wrappers, which leads to my next question: Are all the SDK functions accessible through the Python wrappers?
Thanks for the feedback. So I had actually already tried what you had suggested. Where I was going wrong was the combination of triggering source and triggering type. I had used the SoftwareTrigger with the "PS5000A_SIGGEN_GATE_HIGH" which caused an error with the SDK. Playing around more, I discovered that I had to use "PS5000A_SIGGEN_RISING" to get the behavior that I was trying to achieve.
On another note,
Are there any plans on adding in any burst/shot repetition functionality? Practically exactly as described here: topic27971.html