I am programming an Analog Discovery 2 with the Waveforms API in Python 3, and I am wanting to use the "Patterns" generator to make DIO-0 go to state '1'. In the SDK I only see the following options (from the SDK reference manual):
• DwfDigitalOutTypePulse: Frequency = internal frequency/divider/(low + high counter).
• DwfDigitalOutTypeCustom: Sample rate = internal frequency / divider.
• DwfDigitalOutTypeRandom: Random update rate = internal frequency/divider/counter alternating between low and high values.
• DwfDigitalOutTypeROM: ROM logic, the DIO input value is used as address for output value
• DwfDigitalOutTypePlay: Supported with Digital Discovery.
But the Waveforms software allows the type "constant". Is there a way to make the pin a constant logical high while the program is running?
Question
sand
Hello!
I am programming an Analog Discovery 2 with the Waveforms API in Python 3, and I am wanting to use the "Patterns" generator to make DIO-0 go to state '1'. In the SDK I only see the following options (from the SDK reference manual):
• DwfDigitalOutTypePulse: Frequency = internal frequency/divider/(low + high counter).
• DwfDigitalOutTypeCustom: Sample rate = internal frequency / divider.
• DwfDigitalOutTypeRandom: Random update rate = internal frequency/divider/counter alternating between low and high values.
• DwfDigitalOutTypeROM: ROM logic, the DIO input value is used as address for output value
• DwfDigitalOutTypePlay: Supported with Digital Discovery.
But the Waveforms software allows the type "constant". Is there a way to make the pin a constant logical high while the program is running?
Link to comment
Share on other sites
4 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