Need help to write a program for the acquisition of signals.

Hello

I need to write a program that will do the following:

1 acquire two signals simulated,

2. make 10 averages the signal,

3. filter the signal,

4. display the signal in its raw form and the power spectrum (fft),

5. save the data using writing to the file vi

I tried it for awhile, but there's always something does not... None of the experts LabVIEW here can help me?

Thank you 1 million.

-Deet

No one here is going to do your homework for you. Please join what you have written so far and explain the specific problem that you are experiencing.

Tags: NI Software

Similar Questions

  • Need help to decode javascript tag for the release of HTML5.

    Hi all

    I'm working on a project in Adobe captivate 7 64 bit which consists of approximately 500 slides with most of the slides in text and image. The problem that I face is very unusual that I guess I'm the first to discover (according to my searches on google and the forums). So, after I publish my project the output works very well in html (local and online) BUT when I run index.html (i.e., out of HTML5) the course is not running and the screen is blank.

    After spending a week on the search online and using the strategy of trail and error, I was able to know that it was the text of the URL "F:\usrnew\purchase" placed in the middle of the course which caused damage of all. However, the url has been removed and the project has been submitted.

    After extra time, I discovered that the "\u" letter which is a JavaScript tag was causing the problem for the release of HTML5. I don't really know much to script, but discovered that the tag can be decoded using a programming strategy. Now, this is where my knowledge comes from a standby and needs a lift from you guys.

    Any ideas, help, sharing of knowledge would be very useful to me and all who could deal with this problem in the future.

    Looking forward for your point of view.

    Kind regards

    Mirza

    Voila! The problem is resolved.

    Solution: Change the single slash "------" to a double slash "\".

    See you soon,.

    Mirza

  • Need help to provide a page for the Oracle PeopleSoft HCM on internet

    Hello

    I need help to provide that a page of Oracle PeopleSoft HCM on internet for vacancies may be available for recruitment. How can I provide a Peoplesoft Web page?

    TKS

    Bruno will read

    Of Peoplebooks

    Access to external Sites

    External candidates, by definition, do not have the nicknames PeopleSoft. To allow external users access to a site, you put a link to the site on a location such as your public Web site. The site definition includes a field to set the URL of this external link.

    Deployed in this mode, the instance of PeopleSoft to be accessed by external users must have the appropriate security settings to allow users to bypass the access code. In other words, a user who clicks on the link is not presented with a PeopleSoft signon pages but is instead signed the using a user ID generic comments so that the user can be taken directly to the candidate Gateway.

    If an external candidate allows a more inactive candidate gateway session that the timeout you set, the default system behavior is to provide a link to the login page of PeopleSoft with the visible invited user ID.  According to your logic of password, the guest user ID might be locked if the applicant tries in vain to connect. For more security and ease of use, replace the code page to a page that displays an appropriate message.   For example, to display a message that the session has expired and provide a link back to the bridge of the candidate.

    Development of Sites

  • Need help with a query complex for the production database

    Hello again,

    I need your help once again, for a query how to show me how long each stage of production is by order.
    See examples of data and what I expect.
    Thank you all for your help.

    We use Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Here the example data tables:
    CREATE      TABLE      TABLE_2
       
    (     "ORDER_NR"      VARCHAR2 (12)
    ,      "PRIORITY"      VARCHAR2 (2)
    ,      "WO_STEP"      VARCHAR2 (1)
    ,      "STEP_DATE"      DATE
    );
    
    CREATE      TABLE      TABLE_1
    (     "ORDER_NR"           VARCHAR2     (12) PRIMARY KEY
    ,      "PRIORITY"           VARCHAR2      (2)
    ,      "CREATE_DATE"      DATE
    ,     "ACT_STEP"          VARCHAR2     (2)
    ,     "STEP_DATE"          DATE
    ,     "EMPLOYEE"          VARCHAR2     (5)
    ,     "DESCRIPTION"     VARCHAR2     (20)
    );
    
    INSERT      INTO      TABLE_1      (ORDER_NR,               PRIORITY,      CREATE_DATE,                                                        ACT_STEP,     STEP_DATE,                                                            EMPLOYEE,     DESCRIPTION) 
                        VALUES           ('1KKA1T205634',     '12',          TO_DATE('10-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'),     'U',          TO_DATE('28-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'),     'W0010',     'CLEAN HOUSE');
    INSERT      INTO      TABLE_1      (ORDER_NR,               PRIORITY,     CREATE_DATE,                                                        ACT_STEP,     STEP_DATE,                                                            EMPLOYEE,     DESCRIPTION)
                        VALUES           ('1KKA1Z300612',     '12',          TO_DATE('08-FEB-13 14:00:00','DD-MON-RR HH24:MI:SS'),     'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'),     'K0052',     'REPAIR CAR');
    
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'A',          TO_DATE('12-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'K',          TO_DATE('13-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 11:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'K',          TO_DATE('13-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          '5',          TO_DATE('13-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'C',          TO_DATE('14-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'B',          TO_DATE('14-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'E',          TO_DATE('18-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'S',          TO_DATE('21-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'R',          TO_DATE('21-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1T205634',     '12',          'U',          TO_DATE('28-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'A',          TO_DATE('12-FEB-13 13:52:42','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 09:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'K',          TO_DATE('13-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 11:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'K',          TO_DATE('13-FEB-13 12:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          '5',          TO_DATE('13-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'C',          TO_DATE('14-FEB-13 08:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'B',          TO_DATE('14-FEB-13 10:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'E',          TO_DATE('18-FEB-13 13:00:00','DD-MON-RR HH24:MI:SS'));
    INSERT     INTO      TABLE_2      (ORDER_NR,               PRIORITY,     WO_STEP,     STEP_DATE)
                        VALUES           ('1KKA1Z300612',     '12',          'F',          TO_DATE('20-FEB-13 16:00:00','DD-MON-RR HH24:MI:SS'));
    COMMIT;
    And here's what I expect of my request:
    SYSDATE     28.Feb.13 14:00                                                                                     
                                                                                              
    ORDER_NR     PRIORITYCREATE_DATE     STATUS     STATUS_DATE     DESCRIPTION     AGE_1     AGE_2     WAITNG     STEP_A     STEP_B     STEP_C     STEP_5     STEP_K     STEP_E     STEP_F     STEP_S     STEP_R     
    1KKA1T205634     12     10.Feb.13 10:00     U     28.Feb.13 12:00     CLEAN HOUSE     18,083     8,833     2,125     0,833     4,125     0,083     0,750     0,208     2,125     0,666     0,042     7,125     
    1KKA1Z300612     12     08.Feb.13 14:00     F     20.Feb.13 16:00     REPAIR CAR     20,000     16,042     2,125     0,833     4,125     0,083     0,750     0,208     2,125     0,666          
    And now the explanation for the result of the query:
    The AGE_1 is the difference in days between the "CREATE_DATE" and if EXSIST L'ETAPE 'U' then STEP_DATE or if the STEP 'U' is not found in TABLE_2 then it should show the difference in days between the "CREATE_DATE' and the 'SYSDATE.
    The AGE_2 is the difference in days between the STEP "A" STEP_DATE and IF EXSIST L'ETAPE 'R' then STEP_DATE or if the STEP 'R' is not in TABLE_2 then it should show the difference in days between the "CREATE_DATE' and the 'SYSDATE.
    The EXPECTATION is the difference in days between CREATE_DATE and STEP 'A' STEP_DATE
    The following columns indicate the days, how long the ORDER_NR remains in these TIMES, if an ORDER_NR comes in the same STEP should be calculated together more than once.
    If the ORDER_NR jump a step, it should show a zero in the specific field.

    I hope that my explanation is good enough, my English skills are far from good.

    Thank you for all your help.

    Hosts Reinhard W.

    Solomon Yakobson says:
    Just add the amounts:

    In fact, you could edit all CASES:

    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                  from  table_2 t
               )
    select  t1.*,
            nvl(
                max(
                    case t2.wo_step
                      when 'U' then t2.step_date
                    end
                   ),
               sysdate
              ) - t1.create_date age_1,
            nvl(
                max(
                    case t2.wo_step
                      when 'R' then t2.step_date
                    end
                   ),
               sysdate
              ) - t1.create_date age_2,
            sum(
                case
                  when t2.wo_step in ('B','5') then t2.next_step_date - t2.step_date
                end
               ) step_b_5,
            sum(
                case t2.wo_step
                  when 'C' then t2.next_step_date - t2.step_date
                end
               ) step_c,
            sum(
                case t2.wo_step
                  when 'K' then t2.next_step_date - t2.step_date
                end
               ) step_k,
            sum(
                case t2.wo_step
                  when 'E' then t2.next_step_date - t2.step_date
                end
               ) step_e,
            sum(
                case t2.wo_step
                  when 'F' then t2.next_step_date - t2.step_date
                end
               ) step_f,
            sum(
                case t2.wo_step
                  when 'S' then t2.next_step_date - t2.step_date
                end
               ) step_s,
            sum(
                case t2.wo_step
                  when 'R' then t2.next_step_date - t2.step_date
                end
               ) step_r
      from  table_1 t1,
            t2
      where t2.order_nr = t1.order_nr
      group by t1.order_nr,
               t1.priority,
               t1.create_date,
               t1.act_step,
               t1.step_date,
               t1.employee,
               t1.description
    /
    
    ORDER_NR     PR CREATE_DA AC STEP_DATE EMPLO DESCRIPTION      AGE_1      AGE_2   STEP_B_5     STEP_C  STEP_K     STEP_E     STEP_F        STEP_S     STEP_R
    ------------ -- --------- -- --------- ----- ----------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
    1KKA1T205634 12 10-FEB-13 U  28-FEB-13 W0010 CLEAN HOUSE 18.0833333 10.9583333      4.875 .083333333 .208333333      2.125 .666666667 .041666667      7.125
    1KKA1Z300612 12 08-FEB-13 F  20-FEB-13 K0052 REPAIR CAR   44.252338  44.252338      4.875 .083333333 .208333333      2.125
    
    SQL>
    

    SY.

  • Need help finding a specific part for the predator

    I am looking for the metal clip that holds the 2280 m2 card into the top slot (for the 22110 m.2).  There must be somewhere, I don't know where.  Its killing me.

    Ok.  I'm not doubting you, but the only thing that I have to go is the official specification.  I don't have your computer model and I don't have an ssd M.2 22110 to see if it would fix it properly.

    In any case...

    Here is the official specification for G9_791 and G9_792 and B21

  • Need help to configure Auto-start for the database

    Hello

    DB version: 11.2
    OS: RHEL 5

    Please help me
    I want to configure the database and listener in auto-start during the startup process of the operating system.

    Concerning

    Step 1 of the oracle user

    CD $ORACLE_HOME/bin
    VI dbstart
    VI dbshut

    changed the

    LISTENER_ORACLE_HOME = $1

    TO

    LISTENER_ORACLE_HOME = $ORACLE_HOME

    Step-2 of the root user

    VI /etc/init.d/dbora

    #! / bin/sh

    Oracle # these scripts runs the listner and Oracle database server.
    #
    # chkconfig: 345 81 81
    Description #: this is the Oracle
    #

    # Define ORA_HOME as equivalent to the ORACLE_HOME
    # from which you want to run dbstart and
    # dbshut
    # the value ORA_OWNER to the userid of the owner of the
    # Oracle in ORA_HOME Server

    ORACLE_HOME=/U01/app/Oracle/product/10.2.0/Db_1
    ORA_OWNER = oracle

    If [! f $ORACLE_HOME/bin/dbstart]
    then
    echo "Oracle startup: cannot start.
    Output 1
    FI

    case '$1' in
    'Start')

    # Run Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "start ORACLE_HOME/bin/lsnrctl $".
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbstart.
    ;;
    'stop')

    # Stop the Oracle databases:
    # The following command assumes that the oracle connection will encourage not the
    user # all values

    known - $ORA_OWNER - c "judgment of $ORACLE_HOME/bin/lsnrctl.
    Su - $ORA_OWNER-c "$ORACLE_HOME/bin/dbshut.
    ;;
    ESAC

    Exit 0

    Note: Please check your ORACLE_HOME

    Step-3 of the root user

    chmod 755 released
    chkconfig released on

    VI/etc/oratab
    ORCL:/U01/app/Oracle/product/10.2.0/Db_1:Y

    Step 4 Test the automatic start of the root user

    stop /etc/init.d/Dbora
    stop /etc/init.d/Dbora

    Or

    Restart the server

    You can also view
    http://www.Oracle-base.com/articles/Linux/automating-database-startup-and-shutdown-on-Linux.php
    http://docs.Oracle.com/CD/E11882_01/server.112/e10839/strt_stp.htm#BABGDGHF

  • I need help to create a pilot for the Minolta CS and LS-100

    I'm doing a vi to communicate with a Minolta LS/CS-100 meters.  I need a LabView driver for them.  I have attached a few support files.  Can someone help me get a driver to perform simple measures?

    Hi Jallen,

    To do this, you need to make calls to DLLS in LabVIEW.  I have attached a document that will help you to start with the creation of your DLL calls.  This will allow you to communicate with your camera.

    http://digital.NI.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33

    Kind regards

    Marcus

  • I need help to find my password for the certificate to sign a document

    Anyone know how I can access my password certificate to sign a document to adobe acrobat?

    Hey patriciav41001663,

    Which version of reader you use?

    In MS Reader, simply click on the Tools tab and click tool certificates to digitally sign a document.

    If you use reader XI, then see following link KB doc on the use of digital signatures:

    Player help | Sign a PDF

    If you already have one, so we cannot provide you with information about your password.

    Please make sure that when you get a certificate that is encrypted password, do you remember the password you may need several times.

    I would like to know if it is useful for you.

    Kind regards

    Ana Maria

  • Need help to create a Script for the labelling of Finder of Indesign files

    Try to find a way to have a script run in InDesign CS4, who tagged a RED text file once it's been imported into InDesign.

    Import multiple text files in an InDesign template. Since there are several text files in the same folder, it must somehow 'delineate' that we have imported this file and move to the next import. I created a 'service' with a keyboard shortcut Automator to label the Red file in the finder, but it would be great if we could have this occurs automatically after we imported in InDesign.

    If import us the text wrong by accident and it gets missed in fermentation, it costs us a lot of money with the printer.

    Thanks for all the ideas.

    Jim

    At its heart, it's what you want to do.

    tell application "Adobe InDesign CS4"
         set placeFile to choose file
         tell active document
              tell selection
                   --Assumes you have preselected the picture or textbox to place file in
                   place placeFile
              end tell
         end tell
    end tell
    tell application "Finder"
         set label index of placeFile to 2
    end tell
    

    You can expand on it pretty easily. The script for InDesign dictionary must be in the Library palette in the Applescript editor and the docs for Applescript are all online.

    If you need further assistance, you may wish to ask someone to write a complete script for you to spec for real moneyz.

    Best o ' luck!

    Eric.

  • need help to write correct code for nested button

    This is the code in the main timeline.

    Stop();

    garage.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler);

    function mouseDownHandler(event:MouseEvent):void {}

    gotoAndPlay ("open");

    }

    The movieClip gDoor is nested inside the garage and 'open' is a label on this chronology.  I know that the gotoAndPlay ("open"); is not correct.  How would be the label on nested timeline.

    the link below is to download the FLA

    clienttestsite.X10.MX/beta/garage.fla

    The problem is that you have an event listener assigned to the garage, which is block / casting interaction with what anyone inside.  When you click the button on the chest, you are always clicking on the garage, making the gotoAndPlay("open")... where he stops to the stop();

    One way around this problem is to assign an instance name to the door and to assign the code to open to...

    Stop();
    garage.door.addEventListener (MouseEvent.CLICK, openHandler);
    function openHandler(event:MouseEvent):void {}
    garage. Play();
    }

    garage.chest.closeBtn.addEventListener (MouseEvent.CLICK, closeHandler);
    function closeHandler(event:MouseEvent):void {}
    garage.gotoAndPlay ("close");
    }

    Note: as shown in the code above...

    -Use the CLICK instead of MOUSE_DOWN.

    -in the openHandler use play() instead of gotoAndPlay ("open"). You are already in the 'open' setting, and it is only because the stop() is exhausted only it actuallys works.

    Do what I explained above also makes so that you can click on the door to close it that way.

  • I need help to write a script that detects the first instance of a paragraph style and then change

    I need help to write a script that detects the first instance of a paragraph style and then he goes to a different paragraph style.  I don't necessarily need someone to write all this, by the biggest problem is to find how to find just the first instance of the paragraph style.  Any help would be greatly appreciated, thank you!

    Hello

    then try this with your active doc:

    ....................

    myDoc var = app.activeDocument;

    mStyle var = myDoc.paragraphStyles.item ("PS_NameToFind"); change the name to paraStyle

    var mStyle_1 = myDoc.paragraphStyles.item ("PS_NameToChange"); change the name to paraStyle

    var mFrames = myDoc.pages.everyItem ().textFrames.everyItem () .getElements ();

    app.findTextPreferences = null;

    app.findTextPreferences.appliedParagraphStyle = mStyle;

    for (var k = 0; k)< mframes.length;="">

    {

    currFound = mFrames [k] .findText ();

    If (currFound.length > 0)

    currFound [0] .paragraphs [0] .appliedParagraphStyle = mStyle_1;

    }

    app.findTextPreferences = null;

    ................

    Rgds

  • I need help about illustrator. I have the portable version of CS6, install and won't let me open the program. I get the error: 1 I have windows 7

    I need help about illustrator. I have the portable version of CS6, install and won't let me open the program. I get the error: 1 I have windows 7

    Error code 1 is often associated with permission issues. Have you tried to install Illustrator in a new user account with admin rights? If you want to download CS6, here's how to get it through creative cloud: html http://helpx.adobe.com/creative-cloud/kb/download-previous-versions-creative-applications.

    Let us know how it goes.

    Concerning

    Stéphane

  • All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but did need help how to get rid of the pre-selection, so he's going to defau

    All my photos are displayed such as BW because somehow I saved a preset to quickly develop and it records in BW.  This is for all of my photos.  Individually, I can cancel their but need help how to get rid of the preset then all photos of goes to Default or in the shot. Thank you

    Go to the develop module and highlight all the images in the film at the bottom of the screen. Enable automatic synchronization, and then click the reset button. To reset all the images in your camera default settings.

  • Need help with custom script to rename the layers

    Hello world.

    I need help to write a custom script (because I suck at it) that will allow me to go through all the layers and sous-calques for a specific name ('X') and give it a new specific name ('Y').

    I have had success using the script below, but it does not work on any text layers names where the text layer was previously particularly well-known in 'X' and now changed needs.

    Any help is greatly appreciated.

    * Note: this script was originally used to find any layer with 'Copy' in its name and remove with anything after (to correct the problem of duplication of layers by adding this text).

    This is why the function is named removeCopy. It works for renaming layers also - just not a layer of text unfortunately.

    #target illustrator

    function removeCopy() {}
    If (app.documents.length == 0) return;
    var app.activeDocument = docRef;
    recurseLayers (docRef.layers);
    }
    removeCopy();
    function recurseLayers (objArray) {}
    for (var i = 0; i < objArray.length; i ++) {}
    ObjArr [i] .name = ObjArr [i].name.replace (/ \s*current name\s*\d*/, 'new name');
    If (objArray [i] .layers) recurseLayers (. layers.length > 0 ObjArr [i]);
    }
    }

    I finally found something after searching forums for a week. My confusion was related to the way Illustrator treats real layers against text/path/object "layers." Instead of layers, I had to use the pageItems in the script. The code below works. Thanks to Gustavo for his answer in another thread and Carlos I thank you for this looking too good! You're great to be ready to help models do more advanced things with Illustrator.

    var doc = app.activeDocument;
    var items = doc.pageItems;
    for (var g = 0; g)
        elements [g] .name = elements [g].name.replace ('Century Schoolbook text line', ' MonogramText: Century Schoolbook ");
    };
    App.Redraw ();
  • I need help, downloaded adobe flash player for windows 7

    I need help, downloaded adobe flash player for firefox windows 7. I download, I click Run and there is just a small black screen that says on the top of the page install adobe flash player but nothing happens after that. This small screen stays like that for hours maybe days. I tried troubleshooting but nothing seems to work. What can I do? How can I get the installation of the program?

    Use the installation offline programs:

    [topic moved to the forum of Flash Player]

Maybe you are looking for