07-21-2005 04:04 PM
Hi,
My problem involves the analog outputs of two 6024E DAQ cards in one machine. I created a VI
which calculates a voltage based on some given properties and outputs a voltage
value to each of 4 analog outputs (2 on each card). The voltage is updated
every 2 seconds. Sporadically, I get a error (crash) which reads (see attached
.doc file) "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." There is indeed some kind of
corruption because after clicking the O.K. button I must restart Labview
because it locks up.
I have attached the code. I am wondering if there is a more efficient way to
update each analog output channel. Or at least a way that doesn't give me such
an error.
dewey
07-22-2005 03:29 PM
Dear Dewey,
I can't tell what Interval Timer.vi does because its not attached, but if you can bring the create and clear task out of the while loop it would take up less memory. As I mentioned, all of the VIs aren't attached. Do you use the Call Library Node in any of them? Have you tried to copy and paste the program to a new VI? Does a simple restart fix the issue? Have a great day!
Sincerely,
Marni S.
07-25-2005 11:13 AM