Hi everyone,
I'm a last year student at the university in Ghent, and for my thesis i need to write a TwinCAT program that writes data to a .daq file. That's a binary file where i can reserve bytes ( 512 to be exact) in the header of the file ( these are INT, REAL and CHAR), fill some in the beginning, and fill some after all the data is stored ( like a max, min, mean, number of points...).
I already have written a program that stores all the data in a .csv file, but I'm having difficulties putting it in a binary file and reserving these bytes.
If anyone may know some functions or something else that could help me, please let me know .
Thanks in advance!
I'm a last year student at the university in Ghent, and for my thesis i need to write a TwinCAT program that writes data to a .daq file. That's a binary file where i can reserve bytes ( 512 to be exact) in the header of the file ( these are INT, REAL and CHAR), fill some in the beginning, and fill some after all the data is stored ( like a max, min, mean, number of points...).
I already have written a program that stores all the data in a .csv file, but I'm having difficulties putting it in a binary file and reserving these bytes.
If anyone may know some functions or something else that could help me, please let me know .
Thanks in advance!