06-19-2011
04:23 PM
- last edited on
04-10-2025
09:29 AM
by
Content Cleaner
Hi!
I'm controlling an analog output pin on my National Instruments PCI-6229 card from my C# application via DAQmx.
On application start, I need to determine the current value of this output pin (a value that was set earlier).
I'm developing using Visual Studio 2010 and DAQmx, but without Measurement Studio.
I've found this solution via Google:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kGDISA2&l=en-US
But unfortunately, it is only described for LabView and LabWindows/CVI.
How can I read the actual value of an Analog Output pin in C# using just the DAQmx driver?
Thanks and best regards
Joerg
06-20-2011
07:12 AM
- last edited on
04-10-2025
09:30 AM
by
Content Cleaner
Hi,
This example illustrates how to perform an analog output on multiple channels with in a single task in C# using NI-DAQmx
Continuous Analog Output on Multiple Channels with C#
06-20-2011
07:51 AM
- last edited on
04-10-2025
09:31 AM
by
Content Cleaner
Hi
For more information please go to the NI-DAQ™ Function Reference Manual for PC Compatibles
https://www.ni.com/docs/en-US/bundle/371644a/resource/371644a.pdf
Appendix B >> Valid Internal Analog Input Channels
06-20-2011
07:55 AM
- last edited on
04-10-2025
09:31 AM
by
Content Cleaner
E Series, M Series, and X Series Internal Loopback Test
I hope this will help
Kind regards,
06-26-2011
06:24 AM
- last edited on
04-10-2025
09:32 AM
by
Content Cleaner
Thanks for your help!
I tried to follow the instructions in the linked document "E Series, M Series, and X Series Internal Loopback Test".
Unfortunately, the internal connections don't show up in the channel name combo box in the test panel for analog input.
This is no surprise, since it says at the bottom of the page:
"In order to see this channel you must change the I/O filtering of this control. For instructions on how to do this, see: How Do I Specify the Self-Test Channels in My NI-DAQmx VI? "
But this link again leads me to a page describing things in LabView. I don't have LabView installed. How can I enabled the internal loopback channels in C#?
While reading the analog output via loopback to analog input would work fine for me, I actually don't really need a loopback. All I want to know is to wich value the analog output was set before my own program starts. Sure the interface card "knows" which value is currently put out on the analog output. Is there really no way of having the interface card telling me what's the currently set value on the analog output?
Thanks a lot and best regards,
Joerg
08-10-2011 02:31 PM
Hello.
Anyone...
Does anyone know if it can be done?
Does anyone know how to do it?
@Joerg: did you figure it out?
01-11-2013 03:45 PM
Hi everyone, did you solve this problem? Provided links have no info on this question.