From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How use an NI-6008 card with Builder c++ ?

Hi all,

 

I'm a French Student and i have a project with school :

 

I must control an NI-6008 card with Builder c++, but i never make this. I know just make an interface on builder.

 

My first question is : How install a NI-6008 card on PC ? How control it?

 

Sorry for my bad english, good bye,

 

Martin CORNU.

0 Kudos
Message 1 of 5
(7,868 Views)

Thank's for the link nyc,

 

i have install the driver and i have test the crad with the software "Measurement and Automation" created by National Instruments.

 

But now we need to pilot the card, so we must know how to communicate with the Ni-6008.

 

For exemple we want activate an output with code on builder c++.

 

So i have two important questions :

 

Can you give me an exemple of code to pilot an output?

Is the code necessary to declare or initialize the card NI-6008 with Builder C++ ?

 

Sorry for bad english,  bye bye.

0 Kudos
Message 3 of 5
(7,803 Views)

@Mart_IUT wrote:

Thank's for the link nyc,

 

i have install the driver and i have test the crad with the software "Measurement and Automation" created by National Instruments.

 

But now we need to pilot the card, so we must know how to communicate with the Ni-6008.

 

For exemple we want activate an output with code on builder c++.

 

So i have two important questions :

 

Can you give me an exemple of code to pilot an output?

Is the code necessary to declare or initialize the card NI-6008 with Builder C++ ?

 

Sorry for bad english,  bye bye.


When you install NI-DAQmx, you will need to choose to install support for Visual Studio 6 C++

This will install example programs for you.

I don't use Builder C++.

 

 

0 Kudos
Message 4 of 5
(7,800 Views)

For NI-DAQmx 9.9 (not the latest version), choose Custom install.

Click Next button.

Click on the + button next to Application Development Support.

 

You can choose to install examples for ANSI C Support and Measurement Studio for Visual C++ Support.

See if those examples help you.

 

 

0 Kudos
Message 5 of 5
(7,796 Views)