Mark,
Greetings! This error generally means that the task name that you are trying to use is not properly defined. Ensure that you have the task defined properly by using the DAQmx Base Task Configuration Utility.
Did this program work before you installed PDA for LabVIEW 7.1?
Regards,
AnujD.