Create a custom control fantasy

I am trying to create a Custom Control fancy image processing of the meter of cells.  I want control which allows me to select the image of two types, fluorescent or DAB, and if I choose Fluorescent, will allow me to choose red, green or blue.

I created two radio button controls, one for Fluorescent / DAB, one for RGB, which looks like this:

I was hoping to "embed" the RGB control of the Type of Image control while having them retain their properties (box of dialogue elements 2 and 3 elements).  When I made the simple drag and drop of RGB on the Type of Image, he acted as if I added elements of a cluster, and I got a box of the 5 elements, not what I wanted.

Then I'm smart and dragged Type of Image on top of RGB.  Of course, if the Type of Image is at the front, you see RGB.  However, if RGB is in front, see you both, but with ugly shadows around RGB (I made her invisible label).

Anyone have an idea how I can have my cake and eat it, too?  Specifically, how can I get rid of the shadow that the RGB control throws on the Type of Image control?

Here are the controls themselves, as the excerpts:

Bob Schor

How about as a red box Fluorescent, Green Fluorescent, Fluorescent blue and DAB?

Lynn

Tags: NI Software

Similar Questions

  • How to create a custom control for a button where the look apply to everyone else but not the Boolean text?

    Hi all

    I would like to create a button custom as a master, so that if I change the look of the master all other buttons are changed.

    I did it with a custom control, such as a 'type strict def' otherwise the look will change , BUT if I do this as a strict type def I can't change the Boolean text more which should be different on each button.

    How to create a master control of a button where the look apply to everyone else but not the Boolean text?

    Steve Chandler wrote:

    I don't think that you can do. I just looked and as I suspected the Boolean property text is read only for strict typedefs, you cannot use the nodes property to change the text.

    As a just solution make it a typedef. When you want to change the open look the typedef and strict rendering, make your changes, then make no strict again. You will need to update the text Boolean yet once for all instances. Kind of pain. This is perhaps something for the exchange of ideas.

    Alternatively, remove Boolean text and replace with legend

  • When you create a custom control, why the option point photo is deleted?

    I adapted a system boolean to add pictures for each of the 6 States (including mouse pointer) by selecting the part of the image in the list and import the image from a .png file.  After the resizing of the control, I replaced every image with a new in size has been fixed.  After replacing the sixth image, control always shows now that he has highlighted version and the photo entry in the run menu item disappeared.  How to restore the behavior of the control for all the images of six?

    The affected .ctl file is attached:

    Edit: I work in Labview 8.6.1f1.

    Well, back to the registered version of the control and repeating the process seem to have it fixed.  Guess that's just one of those quirks bit labview that make it so painful to use editor.

  • Custom control in the new VeriStand workspace

    Anyone know if it's possible and how to make the custom to the new UI controls? I have a custom device that creates channels 400 + and I would like to find a way to add them to the user interface without having to manually configure each channel individually.

    I have a way for the user to choose if each digital output is discreet, PWM or encoder mode. Currently, they have to drag into individual channels labeled 'Enable channels', 'Output Mode' and either 'Discrete Value,' 'PWM Duty Cycle' & 'Frequency PWM', or 'Encoder quarter' & 'encoder Index Control. " Is it possible to create a custom control that contains Boolean controls and digital necessary? I know that this was possible in the old VeriStand workspace, but I have not found a way to do in the new, as there does not appear to use a directory full of screws for its controls.

    Thank you

    Mitch

    Hi Mitch,

    I'm sure that this functionality does not yet exist for the Manager of the user interface, but I guess that NEITHER is likely to know that it is a widely used feature.

    When I asked him about this a few months ago, I think the answer is that it must continue to use the workspace controls customized with the workspace and migrate the rest of your features to the UI handler. Once the UI handler and the Worspace may operate at the same time in the same application VeriStand.

    Could you describe the feature you're looking for with screenshots?

    I hope this helps, but maybe someone of NOR can enlighten us more about it!

  • VeriStand custom controls

    I'm just starting to use the evaluation copy Veristand to see if it can do what I need it to do.  It seems very customizable, and I tried to create controls in the workspace personalized with Labview.  I would like to make things like radio buttons, lists and menus in the workspace to control my drop-down model.  I have tried everything just by taking one of the digital controls and its replacement by one of the controls mentioned previously, but it gave me an error message saying they were not supported.  It seems that I'd be able to do this using the free label template, but I'm not sure how to do this.  I was able to find an example of a custom indicator (min/max one), but could not find everything related to custom controls.  Are there examples or tutorials, that I could look at?  How could I go for some of these controls of Labview in things that I could use the Veristand workspace?

    -Eric

    Hello Junior, I have some answers for your problem.

    1. I have attached a zip file that contains your renamed control and build a project in it. You should be able to unpack, check the construction features and make sure that the output destination is C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display models. Trigger a build on that and you should get EricHettlerSample - Radio.vi and EricHettlerSampleControlSupport.llb in there. Once you have this launch a workspace, you will be able to drop the EricHettlerSample - Radio in the control list control.

    2. for the explanation. I think that when you perform a save as on the example of the min - max you download the Web of LabVIEW cross link on the screws that the llb with that of the vi.lib. Do a save as will not work. What works, it is that you create a project and setup a source distribution to generate the custom control. Here are the steps that I have take based on your attached file:

    1. Rename in windows Explorer, the attached digital indicator - radio.vi to EricHettlerSample - radio.vi
    2. Open LabVIEW convert the .llb you connected to a directory.
    3. Create a new project file.
    4. Radio.vi open EricHettlerSample - under my computer, when LabVIEW invites me to some VI I search in the directory to convert llb. Note that LabVIEW search more files under vi.lib because these are the files that NI VeriStand install labview directory.
    5. Once I added some of the screws, I mass compile the project.
    6. Create a source distribution. Add the EricHettlerSample - radio.vi. Go to setting source file main vi for the folder models and all otherwise go to a folder of llb.
    7. Trigger the build, LabVIEW will do a better job in creating an isolated component which is properly connected.

    In General, you always want to create a project to create a custom, control given that Save As not always worked with the LabVIEW VI link in NI VeriStand.

    To create a completely custom control project base what you do is:

    1. Copy C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Display Templates\Decoration - free Label.vi in Explorer windows in a directory of your choice.
    2. Make a change of name on VI in Windows Explorer.
    3. Open LabVIEW to create new project add the renamed VI in my computer. This will create an empty project to customize the custom controls.

    I hope this helps, let me know if it still does not for you.

    Also if you still embarrassed by the error messages appears so you will want to clean directory C:\Documents and Settings\All Users\Documents\National Instruments\VeriStand\Screens this directory being where NEITHER VeriStand puts all the controls that you drop into the workspace cache. So if you have a control that cannot be loaded remove all screws in this directory should remove the wrong screws.

  • custom control with the mask of the image

    Hello

    I am trying to create a custom control that looks like a bulb. I want to do is have a picture of a light bulb with a Boolean flag behind it so when you press a button the light bulb gets dimmer or brighter. I know how to customize the controls and can change the color of the Boolean indicator but have no idea how to do it. Any help would be grateful.

    See you soon

    James

    GIF will allow transparency.  This will show through the image.

    Also, few throughts.  Change the box color instead of a Boolean, this event will allow you to change just the color instead of use the Boolean color via a property node.

    Another easy method is to use a ring to the bottom of the picture load the image of your bulb, fill the bulb with several shades (May 16) brightness, then import the sequence into an image control, then you will have multiple shades you can view any required customizations.

  • Why my custom control to change the size, when I open it on different computers?

    I create a custom control, and when I open it on other computer it changes size

    Try to:

    -the Boolean text

    -use a specific font for the Boolean text (e.g. Tahoma, but NOT the font system, application, or dialogue)

    -hide text Boolean

    -Save the .ctl

    In my experience, it is the text boxes, an object resize on different systems, the box of dialogue/system/application are different fonts.

  • Why my custom control consuming 30% of the CPU power?

    Hello

    on my laptot C2D 2.0 GHZ if I open just VI with custom control I developed it consumes about 30% of the CPU power. Could someone explain why? Is also my problem with this control? I see it with 8.5 and 8.6 as well. It must be linked to its representation since when I hide the disepears problem. Thank you

    Good so I was right. It seems to be the combination of the hover button effect and radio. When I used the default control of LabVIEW to create my custom control the problem disappeared. Although I would like to hear a logical explanation why this was happening.

  • Generic custom control that can display an image or a swf?

    Hello

    I want to create a custom control that can take an image or a swf as an argument and display it in the same way.

    If the programmer uses this control (which is basically a button with custom view) I want to be able to simply indicate the source and the text to be included. Like this:

    < myControls:myButtonControl descriptionText = 'swf object' symbolObject = "{Application.application.shape01swf}" >

    or

    < myControls:myButtonControl descriptionText = "img object" symbolObject = "{Application.application.shape01img}" >

    where shape01swf and shape01swf are embedded as objects:

    [Embed("..) / assets/swf/Shape01.swf ")]"
    public var shape01swf: Class;


    [Embed("..) / assets/images/Shape01img.jpg ")]"
    public var shape01img: Class;

    What kind of object I create in my custom control that can display this?

    At this time, I created a class that extends the VBox so that I can view the image/swf above the descriptionText.

    (I use Flex 3).

    Hi CCJA,.

    You can make use of VBox itself as your tag root and your component should look like... below...

    You can make use of the Image control to display the image and also to load the SWF as well... It will serve the two... just aim you set the source he swf or image

    Thank you

    Jean Claude Chari

  • Creating custom controls

    Hi guys,.

    I use labview to control test, but normally predispose the user interface as a windows with buttons, indicators, graphic controls program etc...

    But "they" want to be a process diagram that can be used to control and monitor the user interface stuff. Fine.   However, I created custom controls by changing true/false images on radio buttons.

    They work great when the program currently does not work, IE real gives an image, click on it and the image changes, great.  But when I run the software as soon as I move my mouse over the control, on what it shows default image for example a radio button, if I click and then move the mouse, it shows the picture its supposed to, but how can I stop it showing the radio button on a mouse?

    See the attached images.

    Thanks, Zac

    You can find a great video tutorial on how to create a system of buttons on the forums of JKI. For your particular purpose, you might want to look at the DSC Module, which has the commands you seem to be wanting to use.

  • Configurable custom control of reference for NI VeriStand

    I'm working on an application of VeriStand where I'm modeling more than 100 pieces of similar material, each demanding a set of controls and indicators on the VeriStand workspace. Because I have a few hundreds of orders and total indicators to configure VeriStand workspace, it was recommended to me that I should look at using reference varied Custom Control (http://zone.ni.com/devzone/cda/tut/p/id/11123), which is much more efficient to configure.

    The main problem I have with varied Custom Control reference is that when it is configured on the workspace, the full channel path appears in the legend next to the indicator/control form. As I have a simulation model complex faily using several levels of submodules, the complete track path is very long (for example. ("Controller/Simulation models/models/CCH_v1_0_bad/Inports/Islington 220kV Bus EAD/CB668/host_close") and tend to clutter the workspace and also make the workspace very ugly looking (more space is used to display the text of the legend that occupied by buttons/lights).

    Is there an easy way to remove traces of full path display, while allowing the user to verify the path full path required by say, right click on the object? Or at least it is possible to display one or two levels of the path of the canal, rather than the full path?

    Thank you for your attention.

    What do you think makes a lot of sense.  To do this, you will need to modify the source code of LabVIEW and recompile (build) the proposed model to screen with the right mouse button.  You need LabVIEW 2009 for this.

    The text of the legend is set to 2 different places in the right-click main-model VI: Init control legends VI and VI of data update.  They are presented below:

    You need to change both of these screws to do some string manipulation to cut parts of the path that you don't want until it is written in the Caption.Text property node.

    I recommend creating a Subvi, which makes the string manipulation, in this way you can insert it just in the two screws you need to change.  Use a while loop that traverses the chain from the end forward, find the 11th ' / ' end, then only retains the final part and coming out of the slot - VI.

    These two images highlight the places where you should put the Subvi said:

    You will need to add your Subvi in the folder Source Code/sup screws, and then recompile the project (run the specification building called "Right-click"). Then put the Library.llb to control newly updated with the right button in the model display VeriStand folder, as you did initially. If you want instructions on how to proceed, see the video embedded in this page:

    NEITHER VeriStand module-control custom Configurable reference

    If you still want to help get started on this, let us know.

  • Custom control resize

    I think I know the answer to this already (i.e. no) but wanted to check...

    Is it possible to create a custom, such control when it is resized any graphics remain the same size?

    that is something along the lines of the following image

    Why?

    I have a few buttons with icons on. The buttons are resized dynamically to reflect the configuration of the user. Resizing buttons icons mess, and to ensure continuity, I want to resize the icons anyway.

    I could just place an image on the button in the right place, but the user can not "through" the image to activate the button then click on the code would be quite embarrassing.

    The only other option I can think of is to have all the permutations of buttons and sizes of loans and then show/hide if necessary - once again, who could get muddy.

    Any ideas, tips or advice?

    (In case it makes a difference I use V8.5)

    Thank you

    Ian

    You could make the transparent button and add an image behind it. Then when you resize the button you do not really change the image. You may need to move to keep it in the center of the button, but it's doable.

  • How to create a custom data type

    Hello

    I'm using Labview 2009 and I am trying to create a custom data type and link it to the global variable that will be deployed in cRIO 9073. I couldn't find a method to achieve this. Please suggest a way to do this.

    Thank you

    Guilhem

    Right-click on a control and go to advanced-> customize.  This will open the control editor.  Change the type of a control to a Type def.  Customize if necessary and save the control.

  • Not the custom control based on existing controls

    For my UI I need a directional Panel control 8, somewhat like a D - Pad or a digital arcade stick, as seen on the left side here:

    Or this:

    His output would ideally be an Enum, identifying the direction in which it is proposed:

    0: Center

    1: left

    2: right

    3: to the top

    4: bottom

    5: left upwards

    6: left down

    7: top right

    8: right down

    The order doesn't really matter. In fact, nor the data type as long as it works. He must also be able to respond to the keys on the keyboard for example the arrow keys.

    The problem I have is that I can't do this control. To the best of my knowledge, a control like this does not natively exist in LabVIEW. So I looked in the creation of custom controls, but all the resources that I found only show you how to take a control existing (for example a cursor) and change its appearance. Absolutely nothing about creating controls that behave differently than the default, the controls made NEITHER.

    I spent enough time looking for resources that I have to ask: is it still possible?

    Edit: I would reluctantly with a cluster with 4 Boolean controls, each corresponding to one of left, right, up, down. But then, can I do their people in charge of the graphics from the other? If not, can I at least prevent press left and right at the same time?

    Do some research on the XControls - they allow you to create custom with custom behaviors controls: http://www.ni.com/tutorial/3198/en/

  • Placing the control in a custom control file

    Hi all

    I'm new to LabView and have a simple question. I customize an example of LV for my purpose. There is a custom control used in the example file. I'm setting up a new (combobox) control and want to place this control in the file of custom control so that I can move on to various sub - vi for various purposes (e.g. initialization).

    Chart attached shows the ComboBox (Model DUT) on a front panel and custom control file (TestStand UI Data.ctl). My questions are the following:

    1. What are these symbols with the pink arrow (that is the button stop/restart, etc...) in the TestStand UI Data.ctl file? (see attached diagram). They are symbol of data type of references?

    2. How can I place my combobox was forced TO model in the file of custom control so that I can pass through the different slot control file - vi? I tried to do a right-click on the control and use create-> constant or reference, but they don't it has not changed the pink arrow symbol element.

    I hope someone can help solve my problems. Thanks in advance.

    Yours,

    Chati

    chati wrote:

    Hi all

    I'm new to LabView and have a simple question. I customize an example of LV for my purpose. There is a custom control used in the example file. I'm setting up a new (combobox) control and want to place this control in the file of custom control so that I can move on to various sub - vi for various purposes (e.g. initialization).

    Chart attached shows the ComboBox (Model DUT) on a front panel and custom control file (TestStand UI Data.ctl). My questions are the following:

    1. What are these symbols with the pink arrow (that is the button stop/restart, etc...) in the TestStand UI Data.ctl file? (see attached diagram). They are symbol of data type of references?

    2. How can I place my combobox was forced TO model in the file of custom control so that I can pass through the different slot control file - vi? I tried to do a right-click on the control and use create-> constant or reference, but they don't it has not changed the pink arrow symbol element.

    I hope someone can help solve my problems. Thanks in advance.

    Yours,

    Chati

    You do want to overwrite the "custom controls" that are part of LabVIEW.  However, you can create your own "custom" by a fall control, say, TestStand UI Data.ctl on your diagram, right click and choose Open Type Def (who opens the definition OR one you do want not change), make some additions or changes, then do a file/save under and save it in your project file with a custom name, that you make up.

    These pink arrow symbols are references - you can find them by looking in the Refnum palette.  I'm not sure what they are references to, however.

    As a suggestion, rather than send us just a picture with circled items, send the actual control so that we can watch and maybe tell you more details.

    Bob Schor

Maybe you are looking for

  • Visa gift card decline

    I have a Visa gift card. Apple has disabled my card. To activate it, what should I do?

  • Sound appearance on iMovie?

    I used to use a little iMovie and one of the things that I liked was the ability to work with audio, fades, and outs, and so on. It's been a while and a version or two that I did this. I remember an inspector window: It's pretty simple operation. How

  • TCP opened briefly crashes LabVIEW

    Hello LabVIEW forum! Long time no see. I have been away doing other things but LabVIEW... I am back. Background: I'm working on a project where I need to make a TCP connection on a Windows 7 computer. The Windows machine will intentionally restart fo

  • Slow Signal acquisition

    Hello I'm still an inexperienced user and just started to compose the new laboratory in modules, the software Subvi. The file in the annex shows the arrangement. The problem is that writing and plotting are 50% faster, it should be. I.e. after 10 sec

  • Hard disk space do not correspond with the size of all the content files!

    In the properties of "my computer", my placeholder is (?) 114 GBMy files are almost empty!If I choose theall files on the hard drive and click Properties, the size is only 50 GB!All waste are removed, I ran degfragmatation and my memory Visual option