08-28-2012 06:50 PM
Hi everyone,
I am working on checking the communication status with NI DAQmx or NI6143 in Microsoft Visual Studio 6.0 C++ on Windows XP. The communication status is checked between a DLL and NI DAQmx/NI6143. I am wondering what is the command for communication check for NI DAQmx or NI6143, and whether there is any code available. Any suggestion or advice is greatly appreciated.
Thanks in advance.
Solved! Go to Solution.
08-29-2012 03:50 PM
I want to clarify a couple things with you. I understand you are using the driver DAQmx to communicate with your NI 6143 device. When you say that you want to check the communication status, what exactly are you looking to check? What is your overall application? There are several examples that are available, but it really just depends on what you are trying to accomplish.
Cameron T
08-31-2012 08:22 AM
Cameron,
Thanks for your response and further inquire. The overall objective is that a communication is opened, and then a command to NI6143 or NI DAQmx is sent and a response is received.
09-04-2012 09:13 AM - edited 09-04-2012 09:13 AM
There are many examples available on your computer that install with NI DAQmx. For examples in C/C++ follow the steps listed in this white paper:
http://www.ni.com/white-paper/6999/en
If you are new to data acquisition I would suggest using LabVIEW. LabVIEW also has several examples to get started using a data acquisition device. To find them, open LabVIEW and go to Help>>Find Examples...>>Hardware Input and Output>>DAQmx.
As a clarifying note, NI DAQmx is the driver used to communicate with your device (NI 6143). You do not communicate with NI DAQmx itself, but use it to send commands and receive data from your device.
Cameron T
09-04-2012 10:46 AM
Cameron,
Thanks for your clarification and solution.
Blessing!