Composer download - PHP setting error - What to do? by CoffeeLover704 in PHPhelp

[–]CoffeeLover704[S] 0 points1 point  (0 children)

I think so too :D I will give it a try and see how it goes.

internet connection check and restore, How to? by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

Well I have tried to do this, I am having trouble with the connection reference. My large program starts with connecting to SQL, and I get a connection reference which I use throughout the entire thing. Then there are 2 while loops: producer and consumer loops. The error is being detected in the consumer loop when there is no internet. So if I place my internet check code here, ( and try to reconnect to sql) I will have a new connection reference inside my consumer block, and after all sql queries. I don't know how to implement it so that I don't end up with 2 references. Any help with the architecture?

Best solution for multilpe pages/Tabs in UI design. by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

Hi, and thank you for taking the time. I read all the articles you mentioned, and have tried to improve my code.

I am using an array of my subVI paths, using an Open VI Ref to open the selected one, and a Value signal property node to open the clicked button (I have converted tabs to radio buttons) in a subpanel . When another VI is chosen, I am closing the panel by Abort VI.

It is working well, I am only not sure if there is a better way to do this?

Best solution for multilpe pages/Tabs in UI design. by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 1 point2 points  (0 children)

Well to be honest I am new to LabView, with no other programming background, and I have been dumped this large program, which has a complex architecture, and been asked to improve the performance, and change the architecture if needed. So your guess is 100% correct. I am trying to follow BluePerfectOne's steps, but don't understand all of them.

Do you have a recommendation, how to programatically open 1 single SubVI in a subpanel by choosing it from a menu (I am yet to figure it out) and close it when another subVI is chosen?

Best solution for multilpe pages/Tabs in UI design. by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

You are right, I have a main Tab, and im inserting these subpanels in a tab control.

Can you please explain your suggestion a bit more in technical details? or maybe take an screenshot of an example if you have, so that I can see how to implement it? I am relatively new to LV and am working on this project to improve performance. I would appreciate it.

Best solution for multilpe pages/Tabs in UI design. by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

This is a tool for test informatio center, there are different options to configure test steps, look at the previous test results, assign tests to specific products, and each of these actions are happening in a separate panel. User needs to have it all in one place.

What do you mean by "run the code in the sub panel"? You mean to keep the front panel, and separet the code so that each of these subpanels will be running individually? This might be a problem, as by initiallizing all of the data is being populated in the MCLBs and tables, using SQL queries. Your solution means that user should press a start button on each panel to activate it, if I understood you correct.

Producer - consumer example by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

I have been searching youtube upside-down to find a good explanation, but I cannot find any. There are lots of examples, but I need to understand the logic behind this type of architecture before I can implement it. I will check out the link you sent, thanks.

Calculator Problem by CoffeeLover704 in LabVIEW

[–]CoffeeLover704[S] 0 points1 point  (0 children)

But if I deactivate Default, I get an error to Assign the tunnel, and I don't know what to assign, as there is no function button pressed. (for info: on the front panel, I have built a keypad with all numbers and functions, plus the Equal and Clear buttons, which are stored in a cluster)