tab control inside another tab control
Is it possible to put a tab control inside another tab control. I tried
it several times, but for some reason this doesn't seem to work.
Can someone confirm this, or tell me what the trick is.
The only way I know to do this is to put a subform on the first tab control.
Then you can put your second tab control on the subform.
If you do this repeatedly, however, you will find the form loading rather
"Georges Heinesch" <email@example.com> wrote in message
> Is it possible to...Control/Indicator descriptions are not imported or checked from LabVIEW to NI RG when they are placed on Tab controls
I am currently testing Requirements Gateway. As it seems it does not find any controls placed on a tab control to see if it is covered or not.
Is there any reason not searching for controls placed on tab controls?
We have VIs iterating over complex Front Panel structures to find all controls. Maybe we can add this functionality to NI RG LabVIEW interface.
Is there anyone can help in this?
...Tab control in one of the tabs of another tab control
One of my colleagues is working with a tab control. He has several tabs. He is trying to embed another tab control inside one of the tabs of the first tab control. He had placed the second tab control inside one of the tabs of the first tab control. But the problem is that the second tab control does not show up (unless one goes to the block diagram and double clicks the second tab control, only then does it shows up; when the vi is closed and reopened its again not there). I told him that I had never seen such functionality (a tab control inside another tab control) in any application but is it somehow possible. All this is required while the VI is not running and is being developed (of course it should work at run time, but this functionality must show while the VI is not running, i.e., this functionality should be non-programmatic. Is it possible. Thanks for your time.
Hi rashid, yes it is possible. See the attached example. I see no problems with it.Hope it helps.Mike
Thanks <a href="../view_profile?user.id=88992" class="auth_text" style="font-weight: bold;" target="_blank"> MikeS81</a>! Yes you are absolutely right. Your VI is working perfectly. I wonder what has my friend done to get such behaviour as he is getting. Strange! Thanks for the help!Have a very nice day!
Hi rashid, can you upload your vi, maybe someone found the proble...OO control of sub class front panel controls
I'm just working on an application that consists of a top level class that spawns 2 Daemons that inherit from the top level class.
My problem is that I want to kill the daemons from the top level, and previously I've done this (not using LVOOP) by having a stop button on the front panels of the daemons and dynamically setting these to '1' using invoke nodes, however in my current app this isn't working - the child isn't lettting the parent press its buttons and all I kind think of is that is the contraints of LVOOP that are causing this.
A...Tab control within another tab control
I am creating a form with a tab control containing 10 tabs. and what I
want to do is on only on of the tabs, I want a sub section of tabs.
So what it ends up being is one main tab control with another tab
control embedded into only one of the tab pages. The problem I am
getting is when I insert the sub section tab control into one of the
tabs from the main tab control, the sub section tab control appears in
every tab in the main tab control. Can anyone help? What do I need
to do so it only appears in one tab, not all.
As you found, you cannot place a tab control on one of the pages...how to replace a control or indicator on front panel programatically?
how to replace a control or indicator on front panel programatically? is it possible?
can you describe a bit more about what you need? Search the forum for "scripting", but it�s not supported from NI. If you explain what you need, we can find a solution for you!
Possible? <a href="http://forums.lavag.org/LabVIEW-VI-Scripting-f29.html" target="_blank">Yes!</a>
Please tell us more about what you are trying to do and we can offer ideas that may help. The options range from trivial to "you must be crazy!"
Hi, Thanks a lot...i have searched for 'scripting' in forums, now i have an idea where to start with.
...Syntax of control on tab controls
I have a form "frmturnover" on which there is asubform "subfrmturnover"
which has three tabcontrols say Page1, Page2 and Page3. There is control
"control2" on Page2 that when its is entered I want to check if it is the
same value as a control "control1" on Page1 and then show a pop up box if
they don't match. I can work out the code for the message box but I'm
getting a little lost on the syntax for referring to the controls on the
pages of the tab control.
I also want to check the value of Control2 on page2 with the vale of
control3 on a page1 o...Refs to controls on tab control
I'm really stumped. I have been able to get all of my references to all my controls with property nodes - even controls inside clusters for all of the controls on a vi front panel. However, when I move these very same controls onto a tab control I can't seem to figure out how to get these same references! I can only get the tab control ref. :smileyindifferent:
BenMessage Edited by Ben on 04-20-2007 05:01 PM
Cotrols on pages.JPG:
http://forums.ni.com/attachments/ni/170/243049/1/Cotrols on pages.JPG
...How do I access front panel controls and indicators from sub VI's ?
Hi,<br><br>I want to be able to access the front panel controls and indicat=
ors of my main VI from sub VI's that are called from the main.<br><br>For e=
xamples sake I might want to call a sub vi that will initialise the values =
of all the controls and indicators on the main front panel.<br><br>Or when =
a button is pressed it goes into another sub.vi that requires all the setti=
ngs of the controls on the main front panel to do something with. Ok, so th=
ey could be wired as parameters which is fine if there's one or two but wha=
t if there's ...[Labview 8.2] set date/time front panel control?
I have been tossed into labview programming at my new job so please bear with me. I need to make a scheduler to start a sequence of events at a set date and time. I think I have a way to start it all using the ElapsedTime sub-VI, however I can't find an easy way to get the 'set start time (s)' value. Is there a front panel object that will take a user input for a date and time and convert it to seconds? All that I could find was the month calender object. My only other idea is to use a string input and parse it to a timestamp and then convert that to seconds. The problem I see with that is that one missed character in the string could give an inaccurate time.Or am I going about this all wrong?ThanksAndyP.S. first post, sorry if it isn't up to par.
If you have a timestamp control, you can click its browse button to select a specific date and time. You can then convert it to a DBL using the To DBL primitive (found in the Programming>>Numeric>>Conversion palette).
I didn't look at it carefully, but there are some other issues with your code, the one which stands out most being the ubiquitous use of the Value (Signaling) property. For most controls, there is usually no need to set their value anywhere else other than in the terminal, and in any case, a local variable is usually...Can a Combo Box control a Tab Control, like an Enumerated Ring control can
Is there any way to have a Combo Box control a Tab Control. An Enumerated Ring control can if all the names match "Exactly", question is can a Combo Box do the same, especially within an Event Structure?
I haven't been able to figure it out. Enclosed is a test VI that has an enumerated ring example, and a combo box with the same data. Thanks for your help...
Test Tab Control .vi:
http://forums.ni.com/attachments/ni/170/215375/1/Test Tab Control .vi
A tab control can be treated like an enum, so your question comes down to: "Can I map a ...Getting XP look with tabbed dialog control and tab strip control
I know how to use a manifest file to get the XP look for the Windows Common
Controls 6 group of controls but I also have both the tabbed dialog and tab
strip controls in my app and I want those to take on the XP look as well.
Does anyone know how?
Also, while I am able to get the XP look through a manifest file in my app's
folder I should be able to do this without the file having to be in the
app's folder. I've read it has to do with compiling with a resource file
but I don't know how to do that. Can anyone offer any assistance?
...how display a subvi's front panel in a main vi's tab control?
i would like to have the subvi's front panel as a tab on my main vi... is it possible?
Yes you can
Use Sub panel Control
Read this <a href="http://digital.ni.com/public.nsf/allkb/D587067E18E0E70186256D44007B91FE" target="_blank">Link</a>
Also in LabVIEW>> Find Examples>>Building User Interfaces>>General>> find the frollowing sample vi's
- Simple Subpanel.vi
- Subpanel Templates.vi
- Subpanel Viewer.vi
You can have your Sub VI's FP on the Tab Control of the Main VI.
All you ve to do is place a Sub Panel on each Tab page wherein you wish to call different Sub VIs.
See the attached VI in LV 7.1 for more details & modify it as per your requirement.
Display SubVI in Main VI's Tab Control.vi:
http://forums.ni.com/attachments/ni/170/250109/1/Display SubVI in Main VI's Tab Control.vi
ok thank you.
Is it a good way to run a sub vi and display its front panel in the same time (two loops independant)? Because an error message occurs saying: "labview: memory is full"
Do you know if it is due to my computeur or Labview?
Do you keep growing any array uncontrolled inside your code ?
If you post your code or screenshot, it ll shed some light for us to fix it up.
i'm sorry it was a mistake!!!
it finally works....Tab Control and Rectangle Hiding Controls
I'm trying to change the back colour of a tab control in Access 2010 by
using a rectangle.
I've selected the tab control (not an individual page) and pasted the
rectagle (solid with required colour).
I then send the rectangle to the back and then the tab control to the back.
The problem is that most (but not all controls remain hidden) on each tab.
Subform and list boxes are visible, but labels and text boxes aren't.
I've done this before in another application, but can't remember how I did
On Thursday, June 20, 2013 1:57:59 AM UTC-5, Bob Darlington wrote:
> I'm trying to change the back colour of a tab control in Access 2010 by
> using a rectangle.
> I've selected the tab control (not an individual page) and pasted the
> rectagle (solid with required colour).
> I then send the rectangle to the back and then the tab control to the back.
> The problem is that most (but not all controls remain hidden) on each tab.
> Subform and list boxes are visible, but labels and text boxes aren't.
> I've done this before in another application, but can't remember how I did
> Any ideas?
> Bob Darlington
Not sure I understand your issue. Anyway, check in properties and set the background to transparent.
...How to easily control multiple controls in labview
How can I easily control multiple controls with a single write to in Labview? For instance, I need to update 50 different boolean indicators. When I update them one at a time I use a cntrl refrence in my event structure, but outside of an event structure how can I easily cycle through them and update without making 50 local variables if I need to do them all at once?
Why don't you use an array of boolean indicators?
Have a look at the example attached <a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=204328#M204328" target="_blank">here</a>, which can also be applied to this. You should usually avoid updating the value of a control from more than one place, though (unless it's something like initialization, where you can guarantee not having race conditions).
Other alternatives: using an array of booleans or using the picture control to create the image.
The way i use these booleans in my UI, I had to make them separate so I could arrange them in a user friendly way. And yes this is just for initialization so they won't be getting updated in two places at once.
...How can I set the tab order of text box controls on each page of a tab control?
I need to be able to select the tabbing order of individual controls
on a single page of a tabbed control. How??
In LV 6.1 an up you should be ablel to right click on the edge of the
tab control when the tab-page in question is selected.
The bttom selcetion in the pop-up is "Reoder controls in page..."
selecting this option will switch editing modes to allow you to
specify the ored, just like in a cluster.
I seem to remeber in older versions you had to drag the tabable
controls off the tab control, specify the tabbing oder and then drag
them back on. The oldest version I have on ...do fpga front panel control/indicator read/write need to be sync'd with host VI
If I am writing to a front panel control or reading from a front panel indicator of an FPGA VI from a host VI using the reference node, do I need to synchronize the writes/reads such that I am not writing to the control while the FPGA is reading from it or reading from the indicator while the FPGA VI is writing to it? Unless this is handled 'behind the scenes' by LabVIEW it would seem that I would have to, however I didn't see any documentation about this and it seems that a lot of the examples I have seen do not show any type of synchronization, the controls are just written to by the host and read by the target
On their own, the VIs on the host and the FPGA VI run asynchronously. You do not explicitly have to synchronize for the purposes of "avoiding a collision". You will read the most recently acquired input value, and output values from the control algorithm will be updated on the I/O cycle.
If your acquisition loop on your host is running faster than your control loop on your FPGA, synchronization will most likely not be needed. However, there are two reasons why you would need synchronization:
- If the timing of the FPGA VI is needed to control the timing of the application running on the host, or vice-versa.
- To acquire data at a known rate and transfer all data without loss to the host application for processing or d...Can classes "make" controls and indicators "appear" on the front panel.
This is what I was hoping to do. I would define a parent class called signal that was really just an interface class. All of the child classes, analog in, analog out, digital in, etc. would have to override the VI?s in the signal class. So, the first thing that the program would do is to read a text file line by line, and on each line there would be a tag telling the program which type of signal to create. Next the newly created signal would be casted up to the parent class and put into an array. Once I have my array of signals, on the front panel I would have an array of text boxes. The text boxes would be displaying the names of the signals. In a search text box, the user can type some of the characters that are in the name of a signal, and the array would reduce the list until the user finds the signal they want. Here?s what I can?t figure out. I wanted the user to click a button next to the text box, that is listing the name of the signal they wanted, and the controls for that type of signal would appear to the right of the text box. How do I make the controls appear to the right of the text box? The controls are basically an indicator for reading an analog input or several controls that allow for ramping or stepping an analog output or setting a digital output or reading a digital input, etc. I?m hoping that the class can ?make? the controls and indicators ?appear? on the front panel. Any suggestions?
"Then write some helper meth...Valve control
Hello, I am still trying to figure out a method of controlling a discharge valve for compressor testing. The valve is controlled by a slider, but when it hits a certain point of being closed, the compressor surges. At that surge point, I want the user to click a button, and then have the valve slowly open while the data is being sent to a file. This way, the data is recorded and the valve opens to prevent damage to the compressor all at the click of one button. I have the VI up and running, all except for the opening part of the valve. I have included a simple example of where I am going with the valve control. Any advice would be appreciated, for then I can implement that code for the valve opening into the rest of my programming.
...How do you control seperate motors with Labview through a remote control?
Forgive me if I am not typing the question correctly, or if it is a stupid question. I am only fourteen and only started learning about Labview.. I would appreciate all help possible. Thanks
What type of motors are you trying to control? How do you have them/plan to have them connected to your computer? When you say you want to control remotely, do you mean that you don't want them connected to a computer or that you want to communicate remotely through your computer (no cables)? The more information you can give the better help you will receive. Cheers
It would also be helpful to know what version of LabVIEW you are using. It's impressive that your starting to learn LabVIEW at such a young age, it will be challenging but worth it!
Well first off, thanks for asking questions to my questions, it helps me too :) The kind of motors I am trying to control are IFI Robotics Multi-Speed Motor Connect to PWM or RLY port (12 volt).. I am trying to remotely control it wirelessly, through an IFI Robotics Isaac16 EDU Robot Controller with 900MHz Short Range Radio Modem. Hope this Helps..
Oh yeah, and the version of LabView I am using is 8.5
It looks like your controller is designed to be programmed in BASIC. What you will need to do in order to control it with LabVIEW is figure out what the function calls are that will be required to activate your PMW signals etc.&a...How to control the tab control using event structure?
I am using tab control and event structure in the program.
When i run the application event is not happening for the active page.
When user switches from active page to the other page then event is taking place for all pages
So, how to get the event trigger for the active page when the application is started
For more clarification i am attaching the code "Test Control Tab using Event Structure.vi"
Test Control Tab using Event Structure.vi:
http://forums.ni.com/attachments/ni/170/288159/1/Test Control Tab using Event Structure.vi
You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW.
- The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again.
- If the stop is pressed first, the VI will stop. Game over.
- If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events. The VI is trapped inside the event until stop is pressed to stop the VI.
you were closer to a reasonable program in the other thread:
<a href="http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=287905"...tab control strict typedef hides controls
"Has the issue of no typedef tabs been resolved in LV7? I am modifying
a LV61 vi and severely broke the panel trying to convert a tab to a
typedef. I was able to customize, however there was a compile/save
error and all the embedded controls on the tab pages became hidden and
In my disgust, I had deleted all copies of the offending vi. I believe
my problem must have been, primarily, a corrupted compile/save.
...Remote panel control indication
Can I indicate on my front panel wheather or not I have control over
the program or if a remote panel has control of the program?
I am not sure whether I understand your question correctly, but if you
want to <i>test</i> whether a VI is called by another VI or running
top-level, there are a few ways:
1) Check the length of the array returned by the Call Chain function
in the Application Control menu.
2) Create a reference to the VI with Open VI Reference from the
Application Control menu, and then test the execution state with a
property node from the same menu.
...Reading controller data into LabVIEW through serial connections to controllers?
I'd like to read data from environmental chamber controllers (System Plus) into LabVIEW through RS232 connections. Has anyone done something similar? I see interfacing with the serial controllers as the biggest obstacle and although not directly related to LabVIEW programming, I'm hoping someone here can give me some advice or resources on how best to do so now days. My first thought is to write a program with VB or C++ to act as a terminal and write the data to a text file for LabVIEW to poll. Aside from using Telix decades ago to work with BBSes, my only other serial experience consists of interfacing with a Kiethly multimeter using a C++ program. I would rather not use multiple PCs but I have never worked with more than one serial port on a computer before in the past. Perhaps LabVIEW itself already provides for multiple serial card communications (wouldn't that be perfect)? Any info would be great. Regards, Dave
LabVIEW has had support for serial communication for as long as I've used it and may have been part of version 1. It also supports multiple serial ports - built-in and USB->RS232. There are even a couple of shipping examples. I've not used this particular chamber but I've used several with serial connections. It's a matter of getting the programming manual and working through it if a driver does not al...