How to add a time delay of microsecond in labview 2011

can you please help me, how to add a time delay of microseconds in labview 2011 version . I expect a helpful replies

A delay between what and what?
Is this plain LabVIEW, LabVIEW RT, or LabVIEW FPGA? What kind of data acquisition hardware are you using?
What is your OS? An accurate "software only" delay of microsseconds is not possible on windows or any other general purpose OS.
perumpadapu wrote:
... I expect a helpful replies
To get a helpful reply, you need to provide much more detail on what you are trying to do!
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to add a time stamp to a video edited in Photoshop CC?

    Hello fine ppl of Adobe communities.
    I was wondering how can you add a time stamp to a video when edited in PS CC, is it possible at all? I dont have premier but I do have PS and LR.
    Appreciate any help.
    thanks

    If you use File > Place Embedded, you'll be able to resize and place (move, rotate, etc.) images as appropriate in your open document with the added bonus of having them added as Smart Objects. (Note that using Smart Objects can greatly increase the file size of your document. Just be aware.)
    File > Place Embedded > resize and place (hold down Shift to constrain proportion as you resize) > confirm by clicking the checkmark or "commit" icon.
    For layers that already exist, right-click the layer in the Layers panel > Convert to Smart Object.

  • How to add a time stamp to an array

     Currently the VI that I have attached has the capacity to log data from the set of 14 arrays. I currently have a tick counter hooked up. However, I would like to add a time stamp that will display the elapsed time in seconds from the begining of the data logging. Could anyone help me out with that? Please see the attached VI and sorry for how messy it is, I have yet to go back and clean up the wiring. 
    the mess of arrays on the lower left hand of the while loop feed into the "Index Array" building block and from there they will be scaled (for most of the wires the multiplyer is just there so that I can see what channel they will be when I hook it up for logging) The wires then feed into a "Build Array" Building block and I assmed that is where I had to hook up the time stamp for me to be able to log it.
    Thanks,
    Attachments:
    PDAQ56 datalogging V11.vi ‏104 KB

    mets501 wrote:
      Also, try pressing Ctrl-U on the block diagram.  It cleans up the wires for you atomatically :-)
    Jeremy
    That tool does not exist before LabVIEW 8.6.  The original poster attached a VI from LV 8.0
    Attached is the VI where I ran Block Diagram cleanup in 8.6.1f1 and back saved to LV 8.0.  I went through and cleaned up almost all the coercion dots as well.
    The original poster should start working from this file since it is much cleaner than the one they posted.
    Attachments:
    PDAQ56DataloggingV11.vi ‏84 KB

  • Urgent: Please help. how to solve the time delay during buffer read and write using vc++

    I need to continuously acquire data from daqmx card, write into a file and at the same time corelate (in terms of time) the data with signals from other instruments. The current problem is that there is time delay during read and write data into buffer,thus causing misalignment of the data from multiple instruments. Is there a way to solve  the delay? or Is there a way to mark the time of the data acquisition in the buffer?  If I know the starting time (e.g. 0) of data acquisition and sampling rate (e.g. 1kHz), can I simply add 1ms to each data sample in the buffer? The current code is shown below.
    void DataCollectionWin::ConnectDAQ()
    DAQmxErrChk(DAQmxCreateTask ("", &taskHandle));
        DAQmxErrChk(DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0,Dev1/ai1,Dev1/ai2,Dev1/ai3,Dev1/ai4,Dev1/ai5,Dev1/ai16,Dev1/ai17,Dev1/ai18,Dev1/ai19,Dev1/ai20,Dev1/ai21,Dev1/ai6,Dev1/ai7,Dev1/ai22","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
      DAQmxErrChk(DAQmxCfgSampClkTiming(taskHandle,"",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,60000));
      DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,50,0,EveryNCallback,NULL));// Every 50 samples the EveryNSamplesEvent will be trigured, to reduce time delay.
      DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,NULL));
      DAQmxErrChk (DAQmxStartTask(taskHandle));
    int32 CVICALLBACK EveryNCallback(TaskHandle taskHandle, int32 everyNsamplesEventType, uInt32 nSamples, void *callbackData)
     DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,50,10.0,DAQmx_Val_GroupByScanNumber,data,50*15,&read,NULL));
       //memcpy(l_data,data,6000);
      SetEvent(hEvent);
    l_usstatus_e[0]=g_usstatus[0];// signals from other instruments that need to be corelated with the data from daq cards.
     l_optstatus_e[0]=g_optstatus[0];
     if( read>0 ) // write data into file
       //indicator=1;
     for (i=0;i<read;i++)
     {  //fprintf(datafile,"%d\t",i);
      fprintf(datafile,"%c\t",l_usstatus_s[0]);
      fprintf(datafile,"%c\t",l_usstatus_e[0]);
            fprintf(datafile,"%c\t",l_optstatus_s[0]);
      fprintf(datafile,"%c\t",l_optstatus_e[0]);
              fprintf(datafile,"%.2f\t",data[15*i]);
     //   sprintf( pszTemp, "%f", data[6*i]);
     // pListCtrl->SetItemText(0, 2, pszTemp);
        //pWnd->m_trackinglist.SetItemText(0, 2, pszTemp);
         fprintf(datafile,"%.2f\t",data[15*i+1]);
         fprintf(datafile,"%.2f\t",data[15*i+2]);

    Hello kgy,
    It is a bit of a judgment call. You should just choose the board that you think has the most to do with your issue. For example, this issue was much more focused on setting up your data acquisition task than the Measurement Studio environment/tools, so the MultifunctionDAQ board would have been the best place for it. As for moving your post to another board, I do not believe that is possible.
    Regards,
    Dan King

  • How to reduce the time delay in data synchronization?

    I have successfully synchronized the ADF mobile client with oracle server. However, after synchronization, there is a time delay
    in getting the updates.
    For example, if I update the table in the oracle server. It takes one or two synchronization to see the update in the client.
    The same way, after synchronization of client data with server, it takes few minutes to see the updates in the oracle
    sql console.
    Any help on fix this time delay would be highly appreciated.
    Thanks.

    Hi, there, my apologies for delayed response.
    Oracle Lite Mobile Server updates/merges the changes from the client to the server database through a scheduled job, and by default it is invoked every 60 seconds. For development/demonstration purposes, you can shorten it to something like 1 or 5 seconds, which would cause the client update to take effect right away. For large scale production environments, however, leaving merge cycles at 1 or 5 seconds could result in excessive amount of database access and mobile server load. Please consult Oracle Lite Mobile Server Admin Guide for tuning instructions and also other Mobile Server admin details. (http://download.oracle.com/docs/cd/E12095_01/doc.10303/e12089/toc.htm). There is a chapter dedicated to synchronization.
    Here are the high level steps to shorten the data merge cycle:
    - Log into Oracle Lite Mobile Server admin console (http://<mobile server machine host name or IP>:<mobile server port>/webtogo
    - Go to the home page for the admin console. You should see general status, warnings, database details, Components, etc.
    - Toward the bottom of the page, you should see "Components" section. Click on the Job Scheduler Link.
    - In the Job Scheduler page, click on the Administration tab
    - In the Scheduled Job table, locate the entry called MGP_DEFAULT
    - Check the radio button right next to the MGP_DEFAULT job, and click on the Edit button on top of the table
    - Under the Schedule Section of the page, find the "Repeat" title, and then "Interval". Update the frequency to a lower value like 1 or 5 seconds.
    - Under the Schedule section of the page, find the "start" title, and check Immediately.
    - Click OK. This should re-start the merge job right away, with the updated interval.
    Thanks,
    Joe Huang

  • How to add 15 bit can crc calculation to labview polynom is x15 + x14 + x10 + x8 + x7 + x4 + x3 + 1 .

    how to add can crc calculation to labview polynom is x15 + x14 + x10 + x8 + x7 + x4 + x3 + 1
    for 15 bit calulation
    thanks for any assistance

    Hi there,
    Here you can find the explanation of how the CRC calculation is done (see page 15). Now, if you are planing to do this with NI hardware/software it does not make sense since the calculation it is already taken care by the driver. In case you want to do this on your own using digital lines be careful with impedances and any other electrical consideration.
    I hope this helps
    Alejandro | Academic Program Engineer | National Instruments

  • How to add PCI 7340 and UMI in my labview program from functions palette or how?

    Am using PCI 7340 and UMI7764 for motion control of a stepper motor.
    How to add the functions for PCI and UMI in my labVIEW program and how
    do I use these further? I need to control the direction of stepper
    motor rotation based on the pressure applied which we calculate as
    either clock.anti clockwise. So which function palette should I use for
    that.
    We use a darlington pair driver unit. ? The output
    from UMI are from the individual axis control whereas the driver input
    is through a serial bus. So what kind of cable should we use to connect
    the UMI with this and how do we connect this or should we use any other
    driver unit? Please explain in detail.
     Thank you

    Thank you I ll see to it

  • How to add a time characterstic(date) to already loaded cube??

    Hi All,
    We have a cube loaded(by daily deltas) for more than two years now, how can we add a date to this cube, what are the possibilities??
    1. do we need to delete all data,add that date ,reload??( quite tedious time consuming ,out of option for now)
    2. jut add that date to new dimension, load from now on?? but we may need data from past for that characterstic.
    3. if we copy that cube to another cube, add that char to old cube, then reload data from copied cube to old cube. is it possible to load all the data for that new filed for last two years??
    Please let me know the successful solutions as iam doing it in production system.
    Regards,
    Robyn.

    Hi Eric,
    ya that might be possible,but that charaterstic cannot be derived from the data present in cube as it needs to be derived from R/3 by changing the extract program of that cube.
    the plan is to create new cube with similar structure of old one plus this new date field,populate this new cube for say required years data, then generate query as using these two cubes in multiprovider.
    do u have any alternate solution for this
    Regards
    Robyn.

  • How to add wait time for any of the process in Process chains?

    HI
    I want to add the wait time for the process in the process chains. How to do it?
    Regards
    Priya

    Hi there,
    Here you go:
    REPORT  ZREPORTNAME. "the name of your report
    WAIT UP TO 90 SECONDS. "a wait is set to 90 seconds before starting the chain
    "call your chain to be executed after that
    CALL FUNCTION 'RSPC_CHAIN_START'
      EXPORTING
        I_CHAIN             = 'ZYOURCHAIN'. "the name of the chain you wish to run
    Diogo.

  • How to add date/time stamp to PDF in Acrobat 9 Pro?

    Hello,
    I'd like to add a date/time stamp to a PDF so that when I print the document, the current date/time will be printed as well.  Is it possible to do this?  I found the following posting (http://forums.adobe.com/thread/502915), but am not able to get it to work for me.  I don't really know anything about using Javascript.  Any help would be much appreciated.
    Thanks!

    Not sure it will work, but you can try using the app.hideMenuItem() method. See reference here.

  • How to add two time

    hi,
       My scenario is
       current date '20100920'  time is '054115'.
    i want to add 74 hours with this.
    i want output like  date '23100920'  time is '074115'.
    Thanks,
    Arun.
    Moderator message: date calculation questions = FAQ, please search before posting.
    locked by: Thomas Zloch on Sep 20, 2010 1:04 PM

    Hi,
    Use TO_NUMBER to convert those strings into numbers that you can add.
    Use TO_CHAR to convert that number back into a string.
    In PL/SQL:
    minutes := ( ( TO_NUMBER (SUBSTR (:psttime, 1, 2))
              + TO_NUMBER (SUBSTR (:pettime, 1, 2))
            * 60
            ) + TO_NUMBER (SUBSTR (:psttime, 4, 2)
              + TO_NUMBER (SUBSTR (:pettime, 4, 2);
    str := TO_CHAR (TRUNC (minutes / 60))
        || ':'
        || TO_CHAR ( MOD (minutes, 60)
                       , 'fm00'
                );In SQL, compute the NUMBER minutes in a sub-query, so you can use the alias in a super-query.
    This assumes that :psttime and :pettime are always well-formed: 2 digits for the hours, a colon, then 2 digits for the minutes. If you're not sure about the number of digits, the same basic approac will work, but the SUBSTRs will be a little more complicated.
    I hope this answers your question.
    If not, post a complete test script that people can run to re-create the problem and test their ideas. Include VARIABLE, CREATE TABLE, INSERT or whatever statements are necessary to provide some sample data, and also post the output you want from that sample data.

  • How to add new time char of IC to multiprovider

    Hi Experts,
    Could any pne help in how to include the newly added time char in two infocubes out of 5 infocubes of multiprovider
    Thanks In Advance
    Nitya

    Hi Nitya,
    Right click on Multiprovider--changedrag and drop time char in to dimensionnext click on Identify characteristic--here you need to select the info providers from which you to get data for time char.  ie you need to selet the required two cubes out of five.
    Regards
    Surendra
    Edited by: vaade surendra on Mar 27, 2010 5:20 AM

  • How to add Airport Time Capsule to an existing AT&T U-Verse Network?

    Hello, and please bear with me as I am not very tech savvy I just purchased a 2TB Airport Time Capsule (5th Gen) because I'd like to backup my Macbook Pro wirelessly. I've tried customer service with my ISP without luck, AT&T U-Verse. I currently connect through a 3801HGV 2wire dsl modem/router and think I'm stuck using it since numerous other devices are hooked up through it and I'd rather not re-setup them up.
    I'm having issues connecting the TC to my existing network. When I use the Airport Utility (tried both while TC is hardwired to my computer, and to the router/modem) it doesn't detect my 2wire network, another network I assume is my neighbor's.
    From reading through other posts with similar issues it sounds like I can't use the Airport TC to extend my existing network, say if the U-Verse router was upstairs, Airport TC was downstairs is that correct? Do I have to hardwire the TC to the router/modem?  I've found some screen captures of the Airport Utility but I cannot find them. I noticed that they were pre-Maverick screenshots so perhaps the menus have changed?

    Do I have to hardwire the TC to the router/modem?
    Yes.
    Connect an Ethernet cable from a LAN <-> port on the Uverse gateway to the WAN "O" port on the Time Capsule.
    Power up the TIme Capsule (TC) and let it run few minutes, then hold in the reset button on the back of the device for 10 seconds and release. Allow a full minute for the TC to restart, at which time it will be slowly blinking amber.
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click on the Other Wi-Fi Devices tab at the upper left corner of the screen
    Click on the Time Capsule now and AirPort Setup will open up automatically and take a minute to analze the network.
    Click on Other Options at the lower left of the window
    Click the button next to Create a new network
    Enter a name for the network and a name for the TC and a password and click Next
    Skip the step about cycling power on the modem
    Wait while AirPort Setup sets up the TC, then click Done
    Now click on the TC icon in AirPort Utility
    Click Edit in the small window that appears
    Click the Network tab at the top of the next window
    Change the setting for Router Mode to Off (Bridge Mode)
    Click Update at the lower right of the screen, then click Continue and wait for the TC to restart again
    You should now have a green light on the TC
    You can use either the Uverse wireless network or the TC wireless.  If you want the best wireless performance, use the TC network.

  • How can I interactively create a New File in LabVIEW 2011?

    I am trying to create a new binary file interactively in LabVIEW, but the File Path control only offers the ability to either type in the full path and file name (cumbersome for the user), or browse for an existing file. I want to open a "New File" dialog that will allow the user to browse to the target directory, then be able to enter the name of a non-existing file to save the data to.
    The way I'm currently doing it is creating a TXT file using the Windows Explorer "New Text Document" pop-up, then changing the file extension to the new value...which is again, very cumbersome.
    The only thing I've found online is that there used to be a "New File.VI" in an older version of LabVIEW apparently...but I can't seem to find it in 2011.
    Solved!
    Go to Solution.

    You can create a new file using the browse button.
    Did your right click on the file path control and check the settings in the "Browse Options" menu?

  • I've tried every online tutorial for timer.delay + experimented... how to make it work in this sitch

    Hey,
    I've read literally every single timer.delay tutorial I could find online, on youtube, the official documentation, tons of posts on this forum, etc. What I am trying to say is I looked everywhere before posting for help.
    I have a timer running. It runs throughout the game. I need to modify the speed of that timer when a player either hits a certain second(won't work, because the timer is already running) or when someone gets a certain score(can't get it to work, because timer is running).... so my question is how do I get timer.delay to work when the timer is running throughout the entire game. I tried to control the delay by when someone gets a point, but that didn't work either. I am using a trace statement so I see the seconds and the timer speed. the code looks something like
    randomvariable = new Timer(2000,8);
    timer.addEventListener(MouseEvent.CLICK, loop);
    timer.start();
    function loop
    // my looping code here
    What I posted is psuedo code.
    Any ideas on how to make the timer go faster without delay, since I can't get delay to work under the circumstances I explained? Or is there a work around that I don't know about? I will try to give back to the forums by answering other questions. Oh, I am running this on the timeline, not in a .as file. Thanks so much for your help!

    That's what I thought. I thought if I set a delay inside the function or in an if statement for the var that  prints out  the timer decrease that it would work. It doesn't. I'm using Adobe AIR for IOS, but I doubt that makes a difference in this case. I write timer.delay=500; that should make the timer go at 500 milliseconds. My trace shows the amount of milliseconds didn't change throughout the application. It is quite bothersome, since everything else works and every guide and the docs say what I am doing should work. Any ideas?
    Thanks.
    Sincerely,
    Ryan Satterfield

Maybe you are looking for