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.
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?
Question
whbweb
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
Archived
This topic is now archived and is closed to further replies.