05-11-2012 05:59 AM
No that will not save anything the File string will give the text that can be saved to a file. The file writing you need to create.
05-11-2012 06:25 AM
OK.But it seems to be overwriting the details that we have already saved in the same file.Can we append all the details??
05-11-2012 06:55 AM - edited 05-11-2012 06:56 AM
Following changes made to the VI that you have attached.Now the details can be saved in a textfile.And tried to make some errors to view the error code and error number but can't found any.Please reply.
05-11-2012 07:16 AM - edited 05-11-2012 07:18 AM
Hi Danil,
another great thread of yours...
"But it seems to be overwriting the details that we have already saved in the same file.Can we append all the details??"
If you would read the context help you would know why it overwrites your file. It's all in the help: RTFM...
"And tried to make some errors to view the error code and error number but can't found any."
There's a VI called "General Error Handler", that will give you a lot of information... Why don't you use it?
"Please reply."
Why do you always ask for replies? You don't need to!
It's the way how forums like this work: some people ask, others will answer...
05-11-2012 07:20 AM
"another great thread of yours......"
Are you kidding or serius(haha...)
05-11-2012 07:24 AM - edited 05-11-2012 07:24 AM
Hi danil,
I'm serious!
You still didn't learn to ask proper questions! What answer do you expect when asking "Can we append all the details?"
I would answer "YES!" - and that's it
- You don't explain what details do you want.
- You don't read the context help (nor do you look at examples coming with LabVIEW) to learn how to append to a file...
- You still ask people to do your work by asking for ready-to-use VIs...
05-11-2012 07:28 AM
"- You don't explain what details do you want."
That I explained very very clearly in my first post of this thread.
05-11-2012 07:31 AM
05-11-2012 10:54 AM
@danil33 wrote:
Following changes made to the VI that you have attached.Now the details can be saved in a textfile.And tried to make some errors to view the error code and error number but can't found any.Please reply.
That is a very silly statement. On the front panel of the VI, you have a control in which you can enter any error code, etc. that you feel like. It is totally irrelevant whether the code or message is valid since you simply want to test the function of the VI. If you need to create your own error codes, that is a completely different question. As usual, the answer to that is to read the LabVIEW help. There is a large section on custom error codes.
05-11-2012 09:06 PM
I don't want to create our own error codes.I just tried if any error occurs it's error number and error code will be displayed
Thanks