How do I auire data at every third pulse of an external trigger?

I need to aquire 2048 data points where each one is triggered by the third pulse of an external trigger (TTL). Currently I can aquire 2048 data points where each is triggered by every pulse of an external trigger but I need to be able to do this at every third trigger pulse. It seems that I can't do this simply by entering "2" into the "skip count" input of the "Additional Trig Parameters' input of the "AI Start" VI. My attempt is in the VI titled TriggerScanA.
Further more I will need to know the actual trigger scan rate for data analysis. This is also prooving difficult since even when I am triggering off every external trigger pulse the actual scan rate only returns zeros. My attempt is i
n the VI entitled TriggerScanB.
Thankyou.
Attachments:
Trigger_Scan_VI's.llb ‏211 KB

Greetings,
This sounds like an interesting application. I would suggest that you use your external pulse train as a scan clock, not as a start trigger. Furthermore, since you want to acquire data every third pulse, you will need to use one of your device's counters to divide-down this signal. To accomplish this task, you will need to configure the counter for pulse train generation with an external source - your external pulse train. You will then need to choose the correct "raw counts" to generate a pulse train with a frequency that is 1/3 of that of your external signal. I would suggest that you examine the example Generate Pulse Train (DAQ-STC).vi for this purpose. Now, you can perform a finite analog input acquisition of 2048 data points u
sing this pulse train as your scan clock. Finally, to determine the frequency of your scan clock, you will need to us your device's other counter to perform a frequency measurement of either pulse train.
I believe that this will be your best approach to accomplishing this task. Good luck with your application.
Spencer S.

Similar Messages

  • How do I put data from every XMLnode related,in separate movieclips when clicking a line in combobox

    How do I put data from every XMLnode related,in separate movieclips when clicking a line in combobox?
    A sample from the XML is like this:
    <Planter>
              <Lauvtre>
                        <Botanisk_navn>Acer campestre</Botanisk_navn>
                        <Norsk_navn>Naverlønn</Norsk_navn>
                        <Farge>Grønn</Farge>
                        <Herdighet>H4</Herdighet>
                        <Høyde>10-15 m</Høyde>
              </Lauvtre>
    I have a combobox where it shows the Botanical name, and the Norwegian name. But the rest of the info has to be shown in separate movieclips.
    Anyone have an idea how to do this? Can I use the trace function maybe? Here is my AS3 code so far:
    var loader:URLLoader = new URLLoader();
    loader.addEventListener(Event.COMPLETE, onLoaded);
    list.addEventListener(Event.CHANGE, itemChange);
    function itemChange(e:Event):void
              ta.text = list.selectedItem.data;
              tb.text = list.selectedItem.label;
    var xml:XML;
    function onLoaded(e:Event):void
              xml = new XML(e.target.data);
              var il:XMLList = xml.Planter.Lauvtre;
              for(var i:uint=0; i<il.length(); i++)
                        list.addItem({data:il.Farge.text()[i] +"\n"+ il.Herdighet.text()[i]+"\n"+ il.Høyde.text()[i],
                                                                label:il.Botanisk_navn.text()[i] +"\n"+ il.Norsk_navn.text()[i]});
    loader.load(new URLRequest("lauvtre.xml"));
    Thanks!
    Rheus.

    Hi! And thank you for helping. Planter is my root node. I tried removing "Planter" from xml.Planter.Lauvtre. It didn't fetch any data then. My code works as is, but what I want the code to do, is to put these 3:
        <Farge>Grønn</Farge>
        <Herdighet>H4</Herdighet>
        <Høyde>10-15 m</Høyde>
    ...into separate textfields.
    It has to be dynamic, so that when I click on one of the plant names in the combobox, the textfields get updated according to what is selected in the combobox.
    I'm pretty new to Actionscript so I have a hard time explaining my problem:
    I want to use the combobox as the menu, that has all the latin plant names listed. When I click on one of the 100 plantnames I want the correlating info from the XML, put in textfields.

  • HT5978 How do I schedule an event every third day?

    I cannot seem to be able to schedule an event to reoccur every third day in calendar. How can I do this?

    Hi,
    Create an event in Calendar and from the edit window of the event select Repeat > Custom > Daily > Every 3 days.
    Best wishes
    John M

  • How to get min date of every month for six months?

    Hi, i have data like this.
    Process_date SEQ_No
    16-MAR-13     733
    09-MAR-13     732
    02-MAR-13     731
    24-FEB-13     730
    16-FEB-13     728
    09-FEB-13     727
    02-FEB-13     726
    26-JAN-13     725
    21-JAN-13     724
    12-JAN-13     723
    05-JAN-13     722
    29-DEC-12     721
    24-DEC-12     720
    15-DEC-12     719
    08-DEC-12     718
    03-DEC-12     717
    22-NOV-12     716
    17-NOV-12     715
    10-NOV-12     714
    03-NOV-12     713
    29-OCT-12     712
    23-OCT-12     711
    13-OCT-12     710
    05-OCT-12     709
    28-SEP-12     708
    22-SEP-12     707
    15-SEP-12     706
    08-SEP-12     705
    01-SEP-12     704
    everymonth admin will refresh actual data table and automatically this above table will update with unique seq_no and process_date.
    I need to extarct min date of everymonth(First refresh of last 6 months - excluding currrent month) and also seq_no related to that month so using joins(using seq_no - that is available in main table) i can combine actual data.
    I need result like:
    02-MAR-13     731 ( I don't need MAR as it should not take current month data)
    so i need final result like below:
    02-FEB-13     726
    05-JAN-13     722
    08-DEC-12     718
    03-NOV-12     713
    05-OCT-12     709
    01-SEP-12     704

    995263 wrote:
    Hi, i have data like this.
    Process_date SEQ_No
    16-MAR-13     733
    09-MAR-13     732
    02-MAR-13     731
    24-FEB-13     730
    16-FEB-13     728
    09-FEB-13     727
    02-FEB-13     726
    26-JAN-13     725
    21-JAN-13     724
    12-JAN-13     723
    05-JAN-13     722
    29-DEC-12     721
    24-DEC-12     720
    15-DEC-12     719
    08-DEC-12     718
    03-DEC-12     717
    22-NOV-12     716
    17-NOV-12     715
    10-NOV-12     714
    03-NOV-12     713
    29-OCT-12     712
    23-OCT-12     711
    13-OCT-12     710
    05-OCT-12     709
    28-SEP-12     708
    22-SEP-12     707
    15-SEP-12     706
    08-SEP-12     705
    01-SEP-12     704
    everymonth admin will refresh actual data table and automatically this above table will update with unique seq_no and process_date.
    I need to extarct min date of everymonth(First refresh of last 6 months - excluding currrent month) and also seq_no related to that month so using joins(using seq_no - that is available in main table) i can combine actual data.
    I need result like:
    02-MAR-13     731 ( I don't need MAR as it should not take current month data)
    so i need final result like below:
    02-FEB-13     726
    05-JAN-13     722
    *08-DEC-12     718 (why??? if we have 03-DEC-12     717)*
    03-NOV-12     713
    05-OCT-12     709
    01-SEP-12     704i think you want something like this:
    WITH T(d,s) AS
    select to_date('16-MAR-13','dd-MON-yy'),733 from dual union all
    select to_date('09-MAR-13','dd-MON-yy'),732 from dual union all
    select to_date('02-MAR-13','dd-MON-yy'),731 from dual union all
    select to_date('24-FEB-13','dd-MON-yy'),730 from dual union all
    select to_date('16-FEB-13','dd-MON-yy'),728 from dual union all
    select to_date('09-FEB-13','dd-MON-yy'),727 from dual union all
    select to_date('02-FEB-13','dd-MON-yy'),726 from dual union all
    select to_date('26-JAN-13','dd-MON-yy'),725 from dual union all
    select to_date('21-JAN-13','dd-MON-yy'),724 from dual union all
    select to_date('12-JAN-13','dd-MON-yy'),723 from dual union all
    select to_date('05-JAN-13','dd-MON-yy'),722 from dual union all
    select to_date('29-DEC-12','dd-MON-yy'),721 from dual union all
    select to_date('24-DEC-12','dd-MON-yy'),720 from dual union all
    select to_date('15-DEC-12','dd-MON-yy'),719 from dual union all
    select to_date('08-DEC-12','dd-MON-yy'),718 from dual union all
    select to_date('03-DEC-12','dd-MON-yy'),717 from dual union all
    select to_date('22-NOV-12','dd-MON-yy'),716 from dual union all
    select to_date('17-NOV-12','dd-MON-yy'),715 from dual union all
    select to_date('10-NOV-12','dd-MON-yy'),714 from dual union all
    select to_date('03-NOV-12','dd-MON-yy'),713 from dual union all
    select to_date('29-OCT-12','dd-MON-yy'),712 from dual union all
    select to_date('23-OCT-12','dd-MON-yy'),711 from dual union all
    select to_date('13-OCT-12','dd-MON-yy'),710 from dual union all
    select to_date('05-OCT-12','dd-MON-yy'),709 from dual union all
    select to_date('28-SEP-12','dd-MON-yy'),708 from dual union all
    select to_date('22-SEP-12','dd-MON-yy'),707 from dual union all
    select to_date('15-SEP-12','dd-MON-yy'),706 from dual union all
    select to_date('08-SEP-12','dd-MON-yy'),705 from dual union all
    select to_date('01-SEP-12','dd-MON-yy'),704 from dual
    SELECT MIN(D),
           MIN(S) KEEP(DENSE_RANK FIRST ORDER BY D)
      FROM (SELECT D,
                   S,
                   TO_CHAR(D, 'mm') M,
                   TO_CHAR(D, 'yy') Y,
                   DENSE_RANK() OVER(ORDER BY TO_CHAR(D, 'yy') || TO_CHAR(D, 'mm') DESC) RN
              FROM T)
    WHERE RN BETWEEN 2 AND 7
    GROUP BY M, Y
    ORDER BY 1 DESC

  • How to take the data from excel list to sap r/3(with time interval)

    hi experts,
       how to transfer the data from a third party system(if it is in format of excel) to sap r/3.with that in a particular time interval,it will delete the data from excel sheet.

    Hi
    use the Fm
    'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = p_path
                i_begin_col             = '1'
                i_begin_row             = '2'
                i_end_col               = '2'
                i_end_row               = '500'
          giving the starting row and column and passing the ending row and column name
    Reward points if useful........
    Regards,
    Nitin Sachdeva

  • Pulse out for every Nth pulse in using 6024E counter?

    Is it possible to get (continuously)a pulse out of the 6024E counters for every Nth pulse of an external signal going to the source pin? A VI and the description of the connections will be appreciated.appreciated
    Scientia est potentia!

    Hi magvar,
    Depending on your application development environment (ADE) API (LabVIEW, CVI, VC++ etc.) you will want to configure the counter for continuous pulse generation. There are two pulse specs that you have to configue. The first configures the delay in number of edges of your source and the second configures the width of your pulse. Therefore if you set pulse spec (ND_COUNT in C code) 'A' to N/2 and pulse spec 'B' to N/2 then your pulse train will output a pulse every Nth pulse on the source.
    Each ADE will have a shipping example that demonstrates this configuration. These examples ship with NI-DAQ and can be found in the NI-DAQ folder of National Instruments unless it is LabVIEW or CVI in which case it should be in their respective direc
    tories. Hope that helps. Have a good day.
    Ron
    Attachments:
    TIOgenSquareWave.C ‏6 KB

  • How can I alter a calendar script to place progressive dates on every day in the calendar year?

    Is there an easy way either to alter the calendar script or create something that will allow for variable text in each day of the year?
    I am creating a calendar for a cattle rancher, and he wants to include a gestation calendar in the design.
    So...instead of the Julian date on every caledar day, he would like to include the date that a calf will be born if the cow had been bred on a particular day.  For example:  On the calendar date, January 1, in that box, another smaller date will appear - 10/9, On January 2 - 10/10 and so on. But, I need this progression to continue throughout the whole year.
    I have attempted to manually enter each date in a separate table and super impose it over the calendar, but this is very slow and very tedious. There has to be a faster way.
    I am comfortable looking at code and can often times figure out which fields to change, but I am a bit lost on this one. Where do I start?
    Please help!
    Thanks!

    That helped, but still did not solve the "continous scroll" question.
    I did however discover that if you go to Search and type in a "common" letter like "s", a Continuous List view will appear.
    Any further help on how to do this as a default view would be appreciated from any and all.
    Thanks for the help and for the link paulcb.

  • How do I enter a calendar event in my iPhone 4 iOS5 that repeats every third Thursday?

    How do I enter a calendar event in my iPhone 4 iOS5 that repeats every third Thursday?

    If you have Outlook 2007 on your computer you can set up the event to repeat every third Thursday on a calendar on your computer within Outlook. Then sync your iPhone with Outlook on your computer using iTunes.

  • My daughter's phone racks up data usage every 12 hours, twice a day, even though she isn't using it. Anybody know why this would be happening or how to track it/stop it?

    My daughter's phone racks up data usage every 12 hours, twice a day, even though she isn't using it. Anybody know why this would be happening or how to track it/stop it?

        Its all good, TimN8128! Mrhelper is corret with regards to making sure that mobile data is turned off when on WiFi or when not connected to WiFi, if you do not want the phone to access data services to update or refresh app services. These applications can all be configured by going to Settings and reviewing all apps that appear in that area. You can also configure a bit further by going to Settings>Cellular.
    NicandroN_VZW
    Follow us on twitter @VZWSupport

  • How can I add an event to my calendar that occurs every third day...I have an ipad.

    How can I add an event to my calendar that occurs every third day?

    Do you happen to have a Mac?  If so, and if you use iCloud to sync your calendars, you can do that on your Mac and your iPad will understand.  But you cannot create such a repitition (or something like the third Tuesday of each month) on your iPad.
    In Calendar on your Mac, you would create the event, choose "Custom ..." as the repitition frequency, then choose "Days" and choose every 3 days.

  • How to export every second or every third image out of lightroom?

    Hi,
    I have collected 30000 photos from a WebCam and I would like to make a time lapse. Pictures are taken every 15 Minutes and they are in sequence order (00001...00002...etc). I actually dont need them all for the time lapse and would like to export only lets say every third or every fourth picture. How can I do this with Lightroom?
    Thx for your help,
    Felix

    Hi thx for your help,
    I have now come to complete different solution. Because I am renaming all files before the import to Lightroom (with vRenamer, cool programm), I have found a little terminal command (extremly fast) which does exactly what I want (I just googled that, so not my credit):
    mkdir -p ~/Desktop/NewFolder ; IFS="\n" ; find ~/Desktop/TestFiles -type f | sort -f | while read ; do scp "${REPLY}" ~/Desktop/NewFolder/ ; read ; read ;  done
    Newfolder = the folder in which the nth copies going into
    Testfiles = the source folder
    At the end there ; read ; read  which will skip 2 files. If you wish to skip more files than add more "read" as you like.
    After doing this I got in "NewFolder" something like pic_001 pic_004 pic_007 etc. I than rename the files with vRenamer to get them in sequence 001,002,...etc and essentially import them into lightroom.
    Cheers
    Felix

  • How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so many hours.

    How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so
    many hours.

    How big is the table on server B? Is that possible to bring the all data into a server A and merge the data locally?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every 4 hours.

    How do I merge data from table1 on server 1 to final table on server 2 with a stored procedure to execute every so many hours.

    Hello,
    If you had configure server2 as
    linked server on the server1, you can run the following statement inside stored proceduce to copy table data. And then create a job to the run stored proceduce every 4 hours.
    Insert Into Server2.Database2.dbo.Table2
    (Cols)
    Select Cols From Server1.Database1.dbo.Table1
    Or you can use the SQL Server Import and Export Wizard to export the data from server1 to server2, save the SSIS package created by the wizard on the SQL Server, create a job to run the SSIS package. 
    Reference:http://technet.microsoft.com/en-us/library/ms141209.aspx
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Just how secure is your data from third-party keyboard developers?

    I have all faith in how Apple handles my data, but I'm not so happy when I'm told a third party has access to anything I type, when this should all be local to the phones memory. Credit card information, passwords, etc. I would rather not type when using a third party keyboard. How safe actually are you to install a keyboard for iOS 8? Has Apple put anything in place to prevent a

    I'm not quite sure why my message stopped half way, but just to finish above, I'll retype:
    Has Apple put anything in place to prevent a third party from sending details of what you type to an online server? Why is it even required? Isn't that keylogging?

  • How can i make it so every time i save something the date is included in the title?

    how can i make it so every time i save something the date is included in the title?

    More information would be helpful. Are you doing this in an application? If so, what application.

Maybe you are looking for