You don't say if you are using DAQmx but, after the first call to DAQmcCreateTask(...), if you don't call DAQmxClearTask(...) before a new call to DAQmcCreateTask(...) with the same taskHandle, you'll get this error, presumably because the task already exists. I've tested this in Windows XP but not Windows 2000. A somewhat similar error can occur with pointers to graphic objects in XP needing to be re-initialized to 0 that isn't isn't a problem in 2000.
Message Edited by duncan carter on 03-31-2005 04:27 PM
Message Edited by duncan carter on 03-31-2005 04:28 PM