02-01-2017 02:38 PM
I am using LabVIEW 15.01 under Windows 7 64-bit enviroment. The hardware is a USB-6009.
My LabVIEW project is based on the "Continuous Measurement and Logging (NI-DAQmx)" project template. I want to continously log data on multiple AI channels throughout the day while controlling an experiment with various DIO, AO, and serial channels. Things appear to be working well most of the time; however, I frequently run into error -200088 (see attached "error_code.png" for screenshot) when trying to output to the digital lines (either in the manual control tab or the experiment sequencing tab). This typically occurs while the system is acquiring and logging data, and I cannot figure out why this error keeps coming up. I initialize all DAQmx tasks upon running the VI except for the AI task, which is started or stopped using the buttons on the bottom pane of "Main.vi". I have attached the full LabVIEW project.
Does anyone have experience with this error? Am I doing something silly in the way I initialize and run the various DAQmx tasks?
02-01-2017 03:10 PM
Nevermind, got it figured out. This error would only crop up after opening the settings dialog and changing any of the settings. Turns out that the "Update Settings" message in the AO and DO message loops was causing the AO Task and DO Task fields in the Hardware Configuration type defs to be overwritten.