11-17-2009 02:11 AM
Hi!
I did not need to emphasize the changing on the scrip, becuase the question is greatly obvious so right now I just want find out whether LabVIEW has or not text type command support. If you inform me about it, would be satisfactory.
Greetings.
Özgür
11-17-2009 02:25 AM
what do you mean by text type command support?
If you are talking about command prompt like support then you can find it in the connectivity>>libraries and executables>>system exec.vi
Also, many instruments have their own set of commands through which they work. Are you asking about how to work with those commands in labVIEW?
11-17-2009 03:01 AM
Hi!
Thanks for your reply.I am seeeking this feature in order to eliminate all mistake during the whole program is executing, namely I have five different kinds of motion and all of them have to carry out sequently, however I want to perform this complete motion without changing most of the inputs. For example, I want to have some kinds of essential movement and I want to writedown them on a sheet, afterwards when I need one of them directly I want to invoke this one with all defined inputs. For this instance, firstly I want LabVIEW to write down on a sheet, and secondly it has to read required program from the sheet.I hope you understand what is my purpose. Do you have any idea about how this procedure can be manipulated?
Greetings.
Özgür
11-17-2009 03:06 AM
NO
11-17-2009 03:31 AM
Hi
Lets see if I understand you correctly. Do you want to write your settings to a file and then be able to read them back again at a later date to reuse them?
Best Regards
David
11-17-2009 03:40 AM
Hi! David,
According to your letter you understood what I mean, do you have any great idea to manage this purpose?
Bet regards.
Özgür
11-17-2009 03:52 AM
Hi again
There are many ways of doing this. You can read/write to a text file (you can find many write examples in this thread or in the Example Finder) or a configuration file (There are examples in the Example Finder, just search for "configuration file "). How does the the data you want to write look? Are they seperate controls, clusters, arrays? Please post an example.
Best Regards
David
11-17-2009 04:41 AM
Hi! David,
Thanks for answer and normally there is no pronlem for writing and reading file and as you said, there are many ways to perform it.However, my prbolem is a little bit different.Because, it is easy to indicates data which is read on the front panel, but I would like to translate these data to the next program.If I explain this detailed, just assumed that I have a motion and the outputs data are about the status of X,Y and Z , and after this motion next one needs the same inputs parameters and in this point, I want to use prior outputs data as an inputs data for the new program without writing any parameters next program front panel.Shortly, I do not want to see many front panel for each subVI.
Greetings.
Özgür
11-17-2009 04:44 AM
OK,
so you mean that you want to run a program, obtain the output data from it, save this output somewhere and read this data again which will serve as an input for a new program. Is it?
11-17-2009 04:48 AM
Ok, now you lost me This sounds more like you want to programatically set the input parameters of one subVI to the output parmeters of another subVI. You usually do this with wires in the main VI. But if you use your VIs individually then writing to file would be an answer. Please post some code to make it clear what you are trying to do.
Best Regards
David