How to replace a whole class?

Hello,
What is the best and fastest way to replace a whole LabView class by another one?
I have developed an application based using a LV class. Then I have copied the class to a new location and improved it and I have developed new VIs in the copied class. Now I would like to bring that class back to the application with a simple "replace with...". But in the context menu it is grayed out.
The reason why I copied the class to a new location is that I wanted to keep a running version of my project and to make some minor changes in the main VI. The changes in the LV class took more time and where some basic changes in concept but without affecting the names and the connector of the subVIs. So a simple replace all VI would do. Does anyone knows whether there is such a tool? Or how do I perform this?
Regards, Jörn

I am aware of changing a SubVI with Find and Replace. But the class which I have created consists of about 40 VIs whereby some of them are used about 10 times in the main program. So changing them manually takes some awful time. (The last time when I tried to do it this way LabView 8.6 crashed multiple times so I need to spend this awful time repeatedly.) While replacing the VIs of one class by the VIs of the new class both classes get mixed up. Easily VIs of the old class get overwritten by mistake. 
Do you think it is reasonable to
1. change inheritance to make the old class an ancestor of the new class
2. change the class Ctls (which by the way cannot be searched using CTRL + F) from ancestor/old class to child/new class
3. save the main VI
4. undo the inheritance
Regards, Jörn

Similar Messages

  • How to replace a whole website

    I recently redid a whole website for a friend and want to
    take all of his old web site down and replace it with mine which is
    currently stored on my computer, can someone tell me the steps of
    how to do this? Thanks

    You'll need to ftp onto the server where it is hosted,
    (probably best to
    download all the existing files to a temp dir - just in case)
    then delete
    them off the server, or store them in a /temp folder, then
    upload all of
    your files. Not much to it really.
    Brendon
    "billugs" <[email protected]> wrote in
    message
    news:e4gbg3$i9f$[email protected]..
    >I recently redid a whole website for a friend and want to
    take all of his
    >old
    > web site down and replace it with mine which is
    currently stored on my
    > computer, can someone tell me the steps of how to do
    this? Thanks
    >

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All,
    I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
    method if_fpm_guibb_form~get_definition.
    field-symbols: <fs_field_description> like line of et_field_description.
    call method super->if_fpm_guibb_form~get_definition
    importing
    es_message = es_message
    eo_field_catalog = eo_field_catalog
    et_field_description = et_field_description
    et_action_definition = et_action_definition
    et_special_groups = et_special_groups
    ev_additional_error_info = ev_additional_error_info.
    read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
    set search help name of field 'bank key'
    if <fs_field_description> is assigned.
    <fs_field_description>-ddic_shlp_name = 'H_BANKEY'
    endif.
    endmethod.
    I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
    I tried to use sap memory ID but it doesn't works well.

    This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
    That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it.

  • How to highlight the whole row of a particular line item of sale

    How to highlight the whole row of a particular line item of sales order depending on condition?
    Please help its urgent..
    Looking forward your reply.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not flag posts as "urgent".
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 9, 2011 9:30 AM

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How to replace sapdba with brtools after upgrade database to 10.2

    All,
        I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    but can't run analyze table and dbcheck in db13,
    seems to still use SQLDBA when run analyze table and dbcheck.
    please refer to the below informations.
    Detail log:                    0810080300.aly
    *****                 SAPDBA - SAP Database Administration for ORACLE     *****
    SAPDBA V6.10    Analyze tables
    SAPDBA release: 6.10
    Patch level   : 1
    Patch date    : 2001-05-25
    ORACLE_SID    : PRD
    ORACLE_HOME   : /oracle/PRD/102_64
    ORACLE VERSION: 10.2.0.2.0
    Database state: 'open'
    SAPPRD       : 46C
    SAPDBA DB USER:  (-u option)
    OS login user : prdadm
    OS eff.  user : prdadm
    SYSDBA   priv.: not checked
    SYSOPER  priv.: not checked
    Command line  : sapdba -u / -analyze DBSTATCO
    HOST NAME     : sapprd1
    OS SYSTEM     : HP-UX
    OS RELEASE    : B.11.31
    OS VERSION    : U
    MACHINE       : ia64
    Log file      : '/oracle/PRD/sapcheck/0810080300.aly'
    Log start date: '2008-10-08'
    Log start time: '03.00.09'
    ----- Start of deferred log ---
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSDBA
    SAPDBA: Couldn't check SYSDBA privilege.
    SAPDBA: Can't find the executable for SQLDBA/SVRMGR. Please, install one of
            them or enter one of them in the SAPDBA profile (parameter
            sqldba_path).
            (2008-10-08 03.00.06)
    SAPDBA: Error - running temporary sql script
            '/oracle/PRD/sapreorg/dbacmd.sql' with contents:
    CONNECT /******** AS SYSOPER
    SAPDBA: Couldn't check SYSOPER privilege.
    ----- End of deferred log ---
    Analyze parameters:
    Object: All tables in table DBSTATC ( for DB optimization run )
    Method: E ( Default )
    Option: P10 ( Default )
    Time frame: 100 hours
    Refresh   : All objects
    Option: DBSTATCO ( for the DB optimizer: Tables with Flag DBSTATC-TOBDO = 'X' )
    ** Refresh Statistics according control table DBSTATC **
    Total Number of Tables in DBSTATC to be analyzed:                           170
    Number of Tables with forced statistics update (ACTIV = 'U'):                 0
    SAPDBA: SELECT USER# FROM SYS.USER$ WHERE NAME='SAPPRD'
    ORA-00942: table or view does not exist
               (2008-10-08 03.00.09)
    SAPDBA: Error - getting size of segment 'SAPPRD.D010INC'
    SAPDBA: Error - during table analysis - table name: ->D010INC
    SAPDBA: No tables analyzed ( No entries in DBSTATC with TOBDO = X or errors ).
    SAPDBA: 0 table(s) out of 170 was (were) analyzed
            Difference may be due to:
               - Statistics not allowed ( see DBSTATC in CCMS )
               - Tables do not exist on database and were skipped
    Detailed summary of Step 1:
    Number of Tables that needed new statistics according to DBSTATC:             1
    Number of Tables marked in DBSTATC, but non-existent on the Database:         0
    Number of Tables where the statistics flag was resetted:                      0
    ******* Creating statistics for all tables without optimizer statistics *******
    SAPDBA: Using control table DBSTATC
            for taking optimizer settings into account
    SAPDBA: 0 table(s) without statistics were found.
    SAPDBA: 0 table(s) ( out of 0 ) was (were) analyzed/refreshed.
            0 table(s) was (were) explicitely excluded or pool/cluster table(s).
    SAPDBA: 0 index(es) without statistics was (were) found.
    SAPDBA: 0 index(es) ( out of 0 ) was (were) analyzed/refreshed.
            0 index(es) was (were) explicitely excluded or pool/cluster indexe(s).
    SAPDBA: 157 table statistics from 157 tables were dropped.
            They are either explicitely excluded in DBSTATC,
            or R/3 Pool- or Cluster- tables
            that must not have CBO Statistics
    SAPDBA: The whole operation took 10 sec
    SAPDBA: Step 1 was finished unsuccessfully
    SAPDBA: Step 2 was finished successfully
    Date:   2008-10-08
    Time:   03.00.19
    *********************** End of SAPDBA statistics report ****************
    How to replace sapdba by brtools?please give me support,thanks.
    Best Regards,
    Mr.chen

    >     I have update our database to oracle 10.2,my brtools version is 7.0 now ,
    > but can't run analyze table and dbcheck in db13,
    > seems to still use SQLDBA when run analyze table and dbcheck.
    Yes, it does so, because somebody forgot to upgrade the BASIS SP as well...
    What BASIS SP are you using?
    regards
    Lars

  • How to zip a whole catalog with Java?

    can you tell me how to zip a whole catalog?
    i am not able to find a method that can zip a whole catalog and the files in it.
    please help me,thanks

    The following program is an extension of the code posted at:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=48084
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream ;
    import java.util.zip.CRC32;
    import java.util.zip.ZipEntry;
    import java.util.zip.ZipOutputStream;
    import java.util.Date;
    public class NZipCompresser {
       private String m_basePath=null;
       private File m_dir = null;
       private String m_OutputFileName;
       public static void main(String[] args) {
          File directory=new File(args[0]);
          new NZipCompresser(directory, args[1]);
       public NZipCompresser() {
       // This class gets directory and compress it reqursivelyinto zip file named outputFileName
       public NZipCompresser(File directory,String outputFileName) {
          m_dir = directory;
          m_OutputFileName = outputFileName;
          try {
             compress();
          } catch (Throwable e) {}
       public void compress () throws Exception {
          try {
             FileOutputStream zipFilename = new FileOutputStream(m_OutputFileName) ;
             ZipOutputStream zipoutputstream = new ZipOutputStream (zipFilename);
             m_basePath = m_dir.getPath();
             CompressDir (m_dir,zipoutputstream);
             zipoutputstream.setMethod(ZipOutputStream.DEFLATED);
             zipoutputstream.close();
          catch (Exception e) {
             throw new Exception ("Something wrong in compresser: " + e);
       public void setDirectory (File dir) {
          m_dir = dir;
       public void setOutputFileName (String FileName) {
          m_OutputFileName = FileName;
       public File getDirectory () {
          return m_dir;
       public String getOutputFileName () {
          return m_OutputFileName;
       //Walker through directory structure
       private void CompressDir (File f, ZipOutputStream zipoutputstream) {
          System.out.println(f);
          if (f.isDirectory()) {
             File [] files = f.listFiles();
             for (int j=0;j<files.length;j++) {
                if (files[j].isDirectory()) {
                   System.out.println("calling CompressOneDir with:"+files[j].getPath());
                   CompressDir (files[j],zipoutputstream);
                if (files[j].isFile()) {
                   System.out.println("adding file:" +  files[j].getPath());
                   addOneFile(files[j],zipoutputstream);
          System.out.println("exiting:"+f);
       //Actualy compress the file
       private void addOneFile (File file, ZipOutputStream zipoutputstream) {
          ZipEntry zipentry = new ZipEntry(file.getPath().substring(m_basePath.length()+1));
          FileInputStream fileinputstream;
          CRC32 crc32 = new CRC32();
          byte [] rgb = new byte [1024];
          int n;
          //Compute CRC of input stream
          try {
             fileinputstream = new FileInputStream(file);
             while ((n = fileinputstream.read(rgb)) > -1) {
                crc32.update(rgb, 0, n);
             fileinputstream.close();
          catch (Exception e) {
             System.out.println("Error in computing CRC:");
             e.printStackTrace();
          //Set Up Zip Entry
          zipentry.setSize(file.length());
          zipentry.setTime(file.lastModified());
          zipentry.setCrc(crc32.getValue());
          //Write Data
          try {
             zipoutputstream.putNextEntry(zipentry);
             fileinputstream = new FileInputStream(file);
             while ((n = fileinputstream.read(rgb)) > -1) {
                zipoutputstream.write(rgb, 0, n);
             fileinputstream.close();
             zipoutputstream.closeEntry();
          catch (Exception ex) {
             System.out.println("Error in writing data:");
             ex.printStackTrace();
    }Compile this program and run it as follows:
    java NZipCompresser directory_name zipOutput_name
    Is this what you're looking for?
    V.V.

  • How to replace a character in a string with blank space.

    Hi,
    How to replace a character in a string with blank space.
    Note:
    I have to change string  CL_DS_1===========CM01 to CL_DS_1               CM01.
    i.e) I have to replace '=' with ' '.
    I have already tried with <b>REPLACE ALL OCCURRENCES OF '=' IN temp_fill_string WITH ' '</b>
    Its not working.

    Hi,
    Try with this..
    call method textedit- >replace_all
      exporting
        case_sensitive_mode = case_sensitive_mode
        replace_string = replace_string
        search_string = search_string
        whole_word_mode = whole_word_mode
      changing
        counter = counter
      exceptions
        error_cntl_call_method = 1
        invalid_parameter = 2.
    <b>Parameters</b>      <b> Description</b>    <b> Possible values</b>
    case_sensitive_mode    Upper-/lowercase       false Do not observe (default value)
                                                                       true  Observe
    replace_string                Text to replace the 
                                         occurrences of
                                         SEARCH_STRING
    search_string                 Text to be replaced
    whole_word_mode          Only replace whole words   false Find whole words and                                                                               
    parts of words (default                                                                               
    value)
                                                                               true  Only find whole words
    counter                         Return value specifying how
                                        many times the search string
                                        was replaced
    Regards,
      Jayaram...

  • How to search for available class in given package?

    How to search for available class in given package or sub package?

    Finally i did it. I make hibernate and spring without much configuration. I just pass the package pattern to search for all bean. I named it package pattern injection.
    My website is still under construction yet. It named Jimmy6 Framework.
    The code it just the following for all hibernate and spring bean for the whole project.
    <bean id="sessionFactory" class="com.j6.framework.JAnnotationSessionFactoryBean">
              <property name="annotatationOrHbmXmlPackagePattern">
                   <list>
                        <value>com\.j6\.project.+?\.vo\..+?</value>                    
                   </list>
              </property>               
    <bean id="autoBeanCreatorFactoryManager" class="com.j6.framework.resource.AutoBeanCreatorFactory">
              <property name="packagePatterns">
                   <list>
                        <value>com\.j6\.project\..+?\.manager\..+?</value>
                   </list>
              </property>
         </bean>
         <bean id="autoBeanCreatorFactoryDao" class="com.j6.framework.resource.AutoBeanCreatorFactory">
              <property name="packagePatterns">
                   <list>
                        <value>com\.j6\.project\..+?\.dao\.hibernate.+?</value>
                   </list>
              </property>
         </bean>Feel free to have a look and gv some comments. Thanks :)
    Regards,
    Jimmy6
    Edited by: jimmy6 on Nov 4, 2008 8:15 AM

  • How to replace in a String

    I really want to know how to replace " in a String with replaceAll()
    I want to replace " with \"
    Unortunately I am not able to do it with :
    xml = xml.replaceAll("\"", "\\\"");Can u please suggest something
    thanks

    public class Test {
    public static void main(String[] args) {
       System.out.println("abc>def".replaceAll(">","\"+"));
    }Output:
    abc"+def

  • My Macbook Air hinge is broken. How to replace it.

    My Macbook Air hinge is broken. How to replace it.

    Don't bother if it's not under warranty. I had the same problem. They wanted $440 for a whole new display. Bought a new Droid tablet for that price

  • Identiying what screen I need to replace a screen on a hp630 and how to replace

    Hi
    I have a hp530 which needs the screen replaced. I have the Product No: A6E95EA#ABU.   #could possible advice me on the part number for the following:
    Part number with enclosure and wireless components
    Part number of RAW lcd panel
    And also instructions and how to replace the screen
    Kind regards
    Zara

    Here is the Service Manual which will answer all your questions:
    Manual
    The whole lcd unit with wireless cables is 440716-001 and the panel is 440711-001
    If you open up the display housing and get the screen model you can also have a lot more choices in finding a lower cost replacement. It is a 15.4 inch lcd screen....very common and relatively inexpensive:
    http://www.ebay.com/itm/HP-530-DV6000-DV500-LCD-Screen-15-4-N154I2-L02-REV-C2-Laptop-Tested-/2308974...

  • How to replace video chip. hp pavilion g4 notebook

    hp pavilion g4 notebook. apparently video chip burnt out. computer does seem to run hot. dead black screen but makes all
    the other customery noises. video chip burnt? If so, what to do and how to do it?   Product key: gf6hx-2ymk7-hm9kv-r488-wqvr7

    Hi,
    From your message, it can be anything, not the video chip, can be the HDD. g4 is a series of many models/products and on many models the video chips are soldered to the motherboards that means you have to replace the whole board. Again, we need to know your machine. Please use the following instructions for find out the model/product of your machine:
        http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&cc=us&docname=c00033108
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Left command key has broken off - how to replace?

    So a few days ago I caught my left command key with my nail and the top half of it lifted away from the mechanism underneath. I pressed it until I heard it click back into place and then merrily continued using my computer as usual. Today I was typing and the whole thing just came off under my thumb, which is annoying to say the least.
    The biggest issue is that as I was trying to reconnect key to mechanism, the little criss-cross doohickey came off as well! I am left with a little silicon nipple which, while titilating, is not really conducive to the kind of high volume typing I'm used to!
    I really don't want to pay 40 bucks to get Apple Support to replace a single key for me - I just need to know how to do it myself. It's only one key and I could probably learn to get used to using the right one, but it would be easier if I could just click it back into place. It's not broken, the mechanism itself seems fine and the key works if I push the little nubbin, so I'm not concerned about that. I just think $40 is too much to pay someone to click a key back into place! I wasn't even doing anything out of the ordinary with it like trying to remove or replace the keys T^T
    I'm especially gutted since I just bought a new iPhone from the same Apple shop I bought my laptop like three days ago - if I'd known my laptop was gonna bust I'd have saved myself the money and spent it on repairs instead! Fml, right?
    Any help you folks can offer would be very gratefully received - if it comes down to it and I have to fork out the money then I'll do so, but I'd like to explore community options first on the off chance that someone knows how to replace the mechanism and key without having to lug my computer all the way into the city to get it fixed xD
    Thanks in advance!
    Ehryn

    It's pretty easy to do, get something thin like a credit card and run it along the bottom and sides of the keyboard and there are several bracket things that will pop the keyboard up when you pressure them. There will be a couple of cables to clip out behind it so lift it up gently.
    You should be able to find a video on youtube anyway!
    Try this site for the keyboard http://www.replacementlaptopkeys.com/toshiba_qosmio_laptop_key.html
    It shouldn't be too hard to track a replacement down.

  • How to replace touchpad buttons? Hp hdx18 1010ea

    Hi
    I hope some one can help.... i have lost my left touchpad button on my HP hdx18 1010ea..My laptop is out of warranty and i cannot find any info on how to replace it or where to obtain the spare parts...I have spent ages on the HP site and it's useless i enter my part number of my pc then it confirms the model ..but then when i click parts i need it just goes back to asking my model number?..
    Hope some one can help...
    Robert
    This question was solved.
    View Solution.

    sasman1964 wrote:
    Hi
    I hope some one can help.... i have lost my left touchpad button on my HP hdx18 1010ea..My laptop is out of warranty and i cannot find any info on how to replace it or where to obtain the spare parts...I have spent ages on the HP site and it's useless i enter my part number of my pc then it confirms the model ..but then when i click parts i need it just goes back to asking my model number?..
    Hope some one can help...
    Robert
    Hi,
    According to a service manual, the touchpad is a part of the top cover. You have to replace whole top cover..
    Top cover part number: 496881-001
    Service manual: http://h10032.www1.hp.com/ctg/Manual/c01705400.pdf
    See page 71 how to replace it..
    http://www.amazon.com/gp/product/B004VEPK60/ref=as_li_ss_tl?ie=UTF8&tag=heaprcom05-20&linkCode=as2&c...
    Have look on ebay or use google to find the cheapest one..
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • How to replace power adapter for PowerBook G4

    I have a three year old powerbook G4 and the power adapter is toast (at least I think that's the problem). Doesn't charge and no illuminated ring around the connector to the computer.
    Does anyone know how to replace this? Can't find it anywhere online or at Mac retailers.
    Thanks.

    Replace the power adapter plug? Most folks won't bother, it's a hassle. The whole adapter is easily available from any Mac vendor. But before replacing anything, have you tried the following:
    -reset the Power Management Unit (PMU)
    http://support.apple.com/kb/HT1431?viewlocale=en_US
    -reset the PRAM
    http://support.apple.com/kb/HT1431?viewlocale=en_US
    -unplug the power adapter from the wall socket for a while to reset.

Maybe you are looking for