04-13-2007 08:49 AM
04-30-2007 02:48 PM
07-05-2007 06:15 AM
07-05-2007
06:34 AM
- last edited on
01-11-2011
08:56 AM
by
Laura F.
Roland,
My previous reply wasn't correct. When an error occurs it does close the object handle. So that isn't a problem but this is the error message I get after I use the abort execution button and then try and use a different mac id:
"Error -1074388986 occurred at Open DeviceNet Interface.vi
Possible reason(s):
NI-CAN: (Hex 0xBFF62006) The object is already open in another application. Solutions: Ensure that only one application at a time uses an object , and that you close all objects prior to exiting your application (don't use LabVIEW toolbar's Abort button)."
Since right it the error message it says don't use the toolbars abort button I will avoid it as much as I can. But if I should have to use it because of inadiqute programing, i.e. infinite loop, or if someone using the program does, is there any other way to reset the board?
Thanks,
Randy D.
Miller Electric Intern
07-09-2007 09:36 AM
07-09-2007 09:55 AM
05-18-2009 03:12 PM
I am having a similar problem. I can reset the card with Measurement and Instrumentation Explorer. Is there any way to reset it from Labview?
Thanks,
Joe
05-19-2009 01:30 PM
Hey Joe,
If there isn't a way to reset your device through the driver for that device, you won't be able to programmatically reset it. For example, there is a DAQmx Reset Device VI that performs this function, which is included in the DAQmx driver. I don't believe the NI-DNET driver includes a function that does this.
05-19-2009 02:21 PM
Thanks, but it is bad news. This means I have to open another application to reset the card if I make an OOPs in data entry, like type in the wrong mac-id or try and run the program before the devices reboot. What a bummer.