Check that MAX is not configured to use the DAQmx driver instead of the
DAQmx Base driver. You can do this by opening max, Tools >
NI-DAQmx Confgiuration > NI-DAQmx USB Driver Selection. If it says
that it is using NI-DAQmx and your program is written for mx BASE, you
will need to switch the drviers using the switch button.
Also, make sure that your program and the logger are looking for the
device name that you have programed into the program, ie, under MAX it
lists the device as Dev1 and your program is looking for Dev1.
Kenny
Kenny