Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio VB6 example

Hi,
A while ago I found a very thorough sample (possibly on the web, in the docs or in some help file, cant recall) in which the CWAI is used and detailed instructions wre given about placing it on the form, ctreating a channel and so forth. It also had a programmatic interface where the user could create a task on the fly. I cannot locate this sample code. ALso showed how to add more than one channel in code.
 
Please help me locate this sample code.
Thanks,
saroj bono
 
I have NIDQMx 8.0 on my pc, ad measuremenyt studio professional 6.0
0 Kudos
Message 1 of 2
(6,326 Views)
Hello Saroj,
 
It sounds like you are going to use the NI-DAQmx 8.0 driver, if you are using the NI-DAQmx driver you will not use the CWDAQ functions, instead you install and use the type library that ships with NI-DAQmx 8.0.  This provides an interface to the NI-DAQmx C dll.  Some information about documentation and how to include the DAQmx type library can be found in this KB
 
There are also shipping examples that show how to create tasks, if you used the defaults when loading the NI-DAQmx driver they are located at C:\Program Files\National Instruments\NI-DAQ\Examples\Visual Basic 6.0
 
Let me know if you still need to find the other example. 
Micaela N
National Instruments
0 Kudos
Message 2 of 2
(6,300 Views)