LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I save the buffer data to the specilized file?

Help!
A portion of codes as follows:
double *pData;
double *pDataBuffer;
UINT length=1024;
pDataBuffer=GlobalAlloc(GHND,length);
........
pData=pDataBuffer;
........
When I have acquired amount of data,which have been saved to buffer whose pointer is pDataBuffer,but I can't save the data to the file,why?
How do I save the buffer data to the specilized file?
Can you give me special material or code?
Thank you!
0 Kudos
Message 1 of 2
(3,084 Views)
Normally the fastest way to produce a file out of your data is the use of ArrayToFile function. You can document on the function in the online help which is fully detailed.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,073 Views)