You have to "parse" your file first, so you become two arrays, one with time and second with values.
Then it is easy to pass these data to a Qwt curve object.
no i need my project to work fast whit out any parseing or converting
Originally Posted by Sintegrial
You have to "parse" your file first, so you become two arrays, one with time and second with values.
Then it is easy to pass these data to a Qwt curve object.
no i need my project to work fast whit out any parseing or converting
But you have to read the data from the file somehow.
Do it by 4 bytes (quint32 for example), pack them into two arrays and pass to the plot curve.
thanks, but 4 bytes are little. i need put them binary data) from file in "char c[1024]" and then cast each byte (each cell) of "c" to float and then plot all. please help me in this way.
Bookmarks