Help! how to make transparen​t front panel

Hi:
     I intend to show a vi when my system call it but the backgound have color and I want it to be transparent. I search inside forum and get this thread http://forums.ni.com/ni/board/message?board.id=170​&message.id=178411&query.id=105714#M178411 . After that I try follow that method using "call DLL" to let my front panel become transparent but I fail.
     I attach my vi and hope come one can help.
thank in advance.
Attachments:
Enter OP ID.vi ‏50 KB

TK Chang wrote:
Thank a lot tst, it work.
By the way I am try to understand how to use windows API. For example function "GetWindowLong" got 2 parameter one is "hWnd" I know is get the window name and the other "nIndex" I search in MSDN (http://msdn.microsoft.com/library/default.asp?url=​/library/en-us/winui/winui/windowsuserinterface/wi​...) but I can't figure out why the input value is "-20".
Same as function "SetWindowlong" and "SetLayeredWindowAttributes". All these APi i can find the explaination in MSDN but I don't know what value I should put for those parameters. Is there anyway to find out what vaule I should give for those parameter?
yes, if you can get that example for change bmp shape then pass to me.
Thank very much
Message Edited by TK Chang on 01-11-2007 09:44 PM
That is because Micrososft defined for readibility constants and usually only documents them in MSDN. If you want to know the numeric value (which you need when trying to call such a function from non-C environments) you basically have to install the plattform SDK from Microsoft and search in the headers for the constant name and see what value it has assigned too.
A search of the constant name as documented in the SDK on the web might sometimes also give results such as an include form for Visual Basic, and interface description for Delphi or simply C header files from some Wine patch, but there is no quarantee and you might have to look through many hits before finding something useful.
All these options do however require you to understand a bit about the syntax of the programming environment you got the solution from such as C syntax (the plattform SDK is completely for C(++) too), Delphi, or Visual Basic.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How to make the LV front panel controls the current value through the program is set as the default value when the next time you open?

    How to make the LV front panel controls the current value through the programis set as the default value when the next time you open?
    1110340051 

    Try this: Re: How to make a VI remember the latest control value?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How can i access remote front panel in RT with LabVIEW run time engine in client PC

    Hi to all,
    I have developed the RT application with cRIO 9075 integrated chassis. And i have access its remote front panel in client PC. Now i want to access the remote panel in the client PC without having LabVIEW runtime engine. If i connect the remote panel with that client, it shows only the vi border. i doesn't downloads the  front panel.
    How Can i access its remote front panel without LabVIEW runtime engine in the client PC?

    You cannot view a remote front panel without the LabVIEW runtime - the LabVIEW runtime is what makes the remote front panel possible.  What you will want to do instead is likely create a Web Service that you can access from a remote PC without requiring the LabVIEW runtime.  However, this will require you to develop a web-based HTML or similar UI to interact with the VIs running on your system - NI hasn't yet created a way to export a LabVIEW front panel as an HTML'ish page.  
    -Danny

  • How to move control in front panel at run time

           Hi,
                    I'm using LabVIEW 8.5. I want to move the control anywhere in front panel. For example in the attach file I want to pick up the pict control (with the help of mouse) and drop it anywhere in front panel. second thing I want to ask if I want to make it copy paste, means main control will b at its initial position and where the mouse moves the image moves and when I leave the mouse  the image gets drops there. How to do it. Please help me.
                                 - Thank You
    Attachments:
    track.vi ‏15 KB

    "Sonali" <[email protected]> wrote in message
    news:[email protected]..
    Hi,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
    nbsp;&nbsp;&nbsp; I'm using LabVIEW 8.5. I want to move the
    control&nbsp;anywhere in front panel. For example in the attach&nbsp;file I
    want to pick up the pict control (with the help of mouse)&nbsp;and&nbsp;drop
    it anywhere&nbsp;in front panel.
    You'll need to use an event structure to respond to the mouse down, mouse
    move and mouse up events. In the mouse down event of the control, set a
    value in a shift register to true. In the mouse move event, when the value
    is true, change the position of the control with a position property node.
    In the mouse up event of the control, set the boolean in the shift register
    to false.
    &nbsp;second thing I want to ask if I want to make&nbsp;it copy
    paste,&nbsp;means main control will b at its initial position and where the
    mouse moves the image moves and when I leave the mouse&nbsp; the image gets
    drops there. How to do it. Please help
    me.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
    nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
    ;&nbsp;&nbsp;&nbsp;
    You can't copy paste controls during run time. It seems you want to make a
    graphical application, where you can graphically drag and drop some
    configuration or something like that. You should have a look at the picture
    control. You can draw anything you want in this control, and catch mouse
    down, move and up events in the same way. It is perhaps a bit difficult to
    get to know it, but it is very powerful when you do.
    Regards,
    Wiebe.

  • Make LV VI front panel appear

    I am a TestStand newbie.  I want to make a dialog box with LabVIEW.  I am using the sequence editor.  I have made a very simple VI with two controls and an OK button.  There is an event structure which triggers when the OK button is pressed.  The problem is that when the vi is started, it does not automatically make the front panel of the vi visible.  I want to make the front panel visible and appear in front of the sequence editor.
    Solved!
    Go to Solution.

    You need to check the box in the Module window for that step that says Show VI Front Panel When Called.
    Also, if you installed TS after you installed LV then in your block diagram pallette there are some TestStand VIs which aid in writing TS subVIs.  There are 2 called: Start Modal and Stop Modal.  You can read about them in the help.  Basically they make the VI modal to TS.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How can I use multiple front panel controls to be mirrors of each other?

    Hi All:
        I know this is going to be a strange question, but I have multiple inputs that control one output.  This in itself not necessarily difficult, but I have a strange need.  If one of the control inputs change I would like this to be indicated by the other controls.  For example, I have a slider, numeric and dial controls on the front panel that control RPM.  If the slider changes to 1000 RPM I would like the numeric and dial controls to see that change.  Is this possible.  If so, can you give me advice on doing this.  I am using 7.1.  Thanks for the help.
    John Honnold

    What you want is not that hard, but asked for a rather  limited times.
    Here's a how to:
    Drop a slider
    Right click Visible items-> Digital display
    Right click on the slider Advanced-> Customize
    Right click on the Digital display Replace select the control you want to replace it with (a gauge for instance)
    Right click on the Gauge Visible items -> Digital Display
    Now you have one control with three control options:
    This was done in 8.2 but I think the same goes for 7.1
    Ton
    Message Edited by TonP on 04-06-2009 09:52 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    Example_VI.png ‏7 KB

  • How do I keep the front panel on top of every windows (including non-LabVIEW windows)?

    The question above states it all.  Basically I have a progress bar the tells the user to wait and I want it to remain in front of anything that pops up while it is running.  My program opens up and deploys a VeriStand project and while it is doing that I dont' want the user to be able to do anything in the front panel that launches it.  When VeriStand launches it goes in front of the status window and you can't see it anymore.  I want to prevent this from happening and keep it in front of any VeriStand windows that pop up when I call the executable and the deploy an SDF.  I did take a look at the WINUTIL.llb but it keeps either 1) giving me errors or 2) not keeping it on top of anything but the main front panel.
    Any fixes or alternative solutions would be much appreciated.  Thank you.

    I did read that earlier and I just think I don't know enough of what I'm doing with library calls to make it work.  I kept getting errors and gave up on at the end of the day yesterday.  I'm working on other problems since this isn't a major one and figured I'd post it and see if anyone already had a solution to it.
    Thanks for the help though, it's appreciated.

  • How to create an attracting front panel

    Hello Experts,
    Kindly share, how to design a Good Look Front Panel that have a view of an Instrument.
    Thanks
    Solved!
    Go to Solution.

    Hi,
    We definitely need more information than that in order to help you.
    Here are a few general discussions of UI design:
    http://zone.ni.com/devzone/cda/pub/p/id/686
    http://decibel.ni.com/content/servlet/JiveServlet/previewBody/11977-102-2-21371/TS3402-SW.pdf
    http://zone.ni.com/devzone/cda/tut/p/id/5092
    This seems like it is more like what you might want, but it is hard to be sure:
    http://zone.ni.com/devzone/cda/tut/p/id/10355
    http://www.ni.com/labview/whatis/user-interface/
    or one of these:
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209118
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209119
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/209120
    Thanks,
    D Smith

  • How to bring a VI front panel to the front (of all open windows) when the parent VI calls a sub-VI in Test Stand.

    In Test Stand when I call a sub-VI front panel, the pop-up window goes behind all the windows and the user just waits for the screen. I want the pop-up to come to the front so that the user can know what to do. I couldn't find any property that I can set which would make the called VI go to the front.

    What version of TestStand are you using? Here are the TestStand palettes in LabVIEW for TestStand 2.0 and 3.1. You can also set a VI to be modal in  VI Properties>Window Appearance. Select Dialog or go to Cutomize and change the Window Behavior.
    Message Edited by Dennis Knutson on 03-07-2006 10:32 AM
    Attachments:
    TestStand palettes.JPG ‏37 KB

  • How can I display the front panel of the dinamically loaded VI on the cliente computer, the VI dinamically loaded contains files, I want to see the files that the server machine has, in the client machine

    I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
    Attachments:
    micliente.llb ‏183 KB
    miservidor.llb ‏186 KB
    rdsubvis.llb ‏214 KB

    I down loaded your files but could use some instructions on what needs run.
    It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
    Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
    hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Please help : How to make the anomalistic table just like below?

    Hi all,
    How to make the anomalistic table just like below? Anyone can give the way detail or thoughtway ?
    http://61.132.17.188/webber/table.gif

    This is just a suggestion.
    If you put your "JTable" in a "JScrollPane", then you can add any "java.awt.Component" to the corner of the "JScrollPane" -- using the "setCorner()" method (of "JScrollPane").
    I would suggest making a custon "JPanel" and overriding its "paintComponent()" method to draw a diagonal line (and the required text) on it.
    You can find out more about how to do this from the links I provided in my first reply.
    Hope this helps.
    Good Luck,
    Avi.

  • How can I enable my front panel audio??

    the type of my mainboard is MS-6552,when I inserted my earphone and microphone into the jack of the box,I can hear nothing! then I opened the box,I found that the wire was not the proper place,there were 8 wires whick marked with “MIC IN,GND,LIN,LOUT,MIC IN,GND,RIN,ROUT”,I also found the F_AUDIO on the mainboard,there were 18 pin on it,I cannot matching them! who can help me?thanx

    Look through you mobo's manual and you'll find it... Don't get stressed out too early... The first computer I built myself got me stuck in the same area for hours!!!
    Btw, you've got to remove the jumpers on your mobo to enable front panel sound. Be warned that most mobo only allows you to us either front panel or back panel sound only. Please also ensure that there are no stand offs underneath your mobo.
    All the Best... :D!!!

  • How to define area of front panel scroll bars so that you can't scroll to empty areas?

    The front panel of my executable VI has scroll bars.  Is is possible to set the scroll bars so that one
    cannot scroll to areas where there isn't anything present?  Can I define the usable area of the front
    panel to labview?
    Thanks...
    -Umar.

    Hello...
    Try this one==>>      File - VI Properties - Window Appearance - Select Custom - Customize - Deselect Show Scroll Bars - Save VI
    Hope this will help you...

  • Help: how to make photo enlargements?

    hi there, i'm am currently constucting a website using iweb. i have managed to create a photo page with all the thumbnails i need.
    can anyone tell me how to make it so when someone clicks on a particular thumbnail and enlargement or the actual size of the photo opens up in a separate window as you find in regular galleries?
    also, is this an effective method, or does it take up a lot more memory when uploading the site, or would it just be better to have larger thumbnails that are more visable?
    any help is appreciated, thanks!
    MacBook2,1   Mac OS X (10.4.8)  

    This should be already happening if you are using a photo page template.

  • How to add image of Front panel TAGS to html report?

    I have a VI with several tabs some of which I would like to append to an HTML report. So far I have managed to include just the front panel front tab (using the Append Front Panel Image to Report.vi. Is it possible to create an image of the tabs in order to append to my report?
    I'm using LabVIEW 7.1 on windows 2000
    Thanks for any help. It would be greately appreciated.
    Eduardo

    Hello Eduardo,
    In order to accomplish this, you'll need to use the Append Control Image to Report VI in a loop.  On each iteration of the loop, programmatically change the Tab Control page (with a local variable or the Value property), then append the tab control image to the report.  That way you'll have N images in the report, where N is the number of pages in your tab control.
    Hope this helps,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

Maybe you are looking for

  • Mini Display Port to VGA adapter + Monitor Eizo s2231W = CRASH

    I purchased a new macbook pro last month with 2 adapters, one for VGA the other for DVI. I'm having some trouble with the Mini-DVI to VGA adapter. The Mini Display Port to DVI adapter works well. When I attach the VGA adapter to the monitor it works

  • How do I install Lion to a blank HDD?

    I put a new hard drive into my Macbook Pro after the last one crapped out on me. Do I just get a Lion disk and boot to it?

  • Solutions Center not working. Photosmart C306g. Windows 7 64 bit. "Parsing Error"

    HP Photosmart C306g Windows7 64 bit When I click on the HP Solutions Center on laptop to scan, I get the Error message "Parsing Error in file C:\ProgramFiles (86)\HP\DigitalImaging\bin\hpqscloc\1033.xml" Worked just fine in the past,not sure when it

  • Upgrade of Designer repository from 6i to latest version

    Is the designer repository supported in a 10gR2 database? We plan to upgrade to the latest developer suite and i'm working on a POC. I've upgraded the repository database to 10gR2. Now, i plan to install the latest version of developer suite on a cli

  • Mac Mini unable to write to DVD-Rs

    Hi, I was wondering if anyone can help. I am trying to write to a DVD-R (I have tried several makes) but the drive does not seem to recognise the disk and spits it out. I am able to write to CD-R & CD-RW but no luck with DVD-Rs. Super drive is MATSHI