Rotating pushbutton control

I'm just starting out with labview and have a very simple question....
Labview comes with a default pushbutton control that has a green
arrow pointing to the right. I'd like to manipulate the button to
give a mirror image. Also, I'd like to be able to rotate +-90 degrees.
If this is not possible for some reason, could someone point me in the
direction of a source for learning how to create custom controls?
Thanks!

Try this link...
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000007E7E0000&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Regards| ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com

Similar Messages

  • Customizing the pushbutton control in 6.1

    How do I remove the LED portion of the pushbutton control in LV6.1?
    I tried to do a custom control but the LED can not be deleted.
    Anyone try to do this before?

    An easy way would be to customise the button, select the LED and move to back

  • Rotating tank control on front panel

    Is there an easy way to rotate a tank, pump, etc. other than going in an editing each control separately. I can invert the scale and rotate the text but have not found a way to rotate the control.

    I am afraid there doesn't seem to be a way to rotate the controls. We can resize and move them around at run-time but not rotate -- other than modifying the control itself.
    I guess this goes on the Wish List.
    Khalid

  • Is it possible to rotate a control/indicator in the panel?

    I'm using labview 6.0
    I tried customizing the control/indicator but I don't know how to do it...
    Thank you.

    I think I'm not explaining the problem well...
    What I want to do is something like the image attached.
    (I know where is the "costumize control" window, but I don't know how to rotate controls).
    Thanks for your answers
    Attachments:
    Rotated_controls_2.jpg ‏32 KB

  • Thorlabs rotation stage control using LabWindows

    Hi there
    I have been trying to program automated control of Thorlabs rotation stage PRM1Z8 based on TDC001 DC servo controller using Lab Windows Actives Controller Wizard.
    The steps followed by me as follows:
    1. Insert Activex control (thorlabs stage GUI) in the panel using .ocx file obtained with the stage. Edit the control properties to put in the controller serial number and then right click on the control to generate the activex control driver. 
    The following code was written. Although I do not obtain any compiling error, I have not managed to communicate with the stage. 
    #include "MG17Motor.h"
    #include "AProt.h"
    #include <cvirte.h>
    #include <userint.h>
    static HRESULT _tmp8;
    static long _tmp9;
    static HRESULT _tmp3;
    static long _tmp4;
    static int _tmp2;
    static CAObjHandle _tmp1;
    static int panelHandle;
    int main (int argc, char *argv[])
    if (InitCVIRTE (0, argv, 0) == 0)
    return -1; /* out of memory */
    if ((panelHandle = LoadPanel (0, "AProt.uir", PANEL)) < 0)
    return -1;
    DisplayPanel (panelHandle);
    RunUserInterface ();
    DiscardPanel (panelHandle);
    return 0;
    int CVICALLBACK imagepanel (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    switch(event)
    case EVENT_COMMIT:
    _tmp2 = GetObjHandleFromActiveXCtrl(panelHandle, 2, &_tmp1);
    _tmp3 = MG17MotorLib__DMG17MotorStartCtrl (_tmp2, NULL, &_tmp4);
    _tmp8 = MG17MotorLib__DMG17MotorIdentify (_tmp2, NULL, &_tmp9);
    break;
    return 0;
     Please could you help me sort out any programming error that I might have committed here. 
    Thanks
    Deepa

    Hello Deepa,
    I never used Thorlabs products, but as you can see in the online help for the command, GetObjHandleFromActiveXCtrl returns the obtained handle into the last parameter, in your case _tmp1; I suppose this is the variable you must pass to the following command(s) in the Thorlabs library. The return value _tmp2 is an error code which you should use to add some error checking to your code.
    You should also check into Thorlabs documentation the exact meaning and usage of the command you are using: it is possible that the return values are error codes that may give you some guidance on how to clean up any error you may have in function calls.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • When rotating my custom .bmp image with Rotate Image Control.vi using the Rotate.llb, why is my rotated image coming up blank?

    I downloaded the Rotate.llb and am trying to rotate a simple 24bit .bmp I made in Windows Paint, but the rotated image comes up blank.
    I edited the default image control and indicator to have my image inside it and really don't know what else to do? The example works fine with the default image, I'm wondering if it has to do with my image properties?
    I tried using "Picture to Pixmap" but to no avail. Any help would be greatly appreciated. I am attaching a screen shot of my results and the modified Rotate vi I am working on, thanks.
    Attachments:
    Rotate Picture Control_v2.vi ‏16 KB
    rotate_shot.jpg ‏383 KB

    Hello Sametron,
    Give this a try:
    Regards,
    Jeff L.
    Applications Engineer | National Instruments
    Attachments:
    201606.zip ‏1 KB

  • Rotating objects controlled by scrolling

    I would like to see scroll motion to control the rotation on an object. Scrolling would make an object rotate while staying in the same center point location. If this is already possible, please let me know!
    Cheers,
    Ingrid

    here you go, 5 copies
    50 copies
    #target Illustrator
    //  arranges duplicates of selected object into a spiral
    // step is 1.1 cm - 17 degrees hardcoded
    // select object before running
    // CarlosCanto 3/1/11
    var idoc = app.activeDocument;
    var isymbol = idoc.selection[0];
    var teta = 0; // initial angle
    var r = 1*28.346; // first dup, // 1 cm = 28.346 pts
    var deltaTeta = 17; // angle increment
    var deltar = 1.1*28.346; // distance increment
    var a = prompt ("how many copies", 5, "Spiral Symbol Duplicates")
    for (i=1 ; i<=a ; i++)
              var dupSymbol = isymbol.duplicate();
              var deltaX = r*Math.cos(teta*Math.PI/180);
              var deltaY = r*Math.sin(teta*Math.PI/180);
              dupSymbol.translate (deltaX, deltaY);
              r = r+deltar;
              teta = teta+deltaTeta;

  • X230t and Windows 8 - tablet rotate and control buttons don't work

    I am the proud owner of a new x230 tablet and I couldn't resist the tempation to load up Windows 8 on it.  Overall I have found the operating system to work fairly well on the system as installed "out of the box"; however, I have noticed that when the computer is put in tablet mode the screen doesn't rotate, even if the rotate hardware button is pressed.  Has anyone else encountered this and if so is there a solution other then waiting for the official release of the operating system and windows 8 certified drivers.
    Thanks

    This is for win7 but should also work in win8 because it is a simple configuration thing:
    http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/how-torotate-screen-in-windows-7-...
    similar:
    http://answers.yahoo.com/question/index?qid=20070808054356AAufqKb
    Using x230t (i5-3320M, 8GB RAM, 256GB SSD, 80GB mSata-SSD) and loving it!
    "I may not own the world but I own my mind and therefore the world is at my feets." (me)

  • Rotate front page control programmat​ically in front of background

    In the background is a picture.
    On this picture,I'd like to rotate a control formed like a box without having a shadow on the background.

    Here is some code to rotate a box drawn in a picture control.
    Attachments:
    Untitled.llb ‏184 KB

  • In pages, how can I rotate text ?

    In pages, how can I rotate text ?

    The text needs to be in a TextBox which you can create from the ToolBar and the that can be rotated by control clicking near the top right corner of TextBox and dragging it around.
    Alternatively click on the TextBox > Inspector > Metric > Rotate: enter value.
    Peter
    Greetings from hot, sweaty and beautiful Broome

  • Still running control panel on windows 7

    After entering name and password the loading "circle" just rotates and control panel will not open on windows 7.

    I've never been able to see any bluetooth device in windows 7 on m MacBook Pro (2011, 15", i7 @ 2.3).  Apple told me to call microsoft, microsoft told me to call msdnaa, msdnaa told me to ask my account manager, who is a mere mortal like us.

  • 3D lighting and camera control

    The free "Life on Earth" textbook has a 3d nucleosome model that looks great, with what appears to be a headlight affixed to the camera.  How does the viewer apply the same mouse-driven transformations to both the camera and to the light?  Put another way, which transformations in my COLLADA model can I expect to be adjusted as the user rotates the view?
    Is there a specification of this I'm missing, somewhere?
    Is Preview a good predictor of this behavior in iBooks?

    Thank you for your prompt response, but it is incomplete.  I've been through the iBA help, and there is no detail on camera or lighting control.
    iBooks controls the response to the touches, and must be mapping that to transformations.  The question is: what is being transformed?  The nucleosome model demonstrates that the lighting on the nucleosome is *not* being rotated, thought the geometry is being rotated.
    The 3D widget inspector offer the "Object Rotation" control, which clearly indicates that the rotation is controlled by iBooks, not by anything I put in my Collada file.

  • Flash 8 xml rotator.swf and main timeline frame looping

    Hi Y'all -
    I have a purchased swf file that randomly rotates images (90
    or them) located in an external xml file. It works fine in it's own
    swf file.
    The author suggested dragging the movie clip to the library
    and to the stage. I did that in frame one, on its own layer of my
    main swf file, followed by empty keyframes for all other frames in
    the main swf. That works too, only showing the rotating logos in
    frame one.
    However, the stop(); actions on each of the other frames are
    ignored, so that going to frame two on the main timeline starts
    with the proper content and then continues on to the next frame and
    the next. Without the rotator, buttons control the action and I
    have no problem.
    This link shows the problem -
    http://uniconexed.org/bigflash/unicon-05-17-08-newlook.swf
    I've tried attaching the swf file and unloading it, using
    "create empty movie clip" (my current attempt outlined in the
    code), and about a half dozen other ways to no avail.
    I think I need to kill "play movie" when someone leaves frame
    one (or enters any other frame) even though not all of the 90
    images have displayed. It could be some depth issue, or lock root,
    I dunno.
    To restate, one of two things happen -
    1) the scene continues to display the files randomly over top
    of the content in the other frames (wrong) but the navigation
    buttons work (correct)
    or
    2) the random images do not display in the other frames
    (correct) but the navigation stops at each frame do not work
    (wrong) - the swf file scrolls through each of the frames, ignoring
    the stop(); at the top of each frame.
    Any help that leads to success would be greatly appreciated.
    Dan

    Hi there,
    Try using...
    unloadClip(myContent);
    instead of
    unloadMovie(myContent);
    unloadClip is the proper method to use when removing content
    created with the MovieClipLoader class

  • IPad won't rotate. Lock is off both on switch and settings. Reset with no joy.

    Need help with rotate on iPad II

    For future reference, you might wish to keep in mind that the rotation lock control and system sound control are really confusing.  Originally, the side switch was used for rotation lock control (and a soft switch for system sounds) but IOS-3 changed the switch so that it controlled system sounds in order to keep consistency among IOS devices (a soft switch controlled rotation lock).  Then, for IOS-4, Apple made a serious mistake in attempting to pacify some whiners that actually claimed that they turned auto-rotate on and off fifty times/day and consequently the side switch is mandatory.  The result is real disaster.
    The following is a C&P from a post made by Demo.  It's a better explanation that I can come up with.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • Can I rotate the image?

    the camera seems to decide what is up, and usually gets it wrong.

    The camera decides what is up from the way you hold the camera when taking the picture. The current top edge of the phone is the top edge of the photo, and when you transfer the photo to your computer this edge will be the top.
    When viewing a picture on your phone it will be shown in the current orientation of the phone and will rotate as you change the phone's position. If it doesn't you have rotation lock enabled; you will have to disable it by double-pressing the HOME button, then slide your finger from left to right across the bottom of the screen to display the rotation lock control. You can tell if it is locked by looking at the title bar for a small lock icon.

Maybe you are looking for