Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

delta-modulation (ni usb-6211)


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

0 Kudos
Message 1 of 2
(3,191 Views)

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.

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 2
(3,172 Views)