Unsolved Continiously store data from QSerialPort
-
Hello Everyone
I want to record data from a device which is connected to my computer with USB. I can communicate with the device. Now i want to record the data from the device continuously and stored it. So to do this should i have to set the buffer length? If yes then how can i do it. Please help.
Thanks in advancechanged title to something more meaningful ~VRonin
-
QFile* storage=new QFile("storage.dat",serial); storage->open(QFile::WriteOnly); QObject::connect(serial,&QSerialPort::readyRead,[=]()->void{storage->write(serial->readAll());});
-
Hello @VRonin
I couldnt get your answer.
if you refer following topic i want store data continuously. I am using NI device to record data from a sensor. I know how to communicate and read write the NI device using DAQmx libraries.
https://forum.qt.io/topic/78216/how-to-continuously-acquire-signal/3 -
I'll mark this as duplicate and continue on the other one then