LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

architecture for my application

Dear all,

In my application, there are 10 different tests out of which the user may choose any to perform it.

each test has a different FP, and has a lot of processing associated with it. The size od whole set of SubVis for a single test would be around 2 MB. Though the Main Vi for every test wud be arnd 200 KBs.

 

I thought of using Subpanel to display the FP of each test. But in the 1st run phase, when i skip from 1 test to another, it takes arnd 500 ms to show the FP of the selected test. Though if the test has already been opened, and now again if i go to that test, it takes only 5-10ms to show the FP.

But the problem arises in the 1st run when it takes 500 ms.

 

Is there a better architecture i can use to run the test selected by the user? or is there a better way of handling Vis using Sub panel?

 

 

 

Thanks,

Ritesh 

0 Kudos
Message 1 of 5
(2,478 Views)

Hi Ritesh,

when do you load your test vi's? You should load them at the beginnig and only show them if needed.

 

Mike

Message Edited by MikeS81 on 07-07-2009 10:18 AM
0 Kudos
Message 2 of 5
(2,474 Views)

when do you load your test vi's? You should load them at the beginnig and only show them if needed.


Sorry, but i didn't get what you meant by "Load them at the begining"
 
i am attaching a picture givng an idea of how the FP of hte main project would look like.
there is a rectangular box for showing the FP of the test selected. and on top of the box are buttons for selecting the test to be performed. 

 

0 Kudos
Message 3 of 5
(2,460 Views)

Hi Ritesh,

i mean you should load the test vi's (the vi's you can call with your buttons) directly after starting the main vi. If the needed test will be selected, then you present the front panel and start the test.

 

Mike

0 Kudos
Message 4 of 5
(2,448 Views)

Ok. I got it. 

By Loading you mean Opening reference to it, right?

 

I jsut chekced that why the VI was taking so much time to open the panel was bcoz the Open VI reference is taking around 500 ms to execute.

 

I am just wondering why it is taking so much time to open the referce of a VI who size is merely 200 KBs?

 

 

Ritesh 

0 Kudos
Message 5 of 5
(2,434 Views)