04-13-2006 10:44 AM
04-14-2006 11:03 AM
Steve,
When programming in VB, some of the constants are not the same as whats listed
in the C API. The constant you are looking for is called
DAQmx_Val_TimeUnits_Seconds instead of DAQmx_Val_Seconds.
You can find a list of all the DAQmx constants using the object browser in VB
6. Once you have the NI DAQmx C API reference added to your project,
select View >> Object Browser. In the window that appears you will
see a combo box that says All Libraries. Change this value to NI
DAQmxCAPI. In the bottom right section of this window you will see all
the DAQmx constants available to you in VB 6.
Regards,
Jesse O.
Applications Engineering
National Instruments