05-31-2007 11:38 PM
06-01-2007 09:43 AM - edited 06-01-2007 09:43 AM
Hi Keith,
Those ActiveX controls that you drop onto your form (CWAI, CWDI, CWDO, etc) are
based on Traditional DAQ and not DAQmx. The USB 6008 devices only support DAQmx
and thus they will not work with Traditional DAQ --- thus means that you won't
be able to use those ActiveX controls. Instead, you need to be using the type
library associated with the DAQmx driver.
Check out the NI-DAQmx
Support in Visual Basic 6.0 and NI-DAQmx
Examples for Visual Basic 6.0 KnoweldgeBases for more information.
Also, if you are just starting out creating a new
application, I might suggest seeing if it’s possible to move toward VB.NET.
This is the direction that Microsoft is heading so if you can, you might want
to try and migrate over. My only guess as to why you are starting out with VB 6
is that you have been using VB 6 for a while.
Best Regards,
Message Edited by Jonathan N on 06-01-2007 09:43 AM