LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating multiple screens

Hi.

 I want to create five different views. Each view consists of some numeric indicators showing values that i get from a database. I want my main screen to be consisting of icons.

  • Can i make five different independent views
  • Can i use icons to switch amongst different views

Thnx

0 Kudos
Message 1 of 10
(4,532 Views)

Let's enhance your question with a question.  Are you wanting to have 5 separate monitors displaying a FP?

0 Kudos
Message 2 of 10
(4,524 Views)

@Raiz wrote:

Hi.

 I want to create five different views. Each view consists of some numeric indicators showing values that i get from a database. I want my main screen to be consisting of icons.

  • Can i make five different independent views
  • Can i use icons to switch amongst different views

Thnx



make use of horizontal and vertical split bar..



Thank you & Best regards
syrpimp

=======================================================
“You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley
0 Kudos
Message 3 of 10
(4,512 Views)

There are a number of ways of doing this:

 

  • You could have a small main screen with the icons on it that when clicked, open other windows. Will work fine, but some users find windows popping open disconcerning.
  • You could also have a larger main screen with icons at the top and a large subpanels in which the other screens appear. Will also work fine.

 

In either case, the code for implementing the interface is not too difficult. For examples/discussion of both techniques, check here.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 10
(4,501 Views)

Hi

Thanx for your prompt reply.

I have to display separate screens on same monitor.

For example in wincc flexible you can make different screens on different layers and navigate amongst them. is it possible in labview? i am not able to figure out the starting point becoz of my limited knowledge og labview?

Thanx

Mahi

0 Kudos
Message 5 of 10
(4,494 Views)

The basic answer to your question is "Yes, it is possible to have multiple panels on a single monitor".  There are multiple ways to do this (splitting the screen, using sub-panels, using a Tab control), but they are not "beginner" tasks.  If you want to do this yourself (as opposed to asking an experienced LabVIEW user to do this for you, and just wanting to know if it is possible or not), then start learning LabVIEW, perferably with someone who has experience and can give you hands-on guidance.  At a minimum, spend the time to view all (or most) of the LabVIEW tutorials on the Web, and be prepared to put a decent amount of time into gaining the expertise you will need.

 

Bob Schor

0 Kudos
Message 6 of 10
(4,485 Views)

I am of the mind that what you want to use is tabs.  Pretty simple.

0 Kudos
Message 7 of 10
(4,477 Views)

Using a tab structure with each tab representing each of your views might work.   Using a case structure.  Feed the output of tab control to the case structure.  Whenever you are on the tab corresponding to a given display put the code for that display inside the case structure.  

0 Kudos
Message 8 of 10
(4,470 Views)
The problem with tabs is that if there are many controls and indicators, it cleans up your front panel but your block diagram becomes a mess! Tabs look easy in demos where there is only one or two things on each tab, but they do not scale well and can produce problems of their own.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 9 of 10
(4,460 Views)

One way I've prevented "Block Diagram Mess" when dealing with Tabs is to put the Tab Control in an Event Structure and have a Queued Message Handler "waiting in the wings".  When you click on a Tab, the Event Loop responds by sending a Message whose name is the name of the Tab.  All that Message has to do is focus on doing whatever the Tab needs to have done (which is often "not much", as it is sometimes just a repository for some controls and indicators).

 

Bob Schor

0 Kudos
Message 10 of 10
(4,426 Views)