02-28-2002 08:35 AM
02-28-2002 09:42 AM
03-04-2002 04:30 PM
03-06-2002 08:32 AM
03-06-2002 07:36 PM
03-08-2002 12:01 PM
03-08-2002 01:49 PM
03-08-2002 03:27 PM
03-17-2005 11:04 AM
@Dan Mondrik wrote:
BCU:
The error means that somehow the session refnum is not open. This means 1 of 2 things:
1) Something closed the session without your knowledge. This is unlikely but not impossible if you don't know what each VI is doing. Perhaps you could watch the calls in NI Spy (if you are on Windows) to see when the session gets closed.
2) Are you opening and closing the session on each loop? If so, possibly there is an error when you try to re-open it on a given loop. If you want to avoid the extra open/close, LabVIEW can manage the session for you - just use the refnum and don't close it explicitly. LabVIEW will hold the session open and reuse it until you close LabVIEW. This is not the best programming technique but it may help to workaround your pr
oblem.
Hope this helps,
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
03-18-2005 09:31 AM - edited 03-18-2005 09:31 AM
Message Edited by LoganS on 03-18-2005 09:31 AM