LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save xy-data to text file

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 

0 Kudos
Message 21 of 35
(2,220 Views)

 


LabVIEW has or not text type command support.

 


 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?

Somil Gautam
Think Weird
0 Kudos
Message 22 of 35
(2,215 Views)

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 

0 Kudos
Message 23 of 35
(2,203 Views)

 


.I hope you understand what is my purpose

NO

Somil Gautam
Think Weird
0 Kudos
Message 24 of 35
(2,201 Views)

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

0 Kudos
Message 25 of 35
(2,197 Views)

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 

0 Kudos
Message 26 of 35
(2,193 Views)

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

0 Kudos
Message 27 of 35
(2,189 Views)

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 

0 Kudos
Message 28 of 35
(2,172 Views)

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?

Somil Gautam
Think Weird
0 Kudos
Message 29 of 35
(2,169 Views)

Ok, now you lost me Smiley Sad 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

0 Kudos
Message 30 of 35
(2,167 Views)