LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control AD8403 using labview

I was wondering if anyone could help me modify or develop a VI to control the AD8403.  It is a 4 channel digital potentiometer.  It would be controlled through NI PCI-6070E DAQ card.  I have found a VI from a previous post on here but it is configured to use the LPT port.  I am stuck on how to reconfigure this to control through the DAQ card as well as to integrate in into a 4 channel design.  I have very little experience in Labview and any help would be greatly appreciated.
 
I have atached the VI I have been looking at for reference.  It was developed by Werner and is a very good reference.
 
Thanks,
 
Mike
0 Kudos
Message 1 of 2
(2,509 Views)
Essentially what you have to do is just write to a port of data and toggle the lines high or low.  Beyond that I can't really help you with the AD8403 because I don't know how it's supposed to really work.  My guess is that depending upon the value of the port, the value of the pot changes.  If that's the case and you're using LabVIEW 7.0 or higher then you can just use the DAQ Assistant and toggle the lines really easily whenever you need to.  Or you could simply set up some sort of state machine that decides what value you want to send and when.  No complex timing, just simple digital I/O.
0 Kudos
Message 2 of 2
(2,498 Views)