How do I update my ActiveX controls without breaking existing VIs?

Hi, I'm new to LabView. I've inherited a labview application that makes use of several user-written VIS. All these vi files use an ActiveX control. For better or worse, the way they've done it is to put a ActiveX Container on the front panel. They then picked "Insert ActiveX Control", and picked the correct OCX. In the block diagram, they set up a "Invoke" Node and wire the ActiveX control to that.
The problem occurs when I update the ActiveX control. I added a couple of methods and reregistered it. When I run one of my vi files, I get:
Error 0 occurred at VI Open & Init Spinstand
Possible Reasons....
I then thought that going to the front panel and deleting the ActiveX control and reinser
ting it would work. Instead I got the message:
Error 1598667368 occurred at VI open & Init...
I should point out that I'm not even attempting to use the new function yet; I'm just running an old .vi file with the updated ActiveX control.
The version of LabView I'm using is 6.0.2. Can anyone tell me what's going on? Is there a way to gracefully update the ActiveX control? I'm I adding ActiveX controls in the best way?
Any help or references would be greatly appreciated.
Thanks,
Andrew Walker

Updating *.OCX OR *.DLL Component When Active X Automation Interface has Changed
Given that you have changed the ActiveX automation interface, e.g: by appending new functions, then, the original 'registered' ActiveX server automation interface is no longer compatible with the new one.
In this case you must: (1) �un-register� the original interface; (2) Copy the New *.OCX/*.DLL File over the previous ones; (3) Then �re-register the new interface�; (4) After that you must visit ALL your LabVIEW Diagram �PROPERTY� and �METHOD� ActiveX automation nodes and re-reference those same functions.
These FOUR (4) Steps are further explained below:
1. Unregister the *.OCX or *.DLL file by running the command
Regsvr32 /u ��
Make sure that points to the full path name for your *.OCX or *.dll file. You must use the opening and closing quotes if your file path has spaces.
2. Copy the new *.OCX or *.DLL files over the old ones
This means that you will be over-writing the old *.OCX or *.DLL with the new files. Replacing these files is re-commended so that you do not end up with multiple copies of the same file.
3. Register The New *.OCX Controls
Register the new controls by running the command
Regsvr32 ��
This will now honor your new ActiveX automation interface in place of the last one.
4. Re-Visit All �PROPERTY� and �METHOD� Nodes and Re-Reference the same functions that appear in those nodes
This means that you will be right-clicking on all the existing PROPERTY and METHOD nodes and choosing the functions accordingly from the drop-down list-view/menu. If the list view is grayed-out, then Steps 1 to 3 did not take!
NB: GOTCHA FOR *.DDL Users
If you have sub-VIs that use the *.dll Ref icon then you will have to cut and re-insert this reference control in all those sub-Vis. A quick way is to copy the top level *.Dll ref icon and paste it over the control and indicator versions of the same in those sub VIs.
These four Steps plus the 'Gotcha Step' have worked consistenly when I have had to update ActiveX controls featuring a changed automation interface.

Similar Messages

  • How do i update to itunes 11 without losing all my music

    How do I update to Itunes 11 without losing all my stuff on my current itunes (10.6.3)

    Welcome to the Apple Support Communities
    You won't lose songs when you update iTunes to the most recent version, but I recommend you to make a copy of your library in another folder. After updating, open iTunes and it will update the library to use it with the most recent version

  • I just got a replacement i phone and i was setting it up and I cannot restore it with my iTunes because the soft wear is to old how to i update the soft wear without running the process

    I just got a replacement i phone and i was setting it up and I cannot restore it with my iTunes because the soft wear is to old how to i update the soft wear without running the process

    Hi Balzer1313,
    Thanks for visiting Apple Support Communities.
    If you have an older version of iTunes installed on your computer, you can update it using this menu option:
    Windows: Choose Help > Check for Updates.
    Mac: Choose iTunes > Check for Updates.
    From:
    iTunes: How to install the latest version
    http://support.apple.com/kb/ht5654
    If iTunes is not installed on your computer, you can download it here:
    http://www.apple.com/itunes/download/
    Cheers,
    Jeremy

  • How can i create an apple id without using a visa or credit card

    how can i create an apple id without using a visa or credit card

    Follow the directions here, EXACTLY:
    http://support.apple.com/kb/ht2534

  • How to find references to ActiveX control

    Is there a way to determine where an activex control is used within a labview project?  I have a moderately large project that previously used an adhoc combination of XML parsers, including the ActiveX XML parser from Microsoft (MSXML).  I am trying to replace all instances of MSXML with either the builtin labview XML VI's or calls to our own DLL that make more complicated sequences of calls to the Xerces/Xalan XML libraries.  I want to make sure I replaced all references to the MSXML parser without having to inspect all the VI's in the project.  I was hoping that I could right click on an "Open Automation" function block and select the "Find All Instances" option, but apparently this is not availible as it is for a VI I created.  Also, I was hoping that if I went to the Project Explorer, it would show that the msxml.dll file was listed as a dependency where I could do a "Find Callers" like an ordinary dll referenced through a "Call Library Function Node".  Does anyone have a suggestion on how I can automate this search?  
    Thanks.
    Solved!
    Go to Solution.

    The "Find all Instances" is only available for VIs that you create, but you can still search for the Automation Open function in your project. Just open your project and open up a VI. Then select Edit -> Find and Replace. In this dialog you can search for specific functions across the entire project.

  • How do I update linked FM files without losing TOC entries or Map IDs?

    Hi,
    I'm using RH 10 with linked FM 11 files to create a WebHelp project and this is what happens when I do an update or force update of a linked file in the RH project:
    After the update, the topic that contains updated content gets deleted from project TOC in RH.
    After the update, any Map IDs assigned to the topic that contains the updated content are deleted.
    Can someone please advise how to update a linked file without losing TOC entries or Map IDs?
    Thanks a bunch!
    Gabe

    HI Gabe,
    You will want to link the TOC from FM in your conversion settings, and set the map id's via TopicAlias markers in FM.
    -Matt
    Matt R. Sullivan
    co-author Publishing Fundamentals: Unstructured FrameMaker 11
    P: 714.960.6840 | C: 714.585.2335 | [email protected]
    @mattrsullivan LinkedIn facebook mattrsullivan.com
    http://mattrsullivan.com/

  • How do you fix the ActiveX controls?

    When trying to play games in IWin the message comes up and says and beeps that the ActiveX controls isn't working on some level. Do I need to worry about this message? If I do, how do I go about fixing this problem. Do I need to upgrade this control?

    Hi idpress2002, the only browser that runs ActiveX controls is Internet Explorer.
    Can you run the demos on the Ajatix page here in your Firefox: [http://www.ajatix.com/lightbox/expression-web-add-in.html]? (Scroll down to "Lightbox examples")
    ''If so,'' you may need vendor support on how to get it to work through Expression Web in your page.
    ''If not,'' your Firefox may not be configured correctly. Please start a new question providing your system details and add-on information. You can do that here:
    https://support.mozilla.org/en-US/questions/new/desktop/websites

  • How to create array for activex control

    Now I am using microsoft form 2.0 combo box activex control in LabVIEW. My problem is I cannot create control array for the combobox like in visual basic. In visual basic, if we want to create control array for combo box or else, we just copy and paste onto the same form.
    For example if I copy combo1 and paste it onto the same form it will become 2 combo box i.e combo1(0) and combo1(1). So,how can I make same like that in labview using that activex?

    I'm sorry,I do not really understand. I've tried what have you told me by using automation refnum, but it is not working.
    I attached the file. if, let say , I want to make this three combobox red back colour simultanously, how to do it?
    Attachments:
    combo_box_activex.vi ‏28 KB

  • HT4972 I have ipad version 4.3.2.  I have music on there that I want to keep.  when I go to itunes i cannot backup those music.  how can i update to ios 7 without losing the music?

    I have ipad version 4.3.2 and I want to update to ios7.  However, I cannot backup my musics on itune.  How can I update without losing my musics?

    Updating will not cause you to lose data but things can always go wrong. You should definitely backup before you update. I assume you have music on the device that was not purchased in iTunes and synced with a different iTunes library. You can transfer these songs back to your computer with third party software such as TouchCopy.

  • HT1338 how do i update my iphone 3 without itunes

    how do i update my iphone 3 with out itunes its giving me problems with updating it and i need the update in order to downlaod anything on it

    An iPhone 3G can only be updated to iOS 4.2.1, & this requires iTunes. Thus, to update your phone, you must do so through iTunes on your computer.

  • 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

  • No longer able to insert ActiveX controls or use existing ActiveX controls in Word documents

    Using Word 2010 32bit on Windows 7.1 64bit OS.
    I have a document with several ActiveX controls that I use as a template to generate new documents.  This morning I installed the monthly roll-out of Windows/MS Office updates and then rebooted.  After rebooting, when I opened my Word document,
    I could not use the controls. 
    As far as I can tell, the controls are not disabled in security but are actually not recognized.  If I go into Developer Mode and open the Properties from the context menu on one of the ActiveX controls, the Properties dialog opens but shows properties
    for the main document and not for the control.  If I try to drop a new ActiveX control in a blank document, I get the following message from Microsoft Word: "The program used to create this object is Forms.  That program is either not installed
    on your computer or it is not responding.  To edit this object, install Forms or ensure that any dialog boxes in Forms are closed."  I have not been able to find any information on a program called "Forms".  Is this some component
    of Word that has been corrupted?
    I don't think there is any problem with the actual document because I can still open and use it on another machine running Word 2010 (where the latest updates have not been installed).

    Among the monthly updates for March 2015 is a series of updates that should correct the problem. Use Windows Update to get them.
    The relevant updates are:
    Word 2007: http://support.microsoft.com/KB/2956109
    Excel 2007: http://support.microsoft.com/KB/2956103
    PowerPoint 2007: http://support.microsoft.com/KB/2899580
    Word 2010: http://support.microsoft.com/KB/2956139
    Excel 2010: http://support.microsoft.com/KB/2956142
    PowerPoint 2010: http://support.microsoft.com/KB/2920812
    Office 2013: http://support.microsoft.com/kb/2920754
    Word 2013: http://support.microsoft.com/KB/2956163
    PowerPoint 2013: http://support.microsoft.com/kb/2965206
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How do you update an Apple ID on an existing device?

    I 've had an iPad for years and recently had to change my Apple ID from a name to an email address.
    How do I update the iPad to my "new" Apple ID? I think that's why I can't update any of my apps since the prompt still has my old Apple ID.

    On your iPad...
    Settings > iTunes and App Store > Apple ID = Sign Out...
    Then Sign In using the preferred Apple ID

  • How to run setup for new datasources without breaking old datasources?

    Hi,
    I am wondering how to install some more data sources (2LIS_05_Q0NOTIF, 2LIS_17_10NOTIF and 2LIS_18_10NOTIF) without breaking the delta mechanism for other data sources when I start to use the new datasources.
    I have installed some QM cubes (0QM_C04, -05, -08 and -11) and delta loads run every night.  Now I want to add two more cubes (0QM_C02 and -03). The new cubes use datasources that are not yet available.
    If I now activate the needed datasources, delete the content of the setup tables again and run 'Application-Specific Setup of Statistical Data' for 'Quality Management', 'Plant Maintenance' and 'Service Management', I am afraid that I will re-initialize the delta queue for the datasources that are already in use... In other words: I am afraid of breaking all datasources in application 05, 17 and 18...
    I cannot find documentation addressing this problem. Any input, anyone?
    Best regards,
    Christian Frier

    Hi all,
    if I understand you all correctly, I can use the following plan:
    0) Wait until no documents are posted on the R/3 side.
    1) Run the delta loads and check that the queues are empty (RSA7 and LBWQ).
    2) Delete the setup tables.
    3) Run the 'Application-Specific Setup of Statistical Data'
    4) Create and execute infopackages for initial dataload (for the new datasources).
    5) Create and execute infopackages for delta loads      (for the new datasources).
    6) Run the infopackages for delta load from the 'old' datasources without running a new initial dataload.
    So basically 6) is the step I worry about.
    That is that I can start to use 2LIS_05_ITEM, 2LIS_17_ITEM and 2LIS_18_ITEM without breaking the delta sequence for 2LIS_05_TASK, 2LIS_17_TASK and 2LIS_18_TASK.
    regards,
    Christian

  • Is there a way to rename a template without breaking existing pages using the 'old' template?

    Hi guys,
    I am using CQ 5.4. and I want to refactor existing code of a project. Part of that involves renaming existing templates. Renaming one locally, I saw that existing pages break because they can't 'find' the old template. is there a way to rename a template without breaking those pages?
    Thanks,
    Alex

    I'm not aware of any GUI tool that does this in Leopard. you can change the names of the share points by hand by editing the appropriate plists located in /private/var/db/dslocal/nodes/Default/config/SharePoints/ but that's a pretty horrible way to do it and is the opposite of user friendly. don't know any other way though.

Maybe you are looking for