ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
02-13-2007 02:24 PM
02-13-2007 04:50 PM
02-14-2007 01:26 AM
02-14-2007 03:37 AM
thank you for your help people
i dont know why you cant open the vi i attached, i am using labview 8 eval version at the moment and was working ok
thanks a lot for the tip about termination character, its not clearly stated in help
regarding port hogging: i explicitly use VISA Close in my program with right visa session refnum passed and it does not return any errors so i would expect it to actually close the session and free the port
cheers
02-14-2007 12:03 PM
@Dennis Knutson wrote:
I can't open your VI but my guess is that for the VISA Configure Serial Port, you left the Enable Termination Charact input unwired. With it unwired, it defaults to True and with it true, a VISA Read will terminate as soon as the termination character is detected - no matter what you specify for bytes to read. The default termination character is \n or a LF. That is why you cannot get multi-line messages.
Could this also hinder the read of multiple single line files causing a timeout error...
When the read VI first reads the incoming data it reports the error.
02-15-2007 05:09 AM
02-15-2007 05:32 AM
02-15-2007 06:11 AM
02-19-2007 08:41 AM
02-19-2007 01:03 PM