Jump to content


  • Content Count

  • Joined

  • Last visited


Community Reputation


About marius

  • Rank
  1. Hello Khalid and thank you very much for your comments and info. Very appreciated. Marius
  2. Khalid, I thank you for your pertinent remarks and for your time spent for me. I really appreciate it. Even before, starting with LabVIEW I've felt that something is wrong with my approach and mostly that I need to change the way of thinking in this environment. I am an old dog, frozen in text code and dos approach where I worked for years. I don't have enough Windows programming experience. I will try to upgrade my thinking. Can you recommend a good manual for this issue? Thanks, Marius
  3. Download File:post-5076-1165432636.viDownload File:post-5076-1165432666.viDownload File:post-5076-1165432678.viHello all, Finally I got it. Take a look to load-save-array-01.vi: Allows you to specify a path, change values in array, then save the array. Also you can load the array configuration from the file. If you look at its diagram, you wont see any subVI
  4. Hello Omar, Aristos, hello all, Your comments are helpful to me and I think that now I understand more. Probably you need to know that most of my experience is in text code (C, QB), under dos and VB under windows. Now, I need to complete this project in LabVIEW and I have fully read the user manual, but I find it not very hepful. I will attach here the following files, making a very simple example that doesn't work and I don't know why. - save-03A.vi - sub-save-02.vi The first vi calls the second one, as a sub. What save-03A.vi supposes to do (but it doesn't) is to allow to the user to
  5. Hello Khalid, all, Thank you for your quick answer. How I understand the situation until now is: - if you have a sub and you want to pass a parameter to it, you assign a CONTROL of this sub to a collector of the sub and that collector becomes an INPUT. Later on you can connect a CONTROL from the main program to it. - if you want to get a parameter from the sub, you assign an INDICATOR of this sub to a collector of the sub and that collector becomes an OUTPUT. Later on you can connect an INDICATOR from the main program to it. Now, my problem is little different: I want to pass the pointe
  6. Hello Khalid, hello all, save-02A.vi has two tasks: Saves the array under the default name (see the path - here if you want to make it run, you need to write another path, valid in your computer) and Loads the array by calling the same default path. save-02A.vi calls the subprogram sub-save-02.vi. The problems here are: 1.this subprogram, when called, doesn't work. 2. When you try to use it for saving the logic is ok, you send the array in the subprogram. But when you want to load the array, you need to have the array back from the sub, as a returned value, and I don't know how to do it. In o
  7. Hello, I have the following problem in my project: Because of the size of my code and not only, I have to use subs. The attached file save-02A.vi uses the sub sub-save-02.vi. This sub has three inputs: two booleans, LOAD and SAVE and an array of clusters. My problem is with the array of clusters: When I send it in sub to save it is logically ok (however save-02A doesn't work and I don't know where is the error), but when I do a load in sub, how can I get the new array content from the sub? In other words, how can I send the pointer of this array in sub, so that I can use the same memory spa
  8. thanks again for the help, it is very appreciated. now, in the attached, i created a routine (has a sub, that is why there are two files) which creates a second file when a first is created. my big trouble is that i cannot read properly these two files. i want to do it in the same way i write them, and i got an error while reading. i don't know how to deal with this error, i have tried and i have tried. need a little help, please. thanks, marius Download File:post-5076-1151981102.vi Download File:post-5076-1151981131.vi
  9. Download File:post-5076-1151934065.vi Thank you for answering so quickly. Because I am not an advanced LabView programmer, I tried this code, attached, very simple and I still have err 1 when I run it. I don't understand. Can somebody help me? thank you very much, Marius
  10. Download File:post-5076-1151864452.viHello, I need to save/write two files with only one file dialog and I cannot do it. The exercice is to give a file name, save it as *.PRD file, then right after save another file *.PRS with the same name. The same thing for load. Another thing that I don't know: How to save a file without a dialog, when the file name is pre-defined. Need a little help, because I am jamed and I need to go on. See the attached file in LabVIEW 7.1. (don't have 8). Thank you very much, Marius
  11. Download File:post-5076-1148182891.vi I just got back to this forum because it happened to find a solution. Probably is not the only one. I've found your recommendation and I thank you very much. I am planning to pay attention to this aspect in the future. I attach this solution it here. I have tested with several save and load and it seems reliable. Do you find it reliable and robust? any weakness? The attached file is just a trial for a bigger subprogram that I need to write with an array of 10 rows, each row being a similar cluster of 23 various variables with variable content from ro
  12. Download File:post-5076-1148162188.vi Hello, I have created this VI in LabVIEW 7.1 and I cannot read the array written on file. can anyone help me please? thanks, Marius
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.