Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem getting started with DAQmx and VB6

Hello all,

 

I am new to NI and am having trouble getting started with an ENET-9213 and Measurement Studio.  I can add my device to the Measurement explorer and run the test panel on it, but cannot figure out how to read from it in VB6.  There is an example VB project called 'data logging' that when I try to load it I get an error about a component that couldn't be loaded called 'CWDAQ.OCX'.  Is this necessary to read from the device and why didn't it get installed?  Thanks for any help.

 

Scott Martinez

 

0 Kudos
Message 1 of 5
(6,900 Views)

Hi Scott,

 

Please see this discussion for more information about what CWDAQ.OCX is.  It looks like the example you are using may be an example that uses traditional DAQ drivers, as opposed to our currently supported DAQmx drivers.

 

Also, I'd recommend looking for DAQmx driver examples by referring to this knowledgebase.

 

-Andrew

Applications Engineer

National Instruments

National Instruments
0 Kudos
Message 2 of 5
(6,889 Views)

Andrew,

 

Thanks for the clarification, but does the DAQmx drivers support VB6?  The links you supplied seem to indicate that VB.NET is supported, but makes no mention of VB6.  If the driver I need for my device is not supported in VB6 then what do I need to make this work?

 

Thanks,

Scott

 

0 Kudos
Message 3 of 5
(6,880 Views)

Scott,

 

For this, please refer to the following KnowledgeBase Article:

 

http://digital.ni.com/public.nsf/allkb/B22FE2B0F9C8935286256E920073DA07?OpenDocument

 

What this KB explains is that DAQmx 7.5 through 9.0.2 do support VB 6.0, and it gives more info on how to find the examples.

 

Regards,

Andrew

Applications Engineer

National Instruments

National Instruments
0 Kudos
Message 4 of 5
(6,878 Views)

Andrew,

 

Thanks for the info!  This looks like what I need, I'll try some samples and see if this will get me going.

 

Thanks,

Scott

 

0 Kudos
Message 5 of 5
(6,876 Views)