eromero,
I sounds like there's either an error in the configuration for SampleCounter, or that the IviStepTypes only support the DMM, Scope, Switch, FGen, and DCPwr class drivers.
If you could send/post your ivi.ini file and your driver, I'd be happy to check it out and see if there's a configuration issue. If you don't want to post it to DevZone, you can e-mail it directly to
instrument.driver@ni.com.
As for why the init and close functions work, but not the others, I will investigate further.
One option to get your application to work is to not use the IviStepTypes. You can still use the driver using C function calls directly through the DLL. This will still work, but may not give you all of the features
of the step types.
Thanks,
Bankim Tejani
Instrument Drivers/IVI
National Instruments