Hello I work in a research laboratory and I am a beginner in programming. I have an ADP3450 that I would like to program in python with pyQt5. In my digilent5 code I would like to use channel 1 of my ADP3450 to trigger at 1Volt for example. I know I have to use the following functions "#dwf.FDwfAnalogInTriggerAutoTimeoutSet(hdwf, ctypes.c_double(0)); dwf.FDwfAnalogInTriggerSourceSet(hdwf, None); dwf.FDwfAnalogInTriggerChannelSet(hdwf, ctypes.c_int(2)) ; dwf.FDwfAnalogInTriggerTypeSet(hdwf, constants.trigtypeEdge); dwf.FDwfAnalogInTriggerLevelSet(hdwf, ctypes.c_double(1)); dwf.FDwfAnalogInTriggerConditionSet(hdwf, constants.trigcondRisingPositive)" but I can't use them correctly. My ADP3450 does not trig. Could you help me. I work on linux (armbian) but on windows it's the same it doesn't work better. Could you please help me. I thank you all very much in advance.
Question
Hobs
Hello I work in a research laboratory and I am a beginner in programming. I have an ADP3450 that I would like to program in python with pyQt5. In my digilent5 code I would like to use channel 1 of my ADP3450 to trigger at 1Volt for example. I know I have to use the following functions "#dwf.FDwfAnalogInTriggerAutoTimeoutSet(hdwf, ctypes.c_double(0)); dwf.FDwfAnalogInTriggerSourceSet(hdwf, None); dwf.FDwfAnalogInTriggerChannelSet(hdwf, ctypes.c_int(2)) ; dwf.FDwfAnalogInTriggerTypeSet(hdwf, constants.trigtypeEdge); dwf.FDwfAnalogInTriggerLevelSet(hdwf, ctypes.c_double(1)); dwf.FDwfAnalogInTriggerConditionSet(hdwf, constants.trigcondRisingPositive)" but I can't use them correctly. My ADP3450 does not trig. Could you help me. I work on linux (armbian) but on windows it's the same it doesn't work better. Could you please help me. I thank you all very much in advance.
digilent5.py
Link to comment
Share on other sites
10 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