01-29-2008 04:35 AM
01-29-2008 04:59 AM
I m a bit confused in that you want to write to a .txt file or .pdf file?
If it is the former, then you can use the Write Text File function from the File I/O pallette.
What version of LV do you use?
01-29-2008 05:00 AM
01-29-2008
05:01 AM
- last edited on
05-09-2025
10:39 AM
by
Content Cleaner
I recommand you to use a configuration file (*.ini with sections and keys) because this would greatly simplify the task !
See the functions palette >> File I/O >> Configuration File VIs and this extract from the LabVIEW help.
01-29-2008 07:31 AM
Hi
thanks for your answers.
I'm using LV 8.2 and my file should be saved in txt.
Initially the file doesn't exist. So, the user choose the parameters and their values from the Front Panel
and then hit a button to create that file. The user should be able to reload (Front Panel button) the created file, modify it or not and then resave it.
Before hitting the "create file" button the user define (on the Front Panel) the number of sections ("Begin Line.....End Line") to be created.
I joined a VI here just to explain the idea. May be that can help you to help me.
I appreciate yoyur help!
Kabanga
01-29-2008 07:39 AM
It could really do the job, but there is a problem:
Is it possible to remove the " [ ] " and the " = " and replace it with colon : ?
Best regards
Kabanga
01-29-2008 07:44 AM
01-29-2008 07:53 AM
01-29-2008 07:54 AM
All section sections have different initialization values (but some sections may have the same values. Remember, we have 128 sections)
There is no need to change the number of sections once the file is create.
"Data Replace" is just a parameter within a section and its values is "1" or "0".
01-29-2008 08:07 AM