11-29-2010 09:00 AM
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
11-30-2010 10:37 AM
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
11-30-2010 12:06 PM
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
11-30-2010 12:36 PM
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
11-30-2010 12:49 PM
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