Hi,
I'm relatively new to Labview, and am using 7.1 to create a control system for DC motors. My VI consists of two parts - the logical part, which determines the magnitudes of the external voltages, and the hardware driving part which allows me to use my DAQ's two analog output channels.
The second part consists of essentially the contents of the Gen Analog Voltage Update.vi example - DAQmx Create Channel (AO-Voltage-Basic), DAQmx Write (Analog DBL 1Chan 1Samp) and DAQmx Clear Task VIs.
When I first ran my instrument, it returned an error telling me their was a conflict with parameters - I attributed that to having copy and pasted the AO tasks from the example VI. After rebuilding each task from scratch, the instrument would run, only to crash after a few runs, returning the following error message:
"An exception occurred within the external code called by a Call Library node. This might have corrupted Labview's memory. Save any work to a new location and restart Labview."
I read elsewhere that other users have had similar problems when using more than one output channel simultaneously. If any of you have any ideas, I'd be grateful to hear them. I can post my VI or a screencap if that helps too.