09-21-2011 03:11 PM
Did somebody here use a digital potentiometer interfacing with LabView through 6062E PCMCIA? I haven't yet used a digital potentiometer, and I don't know how it works. If somebody has done it, please help me.
Thank you
09-28-2011 09:51 AM
Good morning,
There functions in LabVIEW to change the gain, as the PID function follow the link below along with the manual NI DAQCard-6062E (for PCMCIA) on page 10 is an indication of the pins to connect. Any questions please contact us.
PID Motor Control
https://decibel.ni.com/content/docs/DOC-16983
NI DAQCard -6062E Family
Specifications
http://www.ni.com/pdf/manuals/370724c.pdf
Sincerely,
10-04-2011 11:04 AM
Thank you so much for the answer, but it was no what I meant. I mean a physical digital potentiometer. I need to control a non-inverter op-amp amplifier, to control the gain. And I would like to use a digital potentiometer. They use SPI communication to be controlled. Do you know if this is possible?
thanks!
10-04-2011 11:15 AM
Yes it is possiible
There are two different types of digital pots ones that use a communication protocol and ones that use a step up step down command. If you don't want to get into the communication protocols use the step up digital pots. They are fairly easy to control.
See attached data sheet
You would need to digital lines to count up or down.
Good luck
10-10-2011 04:51 PM
Thanks so much, man... So, it's only make use of two digital outputs to control it?
Thank you!
10-14-2011 11:05 PM
Is it possible to use SPI communication, using this pot? "mcp41100"
thank you!
10-17-2011 10:49 AM
It looks like that chip should work.
Attached is an example of a subvi used to send SPI cmds.
Good luck with your project
10-17-2011 10:56 AM
Thank you, I am gonna work on it and as soon as I have some doubts or success, I post here, ok? Thanks!
10-17-2011 11:07 AM
I should offer some explanation about the example I posted. It was designed for a chip that used a 7 bit register LSB first. I also added the delays in between clock pulses so I could check the signal with an O-scope. Each iteration of the for loop sent one bit of data. I used three digital lines from a daq board.
The chip you were looking at had a 16 bit register but I did not notice the order of the bits.
I hope this helps.