03-30-2009
03:33 AM
- last edited on
03-18-2025
03:30 PM
by
Content Cleaner
Hello everyone,
I have DAQ NI USB-6211 (https://www.ni.com/en-us/support/model.usb-6211.html) with witch help i need to create delta-modulation (http://en.wikipedia.org/wiki/Delta_modulation - Pic1.1.JPG). I was trying to do it (delta-modulation.vi),but i don't know how to transform input data signal to a 1-bit data stream(Pic1.2.JPG and Pic1.3.JPG).If anyone know the details please share it.
Regards
Jurijs
03-31-2009 09:26 AM
As I understand it you are trying to readin your Analog Input Value and then subtract it from your initial Voltage Output, then output that new value as your Analog Output?
You could change your DAQmx Read to Analog»Single Channel»Single Sample»DBL, this will allow you to read in a single double value that can then be manipulated to your liking.