croppy Member C Join Date Nov 2023 Location Auckland Posts 1 Nov 28, 2023 #1 Hi I need to send a null command down a comms port. But in the crimson software when i used /x00 it coming back "Cannot use null character is string" PortPrint(2,"\x00\x00") Is there a way to do this.
Hi I need to send a null command down a comms port. But in the crimson software when i used /x00 it coming back "Cannot use null character is string" PortPrint(2,"\x00\x00") Is there a way to do this.
goghie Lifetime Supporting Member G Join Date Jan 2008 Location Belgrade Posts 800 Nov 29, 2023 #2 Never used Crimson, but I do know that string are terminated with \x00, so I think you should try to send it binary or maybe even just empty string.
Never used Crimson, but I do know that string are terminated with \x00, so I think you should try to send it binary or maybe even just empty string.
chelton Member C Join Date Jan 2012 Location melbourne Posts 325 Nov 29, 2023 #3 PortPrint(2,0x00) should send the null character.