woo chuan chan Posted September 17 Share Posted September 17 Hi, I can set the output voltage and its threshold in the GUI, however, i couldn't find command for it (in SDK reference pdf), if I wanna use python script. Appreciate your help. thanks. Link to comment Share on other sites More sharing options...
0 attila Posted September 17 Share Posted September 17 Hi @woo chuan chan The input threshold is about half of the digital voltage. See WF SDK manual FDwf(Device)ParamSet DwfParamDigitalVoltage Link to comment Share on other sites More sharing options...
0 woo chuan chan Posted September 18 Author Share Posted September 18 15 hours ago, attila said: Hi @woo chuan chan The input threshold is about half of the digital voltage. See WF SDK manual FDwf(Device)ParamSet DwfParamDigitalVoltage Hi Attila, By using the DwfParamDigitalVoltage I can set the voltage level let say 2V and the threshold for DigitalIn is 1V, but what can I do if let say I want to set voltage level 2V threshold 1.2V. I wanted to do this because of some signal quality issue (coupling or disturbance) that mess up my DigitalIn. thanks. Link to comment Share on other sites More sharing options...
0 attila Posted September 18 Share Posted September 18 Hi @woo chuan chan The DIN use by default weak-pull down, but can also be set to mid for higher sensitivity and pull-up. If you are only using inputs then you can configure higher voltage. The digital voltage is only used for DIO output high level and the VIO outputs. To reduce crosstalk twist each wire or at least the sensitive ones with gnd, similar to HS adapter wires: https://digilent.com/shop/digital-discovery-high-speed-adapter-and-logic-probes/ woo chuan chan 1 Link to comment Share on other sites More sharing options...
Question
woo chuan chan
Hi,
I can set the output voltage and its threshold in the GUI, however, i couldn't find command for it (in SDK reference pdf), if I wanna use python script. Appreciate your help.
thanks.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now