Jump to content
  • 0

Electronics Explorer power supplies


whbweb

Question

Hi. I'm working with the SDK and finally got to the point that I can control the Vcc power supply to be either 3.3 V or 5.0 V. It seems the channel numbers are 0 = Vcc, 1 = VP+, 2 = VP-, 3 = Vref1 and 4 = Vref2.

 

Something like this

dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(1), c_int(0), c_double(True))
dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1,1,c_double(1.86))

will work fine and give me 1.86 V or close to it, but if I try to go past about 2 V, it seems like it can't get there and fluctuates a lot. I'm not sure of the difference between AnalogIOChannelNodeStatusInfo and AnalogIOChannelNodeSetInfo, but it seems that these can go to 0 to 10 V in 1000 steps or so. The Waveforms software has no problem driving them to +10 or -10 or anything in between. Any idea what I could be doing wrong?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi @whbweb,

Try specifying a current limitation, like 0.5A
dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1, 2, c_double(0.5)) # channel 1 = VP+, node 2 = current limitation

*SetInfo returns the settable range, like voltage and current limitation setting
*StatusInfo returns the reading range, like voltmeter and ammeter on supply channels

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...