ibutter Posted October 23, 2019 Share Posted October 23, 2019 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 More sharing options...
ibutter Posted October 23, 2019 Author Share Posted October 23, 2019 Also, is it possible to keep the power supply on after disconnecting from the board? It's possible in WaveForms to set the "on close" setting of the device to "continue", but haven't found it in the SDK Link to comment Share on other sites More sharing options...
attila Posted October 24, 2019 Share Posted October 24, 2019 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/ ... dwf.FDwfParamSet(DwfParamOnClose, c_int(0)) # 0 = run, 1 = stop, 2 = shutdown dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf)) ... Link to comment Share on other sites More sharing options...
Question
ibutter
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
Archived
This topic is now archived and is closed to further replies.