Sensor port problem

428
0
09-22-2016 08:55 AM
ZlatoslavMarchev2
New Contributor

Hello,
I am new in application development and my question is related to the sensor ports. Currently I am using QML code that tries to connect with COM port and receive nmea data from it but I have a problem with this type of connection. The problem is that I cannot access the data that comes into my device. I am using the following code:

SensorPort {
id: portTest
baudRate: 9600
dataFormat: SensorPort.Nmea
portName: "COM2"
flowControl: SensorPort.HardwareControl
}

And then I am using the line: portTest.connect(). In the console it`s written Error 10. Can you tell me what might be the problem.

Best Regards,

Zlatoslav.

Tags (1)
0 Kudos
0 Replies