From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

VC++ 6 exapmle code for USB 6501

Hello,

Does anyone know where I can get an example code in VC++ 6 for a simple read and write to USB 6501?

Thanks Amir

0 Kudos
Message 1 of 3
(2,965 Views)

You should probably post in this forum for VC++

 

http://forums.ni.com/t5/Measurement-Studio-for-VC/bd-p/231

Tim
GHSP
0 Kudos
Message 2 of 3
(2,952 Views)

If you're starting your application from scratch, I would recommend that you use the C API in C++.  For examples using the C API, you can find them linked in the start menu under Programs>>National Instruments>>NI-DAQ>>Text-Based Code Support>>DAQmx ANSI C Examples.

 

If you prefer to still use the C++ DAQmx API, example locations can be found referenced in this KnowledgeBase article: http://digital.ni.com/public.nsf/allkb/5616471F25B43DF48625745F004F276A.

Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 3 of 3
(2,938 Views)