Hello, I'm new to using the Analog Discovery 2 (AD2) and I don't know if this is a "real" problem or if it's just the way it works. I'm trying to use the SDK in order to write software to see if you can integrate the AD2 into our automatic tester. Currently I have 2 signal generators connected to Channels 1 and 2 of the AD2. Ch1 as a sin wave been generated at 2KHz with an amplitude of 5Vpp. Ch2 has a sin wave been generated at 800Hz with and amplitude of 300 mVpp. The problem that I'm having is when I want to change the voltage range value for channel 2 using FDwfAnalogInChannelRangeSet handle, 2, 0.3 it does nothing. But if I change the voltage range for channel 1, it changes the voltage range for both channels. I have tried it with the python and command line example programs that come with the SDK and the same thing happens. Is there specific sequence in with the commands have to be send or do I have to change something in the configuration of the device?
Question
Jivoman
Hello, I'm new to using the Analog Discovery 2 (AD2) and I don't know if this is a "real" problem or if it's just the way it works. I'm trying to use the SDK in order to write software to see if you can integrate the AD2 into our automatic tester. Currently I have 2 signal generators connected to Channels 1 and 2 of the AD2. Ch1 as a sin wave been generated at 2KHz with an amplitude of 5Vpp. Ch2 has a sin wave been generated at 800Hz with and amplitude of 300 mVpp. The problem that I'm having is when I want to change the voltage range value for channel 2 using FDwfAnalogInChannelRangeSet handle, 2, 0.3 it does nothing. But if I change the voltage range for channel 1, it changes the voltage range for both channels. I have tried it with the python and command line example programs that come with the SDK and the same thing happens. Is there specific sequence in with the commands have to be send or do I have to change something in the configuration of the device?
Any help is much appreciated.
Thank you.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.