Hey everyone,
right now im working on a project with the AD2, at the moment i have no problem using the Scope (AnalogIn) and the wavegen (AnalogOut) together, but now i want to use the power supply to supply an opam and do the experiments with the wavegen and measure it with the scope.
I have no problem doing this with the WaveForms App, i only turn on the master enable with -5V and 5V as parameters, and then run some waves with the Wavegen a measure it with the Scope. But im having problems trying to do this with the SDK.
The code that work when i want to enable only the Scope and the Wavegen is the next:
But when i try to enable the power supply adding the next lines codes (I use the AnalogIO_AnalogDiscovery2_Power.py example as reference) the program throws an error:
Question
Yeyo
Hey everyone,
right now im working on a project with the AD2, at the moment i have no problem using the Scope (AnalogIn) and the wavegen (AnalogOut) together, but now i want to use the power supply to supply an opam and do the experiments with the wavegen and measure it with the scope.
I have no problem doing this with the WaveForms App, i only turn on the master enable with -5V and 5V as parameters, and then run some waves with the Wavegen a measure it with the Scope. But im having problems trying to do this with the SDK.
The code that work when i want to enable only the Scope and the Wavegen is the next:
But when i try to enable the power supply adding the next lines codes (I use the AnalogIO_AnalogDiscovery2_Power.py example as reference) the program throws an error:
Error:
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.