How to write data at the end of the doc in sense the other way around? [CS6 - jsx]

I need to move all the entries in my texts spec at He end of the doc. To keep the correct reference overall found entries that I have to deal with in reverse order

for (i = mFound.length - 1; i > = 0; i--) {}

.. .etc

but to invent, how to place entries cannot write off at the end.

String:

mStory.insertionPoints.item(-1).select ();

App.Paste ();

does not work properly (of course). It does this:

10.

9.

8.

7.

6.

.. .etc

How to get

1.

2.

3.

4.

.. .etc

?

Dmitry,

Well, I've been basically dealing with moving the notes at the end of the story in the correct order. Anyway, concerning the figures by exposing, there no need to choose things and remove these selections. She considered more safe, like Vamitul too mentioned, to work on the objects. To manage numbers superscript, I would do this:

app.findGrepPreferences = null;
// Search just the note contents: lookaround leaves the braces in the text
app.findGrepPreferences.findWhat = /(?<=\{\{\{).+?(?=\}\}\})/.source;
found = app.documents[0].findGrep();

for (i = 0; i < found.length; i++){
    found[i].parentStory.insertionPoints[-1].contents = '\r' + String (i+1) + '.\u2003';
    found[i].move (LocationOptions.after, found[i].parentStory.insertionPoints[-1]);
}

// Now search {{{}}}
app.findGrepPreferences.findWhat = /\{\{\{\}\}\}/.source;
found = app.documents[0].findGrep();
for (i = found.length-1; i >= 0; i--){
    found[i].contents = String (i+1);
    found[i].position = Position.SUPERSCRIPT;
}

Then first move the notes at the end of the story, leaving behind all the triples of braces. Then, after you have moved the notes, do you a new search on the sextets of braces. Only select and delete, just redefine the content of what you have found and apply an in shape.

Peter

Tags: InDesign

Similar Questions

  • How to write data from the acquisition of data in NetCDF format?

    I connect to a set of data from the sensor through the DAQ assistant and want to write all data in NetCDF format. I have the required plugins installed, but still can not find how to do this.

    Or the labview can only read the netcdf files, but cannot write it! Please let me know if there is any other way out. I have looked everywhere but could not find something useful!

    Thank you

    Hey,.

    Sorry, the sheet in effect only allows to read NetCDF files, not writing to the NetCDF format.

    Kind regards

    -Natalia

  • How to write data to the XML in VBA 6

    Hello

    I am using vba 6

    I have different data like strings, integer etc I get the object group tag.

    I want to write data of XML on the button click.

    and save this file on the way to my pc.

    Bad forums. Message here:

    MSDN - MSDN forums - Microsoft

  • Windows 7 for slow LAN XP file transfer; but not the other way around

    I have two PCs connected via a Cat5 cable to a router Linkysys. A PC running Windows 7, the other XP SP3.  When transfer files from XP to W7 pc. I get 80 MB/s transfer speed.  However when W7 transfer to pc XP, transfer rate is about 1.5 MB/s.

    I did the following
    * netsh int tcp set global autotuninglevel is disable.
    * Disable remote differential Compression.
    * Disabled remote assistance.
    * Disabled ipv6.

    And have run the W7 pc in safe mode.  No change.

    Further reflection?

    Hello IAjason,

    Thanks for posting in the Microsoft Answers forum! Here is a link to a similar post that can provide a solution to your problem.

    http://social.technet.Microsoft.com/forums/en/w7itpronetworking/thread/c30f6649-a0d9-4f5e-8671-904a8f5469bb

    Please let me know if this helps J

    Adam
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to write data from the INI file for the control of the ring

    Hai,

    I need to write the data read from the INI file to a control of the RING. Doing this operation using variants I get the error.

    I will be happy if someone help me. I have attached the file special INI and VI.


  • I changed somehow all my files with the same name, how the other way around how they had before

    I tried moving a file in My Documents to a new subfolder, but somehow ended up changing all my documents and files to the same name.  How can I reverse this back to how it was at the beginning?

    ALT + type EU or Ctrl + Z is the last Undo action.

  • HP Officejet 6500 a Plus. How to get a fax received to print in black and white and not the other way around

    I'm using an iMac with OS X 10.6.8.  A fax sent to me is loaded into a folder open on my desktop.  The fax image is white on black al, though the original was black on white paper.  It prints white on black background.  How to reverse the image to black on white?

    Ok. Well I don't believe that you are able to reverse the colors directly on the printer. Once the image has been saved using this color format, you will need to reverse the image on the computer first, then the corrected file printer.

    You can invert the colors using the preview. Once you open the image in preview if you select "Tools" then "Color Adjust". Here you will be presented with slidered for black and white levels. To "reverse" all colors, you need to do is the slider level black all the way to the right, then drag the white slider completely to the left.

    Let me know if it works for you!

    -Sean

  • How can I make a video reflection (face the other way around)?

    Hi, I would like to have some actors in a video face the opposite direction.  Is there a work around, or the effect, I could use to create a reflection of the image so that what is on the left is on the right?

    Thank you!

    Robert

    First Pro CS6

    After Effects CS6

    Go in the effect controls panel. Search for the word flip. Take the horizontal flip effect and drag it into the clip.

  • Why can I not access a computer2 from computer1, but not the other way around?

    I have a home network using the ethernet cable connected to an ATT Wireless and wired modem/router wired. Vista premium Computer1 and computer2 has Vista Home premium. Both printed and discovery / network file sharing on. The two appear on the network and sharing Center. I tried to turn off the two firewalls, configure permissions and shared file. Always the same. Computer1 can access computer files/programs. But computer2 is impossible. I get an error code: 0 x 800. I looked at the error online code, but the answers don't give me what I've done; share the installation program, permissions, firewall, reset the modem/router. In addition, the computer that has the problem?

    Hello

    1. What is the exact error message you received?

    2 have you made changes to your computer?

    I suggest you to follow the links and check out them.

    Method 01:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 02:

    Share files and folders on the network

    http://Windows.Microsoft.com/en-us/Windows-Vista/share-files-and-folders-over-the-network-from-Windows-Vista-inside-out

    Method 03:

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows-Vista/setting-up-a-wireless-network

  • Test whether the string contains the only slash the other way around?

    Hello

    How do you do that?

    I need to check if

    (a) the string contains two consecutive backslashes

    (b), if not, check if there is at least an oblique bar opposite

    If (test.) IndexOf("\\") > = 0) seems to knock on a string that is 'ss\\ss', but I have a feeling that is incorrect. I think it's really just test for 1 backslash.

    AS3 and don't let you do if (test.indexOf("\") > = 0), as the single backslash escapes the rest of your code.

    It is to test for the existence of a or two backslashes in the ID3 tags, as some editors use as a delimiter for multiple tags within the category of a tag for example kind: rock\\pop, or rock\pop

    Thanks for taking a peek.

    {if(s.IndexOf("\\\")>-1})

    There are two or more backslashes consecutive

    } else {if(s.indexOf("\\")>-1)

    There is that a single backslash

    }

  • Windows 8 can see windows 7 but not the other way around

    I have a desktop with windows 8 pro 64-bit computer and a laptop running Windows 7 Home Premium 64-bit.  They are both connected to the same workgroup.  Two computers can see and access my NAS who is also on the same network.

    My PC W8, I see the portable W7.  However, the W7 laptop does not see the PC W8.
    Both computers have their firewall disabled temporarily.
    The W8 PC has a homegroup Setup, but the W7 laptop does not see the residential groups on the network.
    I ran the two homegroup and the troubleshooting of network on the W7 laptop and it didn't detect any problems.

    Help?

    Hello

    http://Windows.Microsoft.com/en-in/Windows/HomeGroup-help#HomeGroup-start-to-finish=Windows-7&V1H=win8tab1&V2H=win7tab1

    http://Windows.Microsoft.com/en-in/Windows7/why-cant-i-access-my-HomeGroup

  • the other way around bug IncorporerPolices

    Unlike most publication problems, IncorporerPolices = true works for me.
    BUT, I would like to disable this feature to use legacy fonts and when I do:
    IncorporerPolices = false;
    It is no longer available (dynamic) text. Now the text field is EMPTY!
    Help, please!
    *******************************
    FORMAT TEXT FOR SHOPS
    var myFt = new TextFormat();
    myFt.font = "AGaramond";
    myFt.size = 11;
    myFt.color = 0 x 000000;

    var xR = startX;
    var yR = startY;
    for (var i = 1; i < = nbPays; i ++) {}
    trace ("Payroll:" + country.attributes.name);
    trace ("Payroll:" + country.attributes.id);

    var thisPays = a_list.th_list.button.duplicateMovieClip("pays"+i,i,{_x:xR,_y:yR});)
    thisPays.id = country.attributes.id;
    thisPays.rub = "country";
    thisPays.pays = country.attributes.name;
    thisPays.createTextField("pysTxt",1,0,0,140,17);
    thisPays.pysTxt.embedFonts = false;
    thisPays.pysTxt.type = "dynamic";
    thisPays.pysTxt.text ='-'+ country.attributes.name;
    thisPays.pysTxt.setTextFormat (myFt);

    Country = Country.nextSibling;
    yR += intVal;
    }

    I solved the problem. In fact, I was wearing a MASK in the clip. This is why the text in device fonts did not show, any show of embedded text.

    So I change the physical mask to the mask script action.
    movieClip.setMask (maskClip);

    Now it's working.
    Thank you, everyone!

  • How to add data to the table changed in sql developer at Apex and vice versa

    Hello

    I had tables of database with sql developer. But now, I have modified the database (new tables added + changed the data in the tables). However, in the Apex, I the old database. Is it possible to get the new Apex database with the data of the table changed so this database in both places (sql and apex developer) is exactly the same... Also the other way around.

    Thank you

    The database schema that contains the tables, is it associated with the workspace even you are searching through the APEX product t development?  Why I'm asking is, if they are the same schema, the tables that you MODIFIED should be appear in the sql for APEX workshop part.  Now reports and forms will NOT see the changes (unless you have actually added or updated definitions for column).

    Can you explain what exactly you were doing the SQL Developer to the tables in your schema?

    Thank you

    Tony Miller
    Los Alamos, NM

  • How to display data on the screen and save the data in a file at the same time?

    The code can display acceleration on the screen of the playbook.

    But, when fprintf (f, "X (m/s2), Accel Accel Y (m/s2), Accel Z (m/s2) \n" ") runs, debug displays no source available.

    ??

    Does anyone know how to solve the problem, which writes data to a file?

    The code is below.

    /*
    * Copyright (c) 2011 Research In Motion Limited.
    *
    Licensed under the Apache License, Version 2.0 (the "license");
    * You may not use this file except in compliance with the license.
    * You can get a copy of the license at
    *
    www.Apache.org/licenses/license-2.0
    *
    * Unless required by the applicable law or agreement written, software
    * distributed under the license is distributed on an "AS IS" BASIS.
    * WITHOUT WARRANTIES OR CONDITIONS of ANY KIND, express or implied.
    * See the license for the specific language governing permissions and
    * limitations under the license.
    */

    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include
    #include

    /**
    The milliseconds between the accelerometer readings. It's the same thing
    * rate in which the accelerometer data will be updated
    * material. The update of material rate is below to help
    * accelerometer_set_update_frequency (FREQ_40_HZ).
    */
    public static const int ACCELEROMETER_MAX_POLL_INTERVAL = 25;

    public static screen_context_t screen_ctx;
    public static screen_window_t screen_win;
    dialog_instance_t main_dialog = 0;

    paused int = 0;

    The forces of the accelerometer
    float force_x, force_y, force_z;

    file elements
    int _logcounter = 0;
    FullName Char [256];
    FILE * f;

    /**
    * Use the PID to set the id of Group window.
    */
    public static char
    get_window_group_id()
    {
    public static char s_window_group_id [16] = "";
    If (s_window_group_id [0] == '\0') {}
    snprintf (s_window_group_id, sizeof (s_window_group_id), "%d", getpid());
    }
    Return s_window_group_id;
    }

    /**
    * Set up a basic screen, so that the browser will be
    * Send window state events when the State of the window changes.
    *
    * @return @c EXIT_SUCCESS or EXIT_FAILURE @c
    */
    public static int
    setup_screen()
    {
    If (screen_create_context (& screen_ctx, SCREEN_APPLICATION_CONTEXT)! = 0) {}
    Return EXIT_FAILURE;
    }
    If (screen_create_window (& screen_win, screen_ctx)! = 0) {}
    screen_destroy_context (screen_ctx);
    Return EXIT_FAILURE;
    }
    use of int = SCREEN_USAGE_NATIVE;
    If (screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_USAGE, & use)! = 0) goto fail;
    If (screen_create_window_buffers (screen_win, 1)! = 0) goto fail;
    If (screen_create_window_group (screen_win, get_window_group_id())! = 0) goto fail;
    buff screen_buffer_t;
    If (screen_get_window_property_pv (screen_win, SCREEN_PROPERTY_RENDER_BUFFERS, (void *) & buff)! = 0) goto fail;
    buffer_size int [2];
    If (screen_get_buffer_property_iv (buff, SCREEN_PROPERTY_BUFFER_SIZE, buffer_size)! = 0) goto fail;
    int attributes [1] = {SCREEN_BLIT_END};
    If (screen_fill (screen_ctx, chamois, attributes)! = 0) goto fail;
    int dirty_rects [4] = {0, 0, buffer_size [0], buffer_size [1]};
    If (screen_post_window (screen_win, buff, 1, (const int *) dirty_rects, 0)! = 0) goto fail;
    Return EXIT_SUCCESS;
    in case of failure:
    screen_destroy_window (screen_win);
    screen_destroy_context (screen_ctx);
    Return EXIT_FAILURE;
    }

    /**
    * Rotates the screen at the specified angle.
    *
    @param angle angle to rotate the screen.  Must be 0, 90, 180 or 270.
    *
    * @return @c EXIT_SUCCESS on success, to another @c EXIT_FAILURE
    */
    public static int
    rotate_screen (int angle)
    {
    If ((angle! = 0) & (angle! = 90) & (angle! = 180) & (angle! = 270)) {}
    fprintf (stderr, "Invalid Angle\n");
    Return EXIT_FAILURE;
    }
    int rc;
    int rotation;
    RC = screen_get_window_property_iv (screen_win, SCREEN_PROPERTY_ROTATION, & rotation);
    If (rc! = 0) {}
    fprintf (stderr, "error getting the window of the screen rotation: %d\n", rc);
    Return EXIT_FAILURE;
    }
    int size [2];
    RC = screen_get_window_property_iv (screen_win, SCREEN_PROPERTY_BUFFER_SIZE, size);
    If (rc! = 0) {}
    fprintf (stderr, "error getting size memory buffer window screen: %d\n", rc);
    Return EXIT_FAILURE;
    }
    int temp;
    switch (angle - rotation) {}
    case - 270:
    case - 90:
    decision 90:
    case 270:
    Temp = size [0];
    size [0] = size [1];
    size [1] = temp;
    break;
    by default:
    break;
    }
    RC = screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_ROTATION, &angle);)
    If (rc! = 0) {}
    fprintf (stderr, "screen rotation window for parameter error: %d\n", rc);
    Return EXIT_FAILURE;
    }
    RC = screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_SIZE, size);
    If (rc! = 0) {}
    fprintf (stderr, "error creating window screen size: %d\n", rc);
    Return EXIT_FAILURE;
    }
    RC = screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_SOURCE_SIZE, size);
    If (rc! = 0) {}
    fprintf (stderr, "error creating window screen size: %d\n", rc);
    Return EXIT_FAILURE;
    }
    RC = screen_set_window_property_iv (screen_win, SCREEN_PROPERTY_BUFFER_SIZE, size);
    If (rc! = 0) {}
    fprintf (stderr, "error creating window buffer size of the screen: %d\n", rc);
    Return EXIT_FAILURE;
    }
    Return EXIT_SUCCESS;
    }

    /**
    To manage an event of navigator.
    *
    * @return @c the value true if the application should shut down, another fake.
    */
    public static bool
    handle_navigator_event(bps_event_t *Event)
    {
    bool should_exit = false;
    switch (bps_event_get_code (event)) {}
    case NAVIGATOR_EXIT:
    should_exit = true;
    break;
    case NAVIGATOR_ORIENTATION_CHECK:
    navigator_orientation_check_response (event, true);
    break;
    case NAVIGATOR_ORIENTATION:
    {
    int angle = navigator_event_get_orientation_angle (event);
    If (rotate_screen (angle) == EXIT_FAILURE) {}
    should_exit = true;
    }
    navigator_done_orientation (Event);
    break;
    }
    }
    Return should_exit;
    }
    /**
    * Display an alert dialog box that contains the location data.
    */
    public static void
    show_main_dialog()
    {
    If {(main_dialog)
    return;
    }
    dialog_create_alert(&main_dialog);
    dialog_set_alert_message_text (main_dialog, "Acceleration to first fix");
    dialog_set_size (main_dialog, DIALOG_SIZE_FULL);
    dialog_set_group_id (main_dialog, get_window_group_id());
    dialog_set_cancel_required (main_dialog, true);
    dialog_show (main_dialog);
    }

    /**
    * Displays geolocation data in the main dialog box.
    */
    public static void
    display_acceleration_data (float force_x, float force_y, float force_z) {}
    char buf [1024];
    snprintf (buf, sizeof buf,
    "\tX: m\n % 7.3.f.
    "\tY: m\n % 7.3.f.
    "\tZ: m\n % 7.3.f."
    force_x, force_y, force_z);
    dialog_set_alert_message_text (main_dialog, buf);
    dialog_update (main_dialog);
    }

    void createafile() {}
    sprintf (fullname, "shared/documents/Raw-%d.txt",_logcounter);
    {if(f==null)}
    file does not exist
    f = fopen (fullname, "r");
    {while(f!=null)}
    file exists
    fclose (f);
    ++ _logcounter;
    sprintf (fullname, "shared/documents/Raw-%d.txt",_logcounter);
    f = fopen (fullname, "r");
    }
    }
    }

    write data to the file
    void writedataintofile() {}
    f = fopen (fullname, "w");
    fprintf (f, "X (m/s2), Accel Accel Y (m/s2), Accel Z (m/s2) \n" ");
    fprintf (f, "" 7% 7% .3f, .3f, %7.3f\n ', force_x, force_y, force_z ");
    fclose (f);
    }

    /**
    * A sample application shows the native APIs of BlackBerry for accelerometer.
    * The example initializes and reads the accelerometer periodically until one
    * NAVIGATOR_EXIT event is received.
    Enforcement also tuned to changes status window in the browser so that
    * It can stop reading the accelerometer when the application is no longer visible.
    */
    int main (int argc, char * argv {})
    bool exit_application = false;
    /*
    * Until we can listen for events from the BlackBerry Tablet OS platform
    * services, we need to initialize the BPS infrastructure
    */
    bps_initialize();
    /*
    * Once the BPS infrastructure has been initialized, we can save to
    * events of different services of BlackBerry Tablet OS platform. The
    * Browser service manages and provides the life cycle of application and
    * events of visibility.
    For the example, we ask browser events so that we can follow when
    * the system ends the application (NAVIGATOR_EXIT event). This allows to
    * us to clean up resources in the application.
    */
    navigator_request_events (0);
    dialog_request_events (0);
    /*
    * Initialize the screen so that the Windows Id is correctly set, to allow
    * dialogs to display.
    */
    If (setup_screen()! = EXIT_SUCCESS) {}
    fprintf (stderr, "Failed to initialize the screen.");
    Exit (-1);
    }
    /*
    * Once the BPS infrastructure has been initialized, we can save to
    * events of different services of BlackBerry Tablet OS platform. The
    * Browser service manages and provides the life cycle of application and
    * events of visibility.
    *
    For the example, we ask browser events so that we can follow when
    * the system ends the application (NAVIGATOR_EXIT event).
    *
    * We ask events of dialogue so that we can be notified when the service of dialogue
    * answers to our queries/requests.
    */
    If (BPS_SUCCESS! = navigator_request_events (0)) {}
    fprintf (stderr, "error asking navigator events: %s", strerror(errno) (errno));
    Exit (-1);
    }
    If (BPS_SUCCESS! = dialog_request_events (0)) {}
    fprintf (stderr, "error asking dialog events: %s", strerror(errno) (errno));
    Exit (-1);
    }
    /*
    * Create and display the dialog box that displays the data from the accelerometer.
    */
    show_main_dialog();
    /*
    Prior to initialize the accelerometer function, we must ensure the unit
    * takes in charge
    */
    If (sensor_is_supported (SENSOR_TYPE_ACCELEROMETER)) {}
    /*
    * If the device does not support the accelerometer so warn the user,.
    * clean in and out
    */
    public static const int SENSOR_RATE = 40;
    sensor_set_rate (SENSOR_TYPE_ACCELEROMETER, SENSOR_RATE);
    sensor_request_events (SENSOR_TYPE_ACCELEROMETER);

    }
    /*
    * Initialize the accelerometer setting the rate at which the
    * accelerometer values will be updated material
    */
    accelerometer_set_update_frequency (FREQ_40_HZ);

    /*
    Treat browser events and take the accelerometer readings periodically
    * until we receive a NAVIGATOR_EXIT event.
    */
    createafile();
    f = fopen (fullname, "w");

    While (! exit_application) {}
    /*
    * By setting the timeout to bps_get_event to ACCELEROMETER_MAX_POLL_INTERVAL,
    * We assign the maximum duration (in millis) who will wait before
    * release so that we can take a reading of the accelerometer.
    */
    bps_event_t * event = NULL;
    bps_get_event (& event, ACCELEROMETER_MAX_POLL_INTERVAL);

    If {(event)
    If (bps_event_get_domain (event) is {sensor_get_domain()})
    /*
    * We woke up. See if we are in the paused state. If not,
    take a reading of the accelerometer
    */
    If (! pause) {}
    sensor_event_get_xyz (event, & force_x, & force_y, & force_z);
    display_acceleration_data (force_x, force_y, force_z);
    fprintf (f, "X (m/s2), Accel Accel Y (m/s2), Accel Z (m/s2) \n" ");
    fprintf (f, "" 7% 7% .3f, .3f, %7.3f\n ', force_x, force_y, force_z ");
    } //paused
    }
    / * If this is an event of the dialog box, determine the response code and handle
    * the event accordingly.
    */
    {ElseIf (bps_event_get_domain (event) == dialog_get_domain() {)}
    ;
    }
    /*
    * If it's a NAVIGATOR_EXIT event and then set the exit_application
    * indicator so that the application stops processing events, clean and
    * output.
    */
    {ElseIf (bps_event_get_domain (event) == navigator_get_domain() {)}
    exit_application = handle_navigator_event (event);
    }
    } //if event
    } //while
    /*
    * Destroy the dialog box, if it exists.
    */
    If {(main_dialog)
    dialog_destroy (main_dialog);
    }

    fclose (f);

    /*
    * Clean the infrastructure bps and output
    */
    sensor_stop_events (SENSOR_TYPE_ACCELEROMETER);
    bps_shutdown();
    screen_destroy_window (screen_win);
    screen_destroy_context (screen_ctx);
    return 0;
    } //main

    Hello

    As I said on your other thread:

    In order to write in the shared directory/documents, your application should request action "access_shared" and it must be granted by the user. Make sure you have

    access_shared

    in your bar - descriptor.xml.

    Also note that the shared documents folder may not be the best place to write the application log data. There is one connects / in the sandbox to this effect, or the application directory data / directory if the information should be persisted. The documents/shared/folder is designed for documents that the user creates or interacts with.

    HTH,

    Christian

  • DASYLab how to write data to a file every 15 minutes

    Hi all

    I use dasylab and datashuttle/3000 to record data. What I want to do is to write data to a file every 15 minutes. I use the milti-file, which can write data to the file diffenret, but how do I control the timing, as the journal data every 15 minutes automatically.

    The other problem is that I use FFT analysis of the frequency spectrum. How can I determine the value of frequency where the peaks that happens.

    Thank you

    Write less data in the file that you have collected requires the reduction of certain data.

    There are three techniques to consider.

    With an average or an average of block - both reduce the data by using a function of averaging, defined in the module. To accomplish the reduction of data, choose block or RHM mode in the dialog box properties, and then enter the number of samples/data values that you want to reach on average.

    Average - when you reduce the data, you also should reblock data using the block length of the change in the output parameter. For example if you enjoy at 100 samples/second with a block size of 64, the average module configured on average, more than 10 samples will take 10 times longer to fill a block. The initial block represent 0.64 seconds, the output block represent 6.4 seconds at a sampling rate of 10 samples/second. If you change the size of output in one block, the program remains sensitive.

    Average block - average values in a block against each subsequent block, where the average is based position. The first samples are averaged, all second samples are average... etc. The output is a block of data, where each position has been averaged over the previous blocks. This is how you will be an average data FFT or histogram, for example, because the x-axis has been transformed in Hz or bins.

    Second technique - separate module. This allows to reduce the data and the effective sampling rate jumping blocks or samples. For example, to reduce the data in 1000 samples / second to 100 samples per second, configure the module to keep a sample, jumping 9, keep one, jumping 9, etc. If you configure to skip blocks, you will not reduce the sampling frequency, but will reduce the overall amount of data in a single block 9, for example. It is appropriate for the FFT data or histogram, for example, to have the context of the correct data.

    Finally, you can use a relay and a synchronization module module to control. For example, to reduce a sample data every 15 seconds, configure a generator module of TTL pulses for a cycle of 15 seconds of time. Connect it to a Combi trigger module and configure it to trigger on rising and stop the outbreak directly, with a trigger value after 1. The trigger output connects to the X of the relay command input.

    In addition to these techniques, you can change the third technique to allow a variable duration using a combination of other modules.

    Many of these techniques are covered in the help-tutorial-Quickstart, as the data reduction is one of the most frequently asked questions.

    In regards to the FFT... use the module of statistical values in order to obtain the Maximum and the Max Position. The Position of Max will be the value of the frequency associated with the Maximum value. The output of the statistics module is a single sample per block. Look at the different FFT sample installed in the worksheet calculation/examples folder.

Maybe you are looking for