How do I make my ActiveX Control behave like a LabVIEW native control?

When a user drops my ActiveX control onto a Front Panel and then views the Diagram, I would like him to see a terminal outputting a specific property value instead of the reference number. In short, I don't want him to have to go to the extra step of creating a Property Node to access the property value.

> When a user drops my ActiveX control onto a Front Panel and then views
> the Diagram, I would like him to see a terminal outputting a specific
> property value instead of the reference number. In short, I don't want
> him to have to go to the extra step of creating a Property Node to
> access the property value.
You can make it drop a prewired property node when they drop the control.
It isn't hard, but there are a few steps involved.
To do this, make a VI that has your control configured the way you want,
and on the diagram have it wired to a property node with the correct
selection and direction. You should also make an icon that will show
up in the palette. Save this VI somewhere like user.lib. Now
you need to edit the palettes and add this as a Merge VI.
Open the Controls palette and click on the ... button. If using LV5,
choose Edit Controls and Functions Palette from the Edit menu.
Once editing the palettes, make your own palette set and give it a name.
Now choose a place in the palettes to add the .vi file. Right click and
Insert and Custom Control(s)... This will bring up a file dialog that
is filtering for .ctl files. Change the filter to allow all files.
Select the .vi file that you saved earlier.
To give this to others, you may want to make this a bit differently.
You can place the VI and .mnu file into user.lib and a few other places
and it will automatically be added to the LV palettes.
Anyway, once the VI is available in the palettes, it will merge the VI
contents into the VI, exactly as the 3D graph does.
Greg McKaskle

Similar Messages

  • How can I make Safari on iOS behave like/pretend it's Safari on OSX

    I am trying to demo a site that detects that the browser is mobile.  I want Safari on the iPad to display the non-mobile version of the site.  How do I make this happen?

    Try the iCab or Atomic browsers. Or contact the sysop at the site you are trying to demo.

  • How can I make floating options windows behave like probe windows in LV 5.0?

    Hello all,
    I'm trying to use subVI's as small floating windows that appear and disappear on command. These windows provide access to controls that trigger functions in the calling VI.
    I've already achieved this by calling the subVI's (which are set to be front most) continuously in the main loop when I want to see their front panels and then closing them when I don't want to see them using the close function in victl.llb.
    This works, but there are some problems. The title bars of the floating front panels flash continuously when there is more than one panel open and if two panels overlap then the overlapping regions flash. Also, when I operate controls on the calling V
    I (window maximized), the floating panels disapear. I also tried using invoke and property nodes with the same results.
    I realize that this is because only one panel can be in front at any one time, so while calling them in a loop keeps them visible it also makes them flash and disappear behind the calling VI when I click on it.
    Is there any solution to this? Is this addressed in LV 6i?
    What I really need is for those floating windows to act like probe indicators. Is this possible?
    I would greatly appreciate any help.
    thank you,
    Louis

    There's an utility called LVWUTIL32 at http://zone.ni.com/devzone/explprog.nsf/6c16360326​5406328625682a006ed37d/ebf11dd1f0feaef386256679007​2a983/ that has a vi to make a window topmost, with one difference, if you execute it once, the window will be topmost even if you click in the window under it, and it will be so until you revoke this option with another VI. In my system, no flashes were detected.
    Hope this helps

  • How do I make my error source look like standard LabVIEW codes?

    I have my error codes stored in an *-error.txt file.  I'd like to format the error source so it looks like a typical LV error source.  I've tried using an error code to error cluster and then either a simple or general error handler and I only get the error code, but the message has all the stuff I need.  I don't want to wire the message to the source, because that's not how LV error codes are normally displayed.  Am I making sense?  LV 7.1.
    Bill
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

    Yeah, I understand.  I have a vague question and I have to have help from you guys to even formulate it correctly.  Thanks, I will get back here soon!
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How do I create a title, that behaves like a button?

    Hi,
    I'm using XML to load data from asp to flash. Here's the XML
    example:
    1. <?xml version="1.0" encoding="iso-8859-1"?>
    2. <news>
    3. <item>
    4. <headline>Flash XML Based News reader out
    today!</headline>
    5. <date>05/09/1986</date>
    6. <message>Today my new xml based flash news reader
    came out, I am so excited!</message>
    7. </item>
    8. <item>
    9. <headline>One day until the Flash XML Based News
    reader is out!</headline>
    10. <date>05/08/1986</date>
    11. <message>Tomorrow my new xml based flash news
    reader comes out, I am so excited!</message>
    12. </item>
    13. <item>
    14. <headline>Two days until the Flash XML Based News
    reader is out!</headline>
    15. <date>05/07/1986</date>
    16. <message>The day after tomorrow my new xml based
    flash news reader comes out, I am so excited!</message>
    17. </item>
    18. </news>
    And here's the ActionScript part:
    1. // Initialize the xml object that our news will be loaded
    into
    2. var news_xml : XML = new XML();
    3. // ignore all whitespaces inside of our xml file
    4. news_xml.ignoreWhite = true;
    5. // when the xml recieves a return from the load() function
    call, execute this function
    6. news_xml.onLoad = function( success : Boolean ) {
    7. // if the xml file was successfully loaded
    8. if ( success ) {
    9. parseNews(this);
    10. }
    11. }
    12. // call the load function on the xml object, passing in
    the url of your xml file
    13. news_xml.load("xmlTutorial.xml");
    14. // this function will take our news xml object and parse
    it
    15. function parseNews( _xml : XML ) : Void {
    16. // first we create an array that holds all the values of
    the item nodes
    17. var items : Array = _xml.firstChild.childNodes;
    18. // now we want to iterate over every item in the items
    array
    19. // and parse the nodes as we see fit
    20. for ( var i : Number = 0 ; i < items.length ; i ++ ) {
    21. // here we set the text of the text field ( news_txt )
    22. // the first thing we add to the textfield is the
    headline then a line break
    23. news_txt.htmlText += "<b>" + items
    .childNodes[0].firstChild +"</b><br>";
    24. // next we add the string date followed by the date value
    in the xml file
    25. news_txt.htmlText += "Date: " +
    items.childNodes[1].firstChild + "<br>";
    26. // now we add the message, then two line breaks, only for
    formatting
    27. news_txt.htmlText += " " + items
    .childNodes[2].firstChild + "<br><br>";
    28. }
    29. }
    So far is everything clear to me. But what I want to do now
    is that after a user clicks on title, next happens:
    the current swf unloads
    the flash sends data to asp (ID of an article and ID of an
    author, which movie to load next).
    How do create a title/button?I know how to make a title to
    behave like a link (just add the
    http://... in the headline tag in XML
    document. But this,..... I just don't know how to do that.
    THX for any help

    2m, you are right. I should tell you about my concept. It's
    all on the paper yet, because this is how I work - first I write
    down everything on paper, study it and the next step in trying to
    make it work on computer.
    I have a main swf, I call it system.swf. System.swf receives
    the info about the swfs, it must be loaded from html tag
    <object><param>. The ID of the movies is send from
    flash to asp and then via <object>back to flash. Does that
    make sense? Is there a better way for that?
    So, the system.swf is loaded for the whole time - let's say
    it on level1. On level 2 are then loaded other swfs.It depends
    which content the user wants to see.
    About the article part:
    first the user sees the list of last articles (title, date
    and short description). When he/she clicks on the title, all the
    action happens:
    flash sends the data which article the user wants to read to
    asp, asp searches in data base for the requested article and
    creates xml, where are title, date and the whole content of the
    article.
    At the same time asp also sends via <object>tag in html
    the id of the swf that must be loaded and the id of the author of
    the article, so the swf, where the pictures of the all authors are,
    will know what picute must load (this is the second swf that is
    loaded on the article part - it's created like a gallery; the
    author of the active article is bigger and if the user wants to
    read the last article of other author, he/she just closes the
    picture and then the images are moving in a slider way and when
    he/she clicks on an image, it get larger and the last artcle of
    this author is loaded).
    And I wonder how can I make this all to happen: when the user
    clicks on a title, all the var action happens?
    If you have better idea how to create this, please, advice.
    THX for the help so far

  • How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?

    How do I get an activeX object reference from a LabVIEW ActiveXContainer ref?
    I'm trying to control an ActiveX object (a Web Browser) from another VI and need to get the object reference programmatically. I can get the LabVIEW ActiveXContainer reference, but am lost on how to get the reference for the object _inside_ the container.

    Hi Lee,
    The reference to the container is actually also accessing the object inside the container. Use the Property Node and Invoke Node to access properties and launch methods for the object. I've attached a small example that passes the reference to a SubVI and invokes a method inside the SubVI.
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    WebContainer.zip ‏21 KB

  • On my Mac desktop I must have changed a setting so that now when I move the mouse the open windows fly off to the sides and I can't see them. They come back when I move the mouse, but it is so annoying. How can I make the windows not disappear like that?

    On my Mac desktop I must have changed a setting so that now when I move the mouse the open windows fly off to the sides and I can't see them. They come back when I move the mouse, but it is so annoying. How can I make the windows not disappear like that?

    Click on the Hot Corners..  button and look at the four definitions.  In the picture below, if you moved the cursor to the right top of the screen, it would slide all the applications off the screen as you describe and show the desktop.  Set it to "-" to deactivate.

  • How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?

    Hi again,
         Umm.. How can I make my BlackBerry 8800 looks like BlackBerry 8900 or Bold?
              Thanks....
    Solved!
    Go to Solution.

    Hey janvaughnquero11,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    The BlackBerry 8800 smartphone has 4.2 or 4.5 software as the latest.  BlackBerry 5, 6 or 7 device software is not available for that model.  
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • My MacBook Pro died, but have a TimeMachine backup. I've bought a new one. How do I make the new one just like the old without affecting the OS on the new one?

    My MacBook Pro died, but have a TimeMachine backup. I've bought a new one. How do I make the new one just like the old without affecting the OS on the new one?

    ppauley wrote:
    My MacBook Pro died, but have a TimeMachine backup. I've bought a new one. How do I make the new one just like the old without affecting the OS on the new one?
    One you start up the new one for the first time, Setup Assistant starts and offers you the option of migrating your old Mac to your new Mac with Time Machine, among other choices, as the source. You can also use Migration Assistant (in the Utilities Folder) to do the same thing.

  • How do you make third party application window backmost using labview

    Hi Guys
    I know i can do whatever i want on labview windows.i can make third party application window frontmost.
    But How to make third party applicaiton window backmost using labview.
    Thanks

    Hi wenjie1wang,
    I have attached an example that uses the "Call Library Function Node" that accesses the "user32.dll" file that is responsible for manipulating with the windows such as minimising it. 
    After opening the VI you have to enter the name of the window you want to minimise, you can hard code that as a constant. Also on the front panel the control "nCmdShow" can be changed to dictate the action you want to do with the window. 
    Furthermore, please look at the Microsoft Developers Network to find more useful ways to use the property node in your project.
    http://msdn.microsoft.com/en-US/
    Let me know if this works.
    Regards
    Art
    Applications Engineer
    National Instruments
    Attachments:
    Minimise Window in Win7.vi ‏14 KB

  • E540 Make Ultranav middle click behave like mouse middle click

    I want the middle click on my Ultranav to behave like a middle click on a physical mouse does, where pressing down brings up the windows scroll thingy and makes me be able to open links in new tabs and close tabs. I don't see an option to do that. How can I change it?

    The mouse from my imac G4 did this due to a break in the cord inside the housing. In my case, a new mouse was the only solution. It was sporadic at first, then longer and longer till I couldn't single click anything anymore.

  • How do I make "destructive edits" in Lightroom like I do in ACR?

    Hey Guys,
    I recently made the switch from editing in Adobe Camera Raw to Lightroom and am disliking some of the workflow. I really enjoyed how in ACR the edits to my photos would save as soon as I hit done. There are many times were I need to close out of my of editing software quickly and don't have time to export everything out of light room. So as the question states, how do I make Lightroom save the changes I make to photos instantaneously without having to export them?
    Thank in advance,
    Matt

    I assume you are using XMP files with Camera Raw. You can do that with Lightroom if you choose the option to write changes to XMP sidecar files in your Lightroom preferences. But if you use a Lightroom with its default setup the adjustments you make are stored immediately in the catalog. You can stop and close Lightroom at any point, and when you return Lightroom will retrieve from the catalog all the adjustments you have made to whatever image you have highlighted in the develop module, or in the library module as far as that goes. I have chosen not to use XMP sidecar files, and rely on my catalog to store all of my Lightroom adjustments. Again, making an adjustment in Lightroom creates a history step in the catalog immediately. There's no need to export in order to keep all of your adjustments.
    Incidentally, regardless of how you set up your workflow, you cannot make "destructive" edits using Lightroom. Your master images always remain unmodified as far as the file contents are concerned.

  • How do I make firefox 4 look more like firefox 3?

    I am considering updating the household computers to firefox 4, however, the older members of the household dont do changes with their computers very well, to that end, I wish to know how to make firefox 4 look like firefox 3.

    If you do not like the new appearance of Firefox 4 then you can change some setting to restore the Firefox 3 appearance.<br />
    You can right click the orange Firefox button to open the toolbar context menu or use (F10) View > Toolbars.
    * Click "Menu Bar" to place a check mark and make the Menu Bar visible all the time.
    * Click "Tabs on Top" to remove the check mark and place the Tab Bar at its original position just above the browser window.
    * https://support.mozilla.com/kb/why-are-tabs-top
    You can use this extension to get the Status Bar back:
    * Status-4-Evar: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    More tips here:
    * http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/

  • How do I make multiple different objects look like they belong in another environment?

    For example, photos of city buildings put onto a green field. The colors do not match and the lighting is all wrong, im sorry if this is a really basic question to ask but please help, thanks!

    This is an example. I would like to make the color scheme a greenish post apocalyptic color. I'm not too sure how.

  • How do i make a jpeg flag look likes its waving

    i have a jpeg of a specific flag that i am trying to make it a loop. whats does it take to make the jpeg look like its waving in the wind? The only thing i have successfully done is put a ripple dissolve across the whole thing and it looks like... well, i put a ripple effect on the flag. any advice?

    Library > Filters > Distortion Filters > Wave is the one you want if working in Motion. From the User manual:
    Wave
    Distorts the object to simulate waves oscillating across it. The wave filter is not automatically animated, but you can animate the Offset parameter to animate the effect of waves causing the image to undulate.
    Parameters in the Inspector
    Amplitude: Sets the amplitude of the waves. Values range from 0 to 100.
    Wavelength: Sets the length of the waves. Values range from 1 to 100.
    Offset: Sets the offset of the wave, with values ranging from –500 to 500.
    Vertical: Toggles whether the waves run vertically or horizontally.
    Repeat Edges: Toggles whether or not the edges of the object are repeated.
    Dashboard controls
    The Dashboard contains the Amplitude, Wavelength, Offset, and Vertical controls.

Maybe you are looking for