Error when using data acquisition file for Igor

Hello,

I recently had to change a computer on one of my electrophysiology rigs. I installed Igor and all the necessary drivers for data acquisition. However, when I run my program file, it doesn't let me record and gives me the following error:

Macro Execute Error
expected wave name, variable name, or operation
Error in 1Chn_500ms_Isch.ipf:Aquire_Data
DAQmx_Scan//DEV="dev1" /TRIG={"/dev1/pfi0"} WAVES="Wave0, 0;"

and "DAQmx_Scan" is highlighted.

The file works well on my other rig and used to work on my old computer.

How can I fix this?

Thanks.