Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Checking the communication status with NI DAQmx or NI6143

Solved!
Go to solution

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.

0 Kudos
Message 1 of 5
(3,913 Views)

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

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,895 Views)

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.

 

 

0 Kudos
Message 3 of 5
(3,886 Views)
Solution
Accepted by CarlSA

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

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,867 Views)

Cameron,

 

Thanks for your clarification and solution.

 

Blessing!

0 Kudos
Message 5 of 5
(3,860 Views)