08-06-2015 11:54 AM
Hello everyone,
I am trying to use a PCI-6221 to provide an analog output voltage of 5V and use the AI to read the returned signal using labview. Does anyone know how I can do this using this hardware device?
Thank you
Solved! Go to Solution.
08-07-2015 08:30 AM
Hi lrving9,
First you will need the DAQmx driver, here is the link for you to install the latest version.
NI-DAQmx 15.0.1
http://www.ni.com/download/ni-daqmx-15.0.1/5353/en/
If you already have it, then go ahead and take a look at this examples:
This one shows you how to output an analog DC voltage.
Community: Output a Constant Analog Voltage
https://decibel.ni.com/content/docs/DOC-18631
Then do you have a connector block to connect the signals?
If you do, then you can just create a task to read a Continuos Voltage Input, like in this example
Community: Voltage - Continuous Input
https://decibel.ni.com/content/docs/DOC-25105
If you do not have a connector block and have no way to connect the AO to an AI, then you can read the internal AO channel, like shown in this link (there is an example at the bottom):
Is It Possible to Read the Value of Analog or Digital Output Channels?
http://digital.ni.com/public.nsf/allkb/CB86B3B174763C3E86256FFD007A2511
Also when you install the driver some examples are installed as well, this shows you how to get to them:
Where Are NI-DAQmx Examples Installed?
http://digital.ni.com/public.nsf/allkb/E3BAF6FC4017960B8625755A00525D37
Regards,
Carolina
07-08-2019 08:49 PM
Can someone recommend right terminal block for PCI 6221?