LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a Text File to store data

Hi:
I'm looking to get values from numeric boxes using GetCtrlVal() and then store those values in a created file. 
I know I need to use:
FILE *variable, sprintf(), and fopen() but I'm not quite sure how it is all integrated.
Any help is appreciated...thank you.
0 Kudos
Message 1 of 2
(3,087 Views)
An alternative approach to fopen and so is the use of Formatting and I/O library functions. You can look at samples\app\atedemo.prj example that uses OpenFile and WriteFile functions to store test results collected from an automated test equipment software.
The online help for file I/O functions is quite explicative and should be enough for you to understand function usage in the sample project and so starting your coding.


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,083 Views)