LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening and saving orders of files

I have five functions where I open and save data. However it does not do it in the oder I would like. I have attached the program which I am having trouble with. Firstly I would like to open the Jpg picture file with the prompt'Enter Jpg picture', I would then like the program to run and save the outputs from the intensity file after the iterations instead of at the beginning when it is blank. Both write to file works fine. How can I change the order so it there is only one input and the rest are outputs from the program?

To start with you must insert the following:
centre x1 = 218
centre x2 = 368
centre y = 45
radius = 39

please help!
Download All
0 Kudos
Message 1 of 3
(2,345 Views)
Hello Mepgkas,

you have to tell Labview, what to do first...
So in your case use some sequence structures to avoid
the opening of all the file requesters after starting
your program. I have done this with your program - see
the attachment.

Best regards
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,345 Views)
Even better than using sequence structures is to use error in/error out clusters to enforce dataflow. The whole program could also be done as a state machine.
0 Kudos
Message 3 of 3
(2,345 Views)