Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

AD5541/5542 Digital-toAnalog converters from Analog Devices

Dear Friends,

Does anybody have experience programming in Labview the AD5541 or AD5542 boards (Digital-to-Analog converters) from Analog Devices (http://www.analog.com/en/prod/0%2C2877%2CAD5541%2C00.html)?
LabView code examples or description of the general approach to this task would be much appreciated!
My PXI system has NI-6534 board which I can use for digital output. But I need to perform Digital-to-Analog conversion by the remote AD5541 board.
Is there a way to do this?

Thanks in advance
0 Kudos
Message 1 of 4
(4,163 Views)
Hi Ampm,

Thanks for the datasheet for this device. You will have to write the entire waveform in order to communicate with it. This is: CS, DIN and LDAC generated with a digital waveform and export the clock to the DAC.
To write a digital waveform to the card I would suggest to start with the shipped example "Generate Values.llb\Cont Write Dig Chan-Burst.vi". These examples are installed when you install the DAQmx driver.
Hope this helps,
Gerardo O.
RF SW Engineering R&D
National Instruments
0 Kudos
Message 2 of 4
(4,125 Views)

Thanks for your reply!

..Now I am stuck with the task of converting a number (digital value) into a sequence of bits for the 5541 chip..
Can you suggest a way of doing this? Any code example?..
I have an idea how to do this in MathScript but MathScript code runs veeeery veery very slow.. I hope there are other known approaches to this problem.

Thanks for your help!

 

 

 

0 Kudos
Message 3 of 4
(4,083 Views)
Hi Ampm,

This is more like a software trick and I think you mean something like the attached VI?
This is a native VI in LabVIEW and I hope is doing what you are asking.

Good luck,

Gerardo O.
RF SW Engineering R&D
National Instruments
0 Kudos
Message 4 of 4
(4,053 Views)