RE: ScrollBar

2004-01-12 Thread Kelly Bersch
Are all of the buttons ever visible at one time?  Could you stack the
buttons and only have the one you need visible so scrolling isn't necessary?

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 10:26 AM
To: '[EMAIL PROTECTED]'
Subject: ScrollBar


Hi,

I have a subVI(X) that takes in inputs from the user in a particular order.
I have buttons and controls hidden which become visible as and when the user
has to enter the data. As this happens, certain buttons that appear are
beyond the window size and user needs to press the scroll bar as he proceeds
with the experiment. Is there any way I could automate the movement of the
scroll bar if the hidden buttons that appear on the screen go beyond range?


Also assume the buttons appear in order and are:

Start-->Init-->Config-->..(Say Window ends here ,scrollbar to be
used)-->..-->.--> End

The next time if the MainVI calls this subVI(X), the window opens at
location where the button "End" is. Actually button "End" is invisible at
the start of experiment and the only button visible is "Start". So at this
point, I have to scroll up and go to the Start button. Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows "Start" and does an automatic scrolling?

Thank you

Shankar

Shankar K. Subramanian
TSS ESG
Northboro R&D Center
Saint-Gobain





RE: ScrollBar

2004-01-12 Thread Subramanian, Shankar, K
Thanks for your reply. I think I will stack them avoiding the scrollbar as I
would not need all the buttons to be visible. But just curious to know, is
there any way of automating scrollbar depending on the window?

Thanks 
Shankar 
Shankar K. Subramanian
TSS ESG
Northboro R&D Center
Saint-Gobain 



-Original Message-
From: Kelly Bersch [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 12, 2004 12:44 PM
To: [EMAIL PROTECTED]
Subject: RE: ScrollBar

Are all of the buttons ever visible at one time?  Could you stack the
buttons and only have the one you need visible so scrolling isn't necessary?

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 10:26 AM
To: '[EMAIL PROTECTED]'
Subject: ScrollBar


Hi,

I have a subVI(X) that takes in inputs from the user in a particular order.
I have buttons and controls hidden which become visible as and when the user
has to enter the data. As this happens, certain buttons that appear are
beyond the window size and user needs to press the scroll bar as he proceeds
with the experiment. Is there any way I could automate the movement of the
scroll bar if the hidden buttons that appear on the screen go beyond range?


Also assume the buttons appear in order and are:

Start-->Init-->Config-->..(Say Window ends here ,scrollbar to be
used)-->..-->.--> End

The next time if the MainVI calls this subVI(X), the window opens at
location where the button "End" is. Actually button "End" is invisible at
the start of experiment and the only button visible is "Start". So at this
point, I have to scroll up and go to the Start button. Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows "Start" and does an automatic scrolling?

Thank you

Shankar

Shankar K. Subramanian
TSS ESG
Northboro R&D Center
Saint-Gobain




RE: ScrollBar

2004-01-12 Thread Kelly Bersch
It looks like you can use a property node for the VI and select the property
"Front Panel Window:Origin".  I haven't tried this but you should be able to
make the panel scroll by changing the values in the cluster.

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Subramanian, Shankar, K
Sent: Monday, 12 January, 2004 14:02 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: ScrollBar


Thanks for your reply. I think I will stack them avoiding the scrollbar as I
would not need all the buttons to be visible. But just curious to know, is
there any way of automating scrollbar depending on the window?

Thanks
Shankar
Shankar K. Subramanian
TSS ESG
Northboro R&D Center
Saint-Gobain





RE: ScrollBar

2004-01-13 Thread Rolf Kalbermatter
"Subramanian, Shankar, K" <[EMAIL PROTECTED]> wrote:

>Thanks for your reply. I think I will stack them avoiding the scrollbar as I
>would not need all the buttons to be visible. But just curious to know, is
>there any way of automating scrollbar depending on the window?

You don't work with the scrollbar itself but rater change the
"FrontPanel.Origin" property of your VI reference.

Rolf Kalbermatter
CIT Engineering Nederland BVtel: +31 (070) 415 9190
Treubstraat 7H   fax: +31 (070) 415 9191
2288 EG Rijswijkhttp://www.citengineering.com
Netherlands mailto:[EMAIL PROTECTED]
 




RE: ScrollBar

2004-01-13 Thread lkniskern2
I like to use a tab indicator for this type of thing. 
Make a small tab control, change it to an indicator.

Put each of your controls on a separate page of the tab indicator then
switch pages with your code as you like. 

Usually I set the tabs to invisible in the code when it starts to run and
then visible again when it's shutting down. This way each of your controls
is easily accessible during design. Often I set the color of the tab control
to transparent and it looks like each control is right on the panel by itself.

I just don't like having "invisible" controls on a panel if I can help it -- 
especially stacked.

Roy Kniskern, Sr. Product Dev. Engineer

MOOG Components Group Inc.
1213 N. Main St.
Blacksburg, VA 24060

(Formerly Northrop Grumman Poly-Scientific)
mailto:[EMAIL PROTECTED]


Original Messages:
==
>>Are all of the buttons ever visible at one time?  Could you stack the
>>buttons and only have the one you need visible so scrolling isn't necessary?


>>I have a subVI(X) that takes in inputs from the user in a particular order.
>>I have buttons and controls hidden which become visible as and when the user
>>has to enter the data. As this happens, certain buttons that appear are
>>beyond the window size and user needs to press the scroll bar as he proceeds
>>with the experiment. Is there any way I could automate the movement of the ...

Roy Kniskern, Sr. Product Dev. Engineer

MOOG Components Group Inc.
1213 N. Main St.
Blacksburg, VA 24060

(Formerly Northrop Grumman Poly-Scientific)
mailto:[EMAIL PROTECTED]







RE: ScrollBar

2004-01-13 Thread Kelly Bersch
I really like the idea of the tab indicator instead of stacking invisible
controls.  Great idea!  I learn something new everyday.

Kelly Bersch
Senior Technician
Anadigm
Telephone:480-344-5262
Email:   [EMAIL PROTECTED]
http://www.Anadigm.com

Anadigm - The Programmable Analog Company



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, 13 January, 2004 3:31 AM
To: [EMAIL PROTECTED]
Subject: RE: ScrollBar


I like to use a tab indicator for this type of thing.
Make a small tab control, change it to an indicator.

Put each of your controls on a separate page of the tab indicator then
switch pages with your code as you like.

Usually I set the tabs to invisible in the code when it starts to run and
then visible again when it's shutting down. This way each of your controls
is easily accessible during design. Often I set the color of the tab control
to transparent and it looks like each control is right on the panel by
itself.

I just don't like having "invisible" controls on a panel if I can help it --
especially stacked.

Roy Kniskern, Sr. Product Dev. Engineer

MOOG Components Group Inc.
1213 N. Main St.
Blacksburg, VA 24060
<http://www.polysci.com/>
(Formerly Northrop Grumman Poly-Scientific) mailto:[EMAIL PROTECTED]





RE: ScrollBar

2004-01-13 Thread Paul F. Sullivan
Shankar,

You wrote:

... Is there a way I can
open a subVI FP, at particular coordinates or something similar to that such
that it always shows "Start" and does an automatic scrolling?
And Kelly responded:

It looks like you can use a property node for the VI and select the property
"Front Panel Window:Origin".  I haven't tried this but you should be able to
make the panel scroll by changing the values in the cluster...
I had a lot of trouble figuring out just what properties had to to 
set to what. "Resize Front Panel Elements", just posted to my site, 
sizes it's own window to show different buttons under different 
circumstances. The code in the "Initialize" and "Resize window" 
states should show you how to do it very explicitly. Resize.vi runs 
when opened, so you'll have to halt it first with a CTRL-. (or CMD-.) 
to be able to open the diagram.

And for those of you who would like to make selected front panel 
elements match in width or height and don't have LabVIEW 7 yet, try 
this utility.

--
EnWirementally,
Paul F. Sullivan


SULLutions  (781)769-6869
"when a single discipline is not enough"
	visit http://www.SULLutions.com






RE: ScrollBar

2004-01-13 Thread Junginger, Johann

This is an excellent suggestion. I've never been happy with making controls
invisible or hiding them off-screen. That strategy seems to violate the
whole point of data flow. 

Johann Junginger.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 05:31
To: [EMAIL PROTECTED]
Subject: RE: ScrollBar


I like to use a tab indicator for this type of thing. 
Make a small tab control, change it to an indicator.

Put each of your controls on a separate page of the tab indicator then
switch pages with your code as you like. 

Usually I set the tabs to invisible in the code when it starts to run and
then visible again when it's shutting down. This way each of your controls
is easily accessible during design. Often I set the color of the tab control
to transparent and it looks like each control is right on the panel by
itself.

I just don't like having "invisible" controls on a panel if I can help it --
especially stacked.

Roy Kniskern, Sr. Product Dev. Engineer

MOOG Components Group Inc.
1213 N. Main St.
Blacksburg, VA 24060
<http://www.polysci.com/>
(Formerly Northrop Grumman Poly-Scientific)
mailto:[EMAIL PROTECTED]


Original Messages:
==
>>Are all of the buttons ever visible at one time?  Could you stack the
>>buttons and only have the one you need visible so scrolling isn't
necessary?


>>I have a subVI(X) that takes in inputs from the user in a particular
order.
>>I have buttons and controls hidden which become visible as and when the
user
>>has to enter the data. As this happens, certain buttons that appear are
>>beyond the window size and user needs to press the scroll bar as he
proceeds
>>with the experiment. Is there any way I could automate the movement of the
...

Roy Kniskern, Sr. Product Dev. Engineer

MOOG Components Group Inc.
1213 N. Main St.
Blacksburg, VA 24060
<http://www.polysci.com/>
(Formerly Northrop Grumman Poly-Scientific)
mailto:[EMAIL PROTECTED]






Re: scrollbar position in image display

2004-02-06 Thread jcrooke
What display control are you usng to display your image?  That is, on
which control is the scrollbar causing problems?  Is it a color image?
I have done live image aquisition without Vision in the past.  I have
displayed the image using a picture control and using an intensity
graph control.  Sounds to me like you are talking about the vi
window's scrollbar and your image is in a display control that is
larger than the vi window dimensions, or the dimensions of your
monitor.  Is this is the case?

I am using 6.1, but I may be able to answer your question as long as
it isn't 7.0-specific.