Jump to content
  • 0

AD2 - Use power supply, scope and wavegen with SDK


Yeyo

Question

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:

image.png.f3d38e0aea0d1c655da7174acc43a31e.png

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:

image.png.217eecf3633ab50d5c96b1bbfe1b943e.png

Error: 

image.png.1b641255b01a0164f30e86a27c0f6450.png

 

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.

×
×
  • Create New...