Lot of changes including a lot of bug fixes.
Please give it a try.
tseyfarth wrote:Mr B,
Does this now have Serial?
TY
Tim
tseyfarth wrote:Thanks Mr B.
I could not find where you set the port number in the code. I do see the baud rate, but nothing else. Can you tell me where you set up the serial port, ie port number, baud rate, bits etc ?
Thank you
Tim
The defaults are set within QextSerial c++ classes. Check out the source codes, couldn't find it in a few minutes. Anyway, you need to set your own settings.
sp.SetBaudRate("Baud4800")
Declare Function "Q7BSerialPort" QString PortName();
Declare Sub "Q7BSerialPort" void SetPortName(const QString & n);
Declare Function "Q7BSerialPort" QString BaudRate();
Declare Sub "Q7BSerialPort" void SetBaudRate(const QString & n);
Declare Function "Q7BSerialPort" QString DataBits();
Declare Sub "Q7BSerialPort" void SetDataBits(const QString & n);
Declare Function "Q7BSerialPort" QString FlowControl();
Declare Sub "Q7BSerialPort" void SetFlowControl(const QString & n);
Declare Function "Q7BSerialPort" QString Parity();
Declare Sub "Q7BSerialPort" void SetParity(const QString & n);
Declare Function "Q7BSerialPort" QString StopBits();
Declare Sub "Q7BSerialPort" void SetStopBits(const QString & n);
sp.SetDataBits("DataBits8")
sp.SetParity("ParityN")
Users browsing this forum: No registered users and 0 guests