captain_is
Member
Does anyone know how to use the MSComm control with citect to send values over the serial port?
I did something like this in Cicode:
FUNCTION
test()
_OBJECTSetProperty(ObjectByName("AN37"),"PortOpen", 1);
_OBJECTSetProperty(ObjectByName("AN37"),"Output", 0x52);
END
And i associated this function with a buton, but i see nothing happens.. i don't use ComWrite function because i need to send hex values not ascii..
Any ideea for my problem..
Thanks in advance!
I did something like this in Cicode:
FUNCTION
test()
_OBJECTSetProperty(ObjectByName("AN37"),"PortOpen", 1);
_OBJECTSetProperty(ObjectByName("AN37"),"Output", 0x52);
END
And i associated this function with a buton, but i see nothing happens.. i don't use ComWrite function because i need to send hex values not ascii..
Any ideea for my problem..
Thanks in advance!