10-06-2011 11:04 PM
In my serial communication ,the termination char is not work ,when the serial receive '0',it will stop receive other words,so i set the termination char to '0x30',and enable termination char to TRUE,but when i transmit "14023",the receive is ''14023' too,not "140".if someone know the reason,please tell me ,thank you.
10-07-2011 01:30 AM
Please post your VI or some cutout showing the problem, there's too little information for me (and others) to help.
/Y
10-07-2011 11:00 PM
Hello,xiaojing.If you wanna use customized termination char, you could set it in Property Node of VISA. By default, the Termination char is \n or \r. See the attachment for details.
10-10-2011 09:52 AM
thank you
10-10-2011 10:16 AM
What do you want your termination character to be?
You set it for 0x30. Hex 30 is the ASCII character zero "0". So of course it is going to terminate on the zero if you are sending it the characters "14023".
10-11-2011 02:31 AM
You have wired "Read # characters" on the read Visa, i dont remember if that overrides the termchar property or not, but it might.
/Y
10-11-2011 02:36 AM
it could override the termination chars by Read Proverty Node.
And also termination chars could be set in "VISA Configure Serial Port.vi"
10-11-2011 04:07 AM
thanks,all people,i have resolved this problem.
10-11-2011 12:23 PM
Please mark the solving post as Accepted solution.
/Y