Jump to content
  • 0

Analog Discovery 2: Enable power supply on boot


ibutter

Question

Is it possible to set & enable the power supply on the AD2 on boot? I'd like for it to be enabled before I connect to the device & program it.

I seem to remember that the device can start up outputing a waveform etc., so assume this is poissble, but I can't find any mention of it.

thanks,

Ian

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi @ibutter

The analog circuitry is not enabled before connecting/opening/programming the device.
The supplies can be enable only after connecting with software to the device and configuring the supplies/analog-io

See the manual and examples in the SDK folder:
C:/Program Files (x86)/Digilent/WaveFormsSDK/
image.png

 

...
dwf.FDwfParamSet(DwfParamOnClose, c_int(0)) # 0 = run, 1 = stop, 2 = shutdown
dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf))

...

image.thumb.png.8d368e4eef02cf45549c3430e58a23c7.png

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...