Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

VB NI6220 Runtime error 10005 Device is invalid

System Windows XP pro / Ni6220 /
Measuring&automation explorer works OK with
PCI-6220:"Dev1" , can do all tests including Counter
VB 6.0 "CWCounter1.Configure" passes without an ERROR.
But VB 6.0 "CWCounter1.Start" reports Error 10005
Device Number in CWCounter1_Properties is set to 1.
Is there any possebility to verify the Device Number ?
Download All
0 Kudos
Message 1 of 2
(6,415 Views)
Your device is workable only with DAQmx the new driver generation from NI. But there is no VB support for the moment. The api you use is for traditional DAQ only and does not work with your device.Try to use the ANSI C support files installed with DAQmx.
Please try the following link to KB:
http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/b22fe2b0f9c8935286256e920073da07?OpenDocument
0 Kudos
Message 2 of 2
(6,415 Views)