Hello;
You didn't include on your posting what OS you are using there.
One thing to consider is that DAQ Event, and DAQ Occurrences are only supported under Windows platforms; so, if you are using other OS than Windows, that might be the cause of the error.
Regards
Filipe A.
Applications Engineer
National Instruments