05-16-2022 06:21 AM
When I convert an analog waveform to a digital waveform through Analog to Digital.VI, the output result is not what I expected (the data I expected is 11010101010101010101010101010101 as described at the top of the front panel in the attached Analog to Digital - 2019.vi ). I have tried switching the input parameters of Analog to Digital.VI, but it still doesn't achieve the desired effect. But if I convert the standard sine wave to a digital waveform with Analog to Digital.VI (Sine to Digital - 2019.vi), it works perfectly. Can any expert teach me how to convert the waveform in the accessory Analog to Digital - 2019.vi to the result I want, I really, really appreciate it!
05-16-2022 09:55 AM
Hi,
you could use the VI below .
Best Regards.
05-16-2022 10:03 AM - edited 05-16-2022 10:03 AM
Hi Chihl,
@Chihl wrote:
Can any expert teach me how to convert the waveform in the accessory Analog to Digital - 2019.vi to the result I want, I really, really appreciate it!
Suggestion:
@Chihl wrote:
the output result is not what I expected (the data I expected is 11010101010101010101010101010101 as described at the top of the front panel in the attached Analog to Digital - 2019.vi ).
Right now you convert your analog waveform into a 2-bit digital waveform. How do you want those 2 bits represent your "1101..." bitstream?
05-16-2022 08:05 PM
Thank you very much for replying to me, in fact I don't know exactly what the resolution means, so I tried changing the resolution from 1-32, but the results were not what I hoped. The goal I want is simply to get 11010101...