How do you calculate the count in before a cue start?

Here's what I can't figure out.
I have a quicktime loaded and I need to start a cue at, let's say, 1:05:07:10. I want the tempo to be, oh, 120. I arbitrarily say - this will be measure 41 but it doesn't really matter, I just need my downbeat at that TC and the tempo to be correct.
So far so good. I have no problem doing this with Tempo operations. I lock the time code, assign it a measure (in this case 41) and have logic calculate a single tempo from 1:00:00:00 (measure 1) to the desired start.
Now here's my real question. How do I calculate 4 or 8 beats before 1:05:07:10 so I can have a count it at the correct tempo (120)?
So I'm wonder how some of y'all handle this situation.
Thanks

As long as you are in the Fetch call, all other calls to the Scope
driver will block until Fetch exits.  That's why the Abort doesn't
do anything.  You have two options:
  1) Use a finite timeout.  Obviously, you are running into
cases in which the trigger does not arrive, and want to exit
cleanly.  This is exactly what the timeout is for.
  2) Determine the acquisition state before calling fetch. 
If this is a finite, single-record acquisition, poll on acquisition
status and do not call fetch until the status is 1 (acquisition
complete).  If you're doing a finite, multi-record acquisition,
poll on the Fetch>>Records Done property and only fetch the
records that have completed.  If you're doing a continuous
acquisition, poll on the Fetch>>Points Done or Fetch>>Fetch
Backlog property and only fetch the number of points that have been
acquired.
There's no clean way to break the infinite timeout fetch without forcing LabVIEW to close.

Similar Messages

  • How do you get  the count of number of  checkbox selected?

    hi,
    plz tell me how do you get the count of number of checkbox selected?

    Not sure what you are doing so I will attempt to answer your question. If have one question which can have multiple answers you have will recieve an array so you have to do getParameterValues("name") and move it into an array.
    If you have multiple questions and only value will be selected do a getParameter("name") on each form element.
    HTH, if not provide more detail.
    J.Clancey

  • I wanted to know how do you calculate the number of days between two dates

    i wanted to know how do you calculate the number of days between two dates in java ? i get both the dates from the database. i guess there are many issues like leap year and Febuary having diff no of months ..etc.

    thanks..
    I solve my problem as
    public class MyExample {
        public static void main(String a[]) {
            String stdate = "2009-03-01";
            java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
            java.sql.Date preDate = java.sql.Date.valueOf(stdate);
            System.out.println(currentDate);
            System.out.println(preDate);
    //        int dateCom = preDate.compareTo(currentDate);
    //        System.out.println(dateCom);
            long diff = currentDate.getTime() - preDate.getTime();
            int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
             System.out.println(days);
    }

  • How do you calculate the number of bytes in a hexidecimal array?

    Hi can anybody help me calculate the number of bytes in a hexidecimal array ie:
    04h + 12h + 4Eh + 20h = 84h
    Thanks

    Hi,
    I'm not sure if you want to count the bytes or sum the array. But here's an example of both:
    Hope this helps,
    Paulo
    Attachments:
    ByteCount.vi ‏18 KB

  • How do you abort the Scope Fetch before a trigger occurs.

    I'm using a NI PCI 5112 scope card.  I've configured the start trigger on PFI 1 input with no timeout.   There does not appear to be any way to abort or reset the hardware once the niScope Fetch Binary 8.vi is waiting for the start trigger.  Does anyone know how to kill the niScope Fentch Binary 8.vi before the trigger is recieved?  (winthout restarting the computer!!!)
    I'm programming in LabVIEW 7.1.1

    As long as you are in the Fetch call, all other calls to the Scope
    driver will block until Fetch exits.  That's why the Abort doesn't
    do anything.  You have two options:
      1) Use a finite timeout.  Obviously, you are running into
    cases in which the trigger does not arrive, and want to exit
    cleanly.  This is exactly what the timeout is for.
      2) Determine the acquisition state before calling fetch. 
    If this is a finite, single-record acquisition, poll on acquisition
    status and do not call fetch until the status is 1 (acquisition
    complete).  If you're doing a finite, multi-record acquisition,
    poll on the Fetch>>Records Done property and only fetch the
    records that have completed.  If you're doing a continuous
    acquisition, poll on the Fetch>>Points Done or Fetch>>Fetch
    Backlog property and only fetch the number of points that have been
    acquired.
    There's no clean way to break the infinite timeout fetch without forcing LabVIEW to close.

  • How do you calculate the instantane​ous frequency of a signal in LabView?

    I'm working with neural signals that can be described as a nonlinear series of action potentials.  I've already calculated the spike density function (spikes per second against time) and was wondering if this is the instantaneous frequency?  If not, could someone please describe how to calculate instantaneous frequency in LabView without the advanced signal processing toolkit.

    Instantaneous frequency is a term which seems to be context-sensitive.  In other words the definition can vary depending upon the application.
    Spikes per second would be more of an average frequency (averaged over one second).
    For your neural signals I would think that an instantaneous frequency would be defined as the reciprocal of the time between successive spikes.  Since you can count spikes, you should be able to determine the time of each spike.
    Lynn 

  • How do you calculate the length of a microcassette tape on the M-2000 transcriber?

    There is a counter that runs as you rewind a microcassette tape.  What is the equivalent in minutes?  I would like to know how long the tapes are that I am preparing to type.  Thanks for your prompt reply.

    Unfortunately, we have a very limited information about the M-2000 Micro Cassette Recorder since it was first released in the market last 7/1/1989. Perhaps, the manual here can be of help. 
    If my post answers your question, please mark it as "Accept as Solution"
    http://bit.ly/Win-4K

  • How do you calculate the age of a query?

    Hi,
    We are trying to determine how old a query is?  Do one of the statistical cubes/queries contain the age or created on date of a query?
    Thanks for you help.  Points will be rewarded for the correct answer.
    Thanks,
    Mike

    Hi rathi/mike,
    check these tables RSRREPDIR,RSZCOMPDIR.
    Cheers
    RK

  • How can I calculate the count of each row and they are grouped in each mth?

    hi, I need help on a database question. How can I count the number of record grouped by the last 12 months? I don't know any way to iterate the month one by one so that it return a table like this:
    table_item
    id item
    1 A
    2 B
    3 C
    4 D
    table_record
    item date
    A 2006-01-01
    A 2006-01-01
    A 2006-01-01
    B 2006-02-01
    A 2006-03-01
    C 2006-04-01
    A 2006-04-01
    D 2006-05-01
    A 2006-05-01
    A 2006-12-01
    and I need a query to output following table:
    item_count_in_2006
    item 06-01 06-02 06-03 06-04 06-05 06-06 06-07 06-08 06-09 06-10 06-11 06-12
    A 3 1 1
    B 1
    C 1
    D 1
    I tried so many way to do it.. I think SQL can't even product a table like that. Please give me some comments.
    Thanks!

    select c1,
           count(decode(to_char(c2,'YYYYMM'),'200601',1)) "200601",
           count(decode(to_char(c2,'YYYYMM'),'200602',1)) "200602",
           count(decode(to_char(c2,'YYYYMM'),'200603',1)) "200603",
           count(decode(to_char(c2,'YYYYMM'),'200604',1)) "200604",
           count(decode(to_char(c2,'YYYYMM'),'200605',1)) "200605",
           count(decode(to_char(c2,'YYYYMM'),'200606',1)) "200606",
           count(decode(to_char(c2,'YYYYMM'),'200607',1)) "200607",
           count(decode(to_char(c2,'YYYYMM'),'200608',1)) "200608",
           count(decode(to_char(c2,'YYYYMM'),'200608',1)) "200609",
           count(decode(to_char(c2,'YYYYMM'),'200610',1)) "200610",
           count(decode(to_char(c2,'YYYYMM'),'200611',1)) "200611",
           count(decode(to_char(c2,'YYYYMM'),'200612',1)) "200612"
    from   tbl
    group by c1
    C     200601     200602     200603     200604     200605     200606     200607     200608     200609     200610 
    D          0          0          0          0          1          0          0          0          0          0          0          0
    A          3          0          1          1          1          0          0          0          0          0          0          1
    B          0          1          0          0          0          0          0          0          0          0          0          0
    C          0          0          0          1          0          0          0          0          0          0          0          0Nicolas.

  • How do I use the counter and digital signals of the 6071E while it is connected to SCXI modules?

    I am contemplating using a PCI 6071E with SCXI. We have the boards (6071E), we would need the cable (I suppose SH1006868) and the SCXI system. I would like to know how would you access the counter and digital line capabilities of the board. I will be using a SCXI-1314 with a SCXI-1520 Module for strain measurements but will need to use the counter and digital lines of the board as well. Can this be done? If so, how and/or what else do I need?

    I think this KnowledgeBase will answer the question for you.
    Accessing DAQ Board Counter Pins with an SCXI System
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • How do you calculater correlation coefficients for data?

    I would like to calculate the correlation coefficient for data which has a linear correlation. I can calculate the linear fit, but how do you calculate the correlation coefficient from this data. Any help would be greatly appreciated.

    If you're just looking for the correlation coefficient (r^2 or r) of a linear regression, you can use the method described HERE earlier.
    LabVIEW Champion . Do more with less code and in less time .

  • How do you get word count to print at the end of a document in Pages?

    How do you get word count to print at the end of a document in Pages?

    Pages v5 does not provide a user assignable word count variable. With some AppleScript, and a paste operation from the clipboard, you can have locale punctuated word count in this format: 7,803 — anywhere in your document. The following AppleScript works with Pages '09 v4.3 through Pages v5.5.2 on Yosemite.
    I would suggest that you copy paste the following AppleScript into your [Apple] Script Editor and save it (suggestion) wordcnt.applescript. Then, follow this with an option+Save As… and this time set the File format to Script Bundle, or Application with hidden extension — saved to your Desktop. Provided you have a Pages document open, you are then a double-click from the ability to paste your current word count into Pages.
    Note: If you have Pages word count display enabled, it will automatically count your pasted value as another word which initially may deceive on true word count at the time the script was run.
    AppleScript
    --- copy below this line ---
    property locale : "en_US.UTF-8" -- In Terminal, use the locale command to see yours
    if not ApplicationIsRunning("Pages") then
         display dialog "Pages must be running to use this utility."
         return quit
    end if
    tell application "Pages"
        tell body text of front document
            set wordCnt to count words
            -- Don't want punctuated numbers? Remove the single quote from printf format
            set the clipboard to (do shell script "export LC_ALL=" & locale & "; printf \"%'d\" " & wordCnt)
        end tell
    end tell
    on ApplicationIsRunning(appName)
         tell application "System Events" to set appNameIsRunning to exists (processes where name is appName)
         return appNameIsRunning
    end ApplicationIsRunning

  • How do you modify the default Execute thread count in Weblogic Server 9.2?

    How do you modify the default Execute thread count in Weblogic Server 9.2?
    How can you tune the starting number of weblogic.ExecuteThread on server startup and/or set minimum number?
    Is there an option from the console?
    Please let me know.
    Thanks

    Self tuning will automatically manage the threads but however you can still control the min and max by adding the min and max values for each instance either directly adding in config.xml or through JVM settings
    1) Modifying the config.xml
    Just add the following line(s) to each server definition :
    <server>
    <name>AdminServer</name>
    <self-tuning-thread-pool-size-min>100</self-tuning-thread-pool-size-min>
    <self-tuning-thread-pool-size-max>200</self-tuning-thread-pool-size-max>
    </server>
    2) Adding some JVM parameters
    It's safer the following way :
    add the following option in your command line : -Dweblogic.threadpool.MinPoolSize=100
    Regards
    RR

  • How do you test any SAP objects before a transport to the production server

    How do you test any SAP objects before a transport to the production server?

    Hi Rama Krishna,
       The actual process is develop the object in development system and unit test there with the available data.
      Then move it to Quality server where the data will be the actual replica of production and where the integration testing and ened to end testing happens and also the user acceptance testing  happens there.
    and once everything is found fine there then it is moved to production system.
    Award points if this is helpful.
    Regards,
    Ravi G

  • How do you get the page count on an old hp 1012 laserjet printer?

    How do you get the page count on an old hp 1012 laserjet printer?

    You should find this information on the configuration page. To print a configuration page, press and hold the green GO button until all of the lights cycle, approximately five seconds, then release the button. The Configuration Page will print.
    You can find more information in this document: Identifying Page Count.
    I am an employee of Hewlett Packard.
    - - Please mark Accept As Solution if it solves your problem so others can more easily find the answer - -
    - - Please click the Kudos star if you would like to say thanks - -

Maybe you are looking for

  • Audio Problem on Ubuntu 12.04

    Hello all I have problems with audio playback on Ubuntu 12.04 On earlier Ubuntu 10.04 I used pulseaudio to aquire Java Sound System mixer. But I have not succeeded in getting Java Sound System mixer on Ubuntu 12.04 Using one of the hardware mixers th

  • FK10N - vendor balances

    Hi All,    In FK10N transaction . Balance and cumulative balance is getting claculated dynamically   please let me know the logic behind this. With Thanks

  • To run command on system...

    Hi geeks... How I can to do to execute a command on system? I use Linux... so... how I can to do to run df command by Java? Thanks.

  • CS4 very slow vs. CS3

    I have been doing large layouts in photoshop for years for the film and advertising industry.  I have recently started using cs4 and found it to be pretty much unusable when working with large layered files.  I have followed several tutorials on incr

  • Deleted cost center details ?

    hi, while using KS04 transaction , if user deletes any cost center , the cost center is to be populated in that report , main requirement is to fetch data of deleted cost center in the hierarchy but the main problem is that when i delete the cost cen