Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read set voltage on an analog output channel

Is there any possibility to read a set voltage ( voltage sample output) on a given analog output channel? As, I dont find any library functions to read a voltage, which was already set on particular output channel. I use Labwindows for programming the application and I have DAQ M 6251 card. Also I need a help if any one know which library function I can use to set/ read a single channel on a multichannel DAQ card?
 
Regards
Sreekantha
0 Kudos
Message 1 of 3
(2,902 Views)
Hello Sreekantha,

If I understand what you are trying to do,  you want to read what voltage you have on an analog output.  You can do this relatively easily by using the  internal channels available on your M Series card.  To access these lines, all you need to do is specify the correct physical channel name in your DAQmxCreateAIVoltageChan function.  These channel names are listed in the DAQmx Help under NI-DAQmx Help»NI-DAQmx Device Considerations»Physical Channels»Internal Channels.

Be sure to include the device identifier with these, so your string would look something like "Dev1/_ao0_vs_aognd".  This acts as a regular analog input would, so you need to setup and run the task as you usually would for analog input.

Please post if you have any questions.
Neal M.
Applications Engineering       National Instruments        www.ni.com/support
0 Kudos
Message 2 of 3
(2,876 Views)

Hello Neal,

Thanks a lot for the information.

Can you also give me the steps to configure and read these internal channels for reading? If this information is available somewhere please let me know the location.

Regards

Sreekantha s

0 Kudos
Message 3 of 3
(2,869 Views)