Measure the communicat​ing time between LabView send out commands and response of instrument

I send a command to a function generator(SRS DS345)using "GPIB Write" via GPIB,to change the frequency of output.And I would like to to measure the time between
initially send out commands and actual response of instrument(frequency change).I have designed a program which contains three sequences,the 2nd one contains "GPIB Write",and the 1st and the 3rd contain "Tick count",then subtract the latter from first one.I think this is not the time that I want...
What should I do ?
Thanks!!

If want a more precise and NIST-traceable method of timing a portion of your LabVIEW code. The below VI uses two counters on an E-Series or NI-TIO based device to complete this task.
Download the attached VI and replace the for loop (EVENT TO TIME) with your VI or code.
This example uses the maximum timebase of your device as the source for "simple event counting". Due to counter roll-over, two counters are used in order to be able to time events of short or very long duration. See VI Documentation for more information.
Attachments:
Time_With_Counters_(LV61).vi ‏199 KB

Similar Messages

  • Response time between LabVIEW w/DSC module and RSLinx OPC server hosting FlexLogix PLC tags too long

    We are experiencing communication response time delays between LabVIEW with DSC module and RsLinx OPC Server hosting all FlexLogix PLC tags (around 500-600 tags).
    The nominal response time for the system watchdog is < 500ms, but we occasionally have spikes of up to 1.5 seconds once every few days even when the system is idling.
    Changing more than six PLC connected shared variables at the same time from LabVIEW also causes the watchdog response times to spike above 500ms.
    Our watchdog is programmed so that LabVIEW toggles the watchdog bit to 1 as soon the shared variable event detects that the PLC has toggled it to 0. The PLC, however, waits 300 ms until it toggles it.
    Our system:
    Windows XP SP3
    LabVIEW 9 F3
    RSLinx Opc Server v2.54
    Allen Bradley FlexLogix PLC

    What is your update rate set for in the RSLink OPC server?
    You aren't toggling the same flag from both ends are you?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to measure the Data setup time

    I want to do a SPI timing AC characteristics.
    I use labview capture a frame of SPI data package from a oscilloscope and display in a waveform Graph.
    Lead time, Data setup time, data hold time... should be measured.
    So, what is the next  step should i do?
    Thanks

    Thank you, asastet.
    I test the SPI module of a MCU. I have download a code to init the SPI and transfer a data package continuously.
    The 4 channels of oscilloscope connected with SS, CLK, MOSI, MISO.
    In labview, I capture a frame of SPI data package from oscilloscope and display in waveform graph control.
    My project will automatically measure the data setup time and data hold time according CLK vs. MOSI.
    Thanks.

  • Measure the average read time of a single database block for hardware.

    Hi,
    how to Measure the average read time of a single database block for hardware ?
    Many thanks.

    Hi,
    A STATSPACK report has data file level I/O tunings, but they include buffered reads, so they are biased.
    Try this in 9i:
    http://www.dba-oracle.com/oracle_tips_cost_adj.htm
    select
    a.average_wait c1,
    b.average_wait c2,
    a.total_waits /(a.total_waits + b.total_waits)*100 c3,
    b.total_waits /(a.total_waits + b.total_waits)*100 c4,
    (b.average_wait / a.average_wait)*100 c5
    from
    v$system_event a,
    v$system_event b
    where
    a.event = 'db file scattered read'
    and
    b.event = 'db file sequential read';
    Or this, in 10g:
    col c1 heading 'Average Waits for|Full Scan Read I/O' format 9999.999
    col c2 heading 'Average Waits for|Index Read I/O' format 9999.999
    col c3 heading 'Percent of| I/O Waits|for scattered|Full Scans' format 9.99
    col c4 heading 'Percent of| I/O Waits|for sequential|Index Scans' format 9.99
    col c5 heading 'Starting|Value|for|optimizer|index|cost|adj' format 999
    select
    sum(a.time_waited_micro)/sum(a.total_waits)/1000000 c1,
    sum(b.time_waited_micro)/sum(b.total_waits)/1000000 c2,
    sum(a.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c3,
    sum(b.total_waits) /
    sum(a.total_waits + b.total_waits)
    ) * 100 c4,
    sum(b.time_waited_micro) /
    sum(b.total_waits)) /
    (sum(a.time_waited_micro)/sum(a.total_waits)
    ) * 100 c5
    from
    dba_hist_system_event a,
    dba_hist_system_event b
    where
    a.snap_id = b.snap_id
    and
    a.event_name = 'db file scattered read'
    and
    b.event_name = 'db file sequential read';

  • How to get the time length from send record command to record video really?

    I have two buttons. Record/Stop
    I press Record button to record the video and press Stop
    button to stop recording.Now,I spend 1986 ms from press Record
    button to press Stop button.
    But the flv file's length is 1920 or 1910 or 1915 ms.
    So I want to get the time length from send record command to
    record video really.
    Can you give me some suggests.
    Thanks!

    maybe you have lag in publishing.... are you try watch de
    NetStream.liveDelay() method?
    or start counting when NetStream.onStatus has
    "NetStream.Record.Start" and "NetStream.Record.Stop" in information
    objects....

  • How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.

    How can I change the file download time using Adobe Send? Adobe SendNow had a lot more options.I don't see nay with Adobe Send.

    There isn't a feature in Adobe Send for setting and end-date for a file's availability. At any time, you can Unshare the file, however.

  • Is there a way on Mtn Lion or Mavericks to increase the amount of time between NetBIOS broadcasts?

    Is there a way on Mtn Lion or Mavericks to increase the amount of time between NetBIOS broadcasts? I am aware of how to disable it using a terminal command, but I am looking to try and modify the interval without disabling it all together. I am hoping to improve network performance across several hundred Mac systems. Any help is appreciated.

    i'm trying to do the same thing!
    i changed the still freeze frame length in the user preferences but it still will only allow me 2 minutes.
    I want a company logo jpeg to appear at the bottom of my entire 58 minute video.
    I cant get it to work.
    ARRRGGGH!!!!!!!!!!

  • My IPhone, after synching the last few times, has inherited both my husband and my daughter's music libraries.  How do I un do this?

    My IPhone, after synching the last few times, has inherited both my husband and my daughter's music libraries.  How do I un-do this and keep this from happening in the future?

    1) You asked "Does she need to reconnect to that itunes/computer and if so what do we need to do to remove this folder of pics from her ipod?" Yes, you have to connect the iPod to that computer and go to the Photos pane for the iPod in iTunes and uncheck sync photos and the click on synce/apply. In the future do not check sync photos.
    iOS and iPod: Syncing photos using iTunes
    2)
    Create a NEW account for using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    Then on the iPod go to
    - Settings>Messages>Send and receive and sign out your ID and sign into hers. Make sure that only her ID email address is listed.
    - Settings>FaceTime sign out of your ID and sign into hers. Make sure that under You can be reached at only her ID email address is listed
    - Settings>iCloud and sign out and sign in with hers
    Contnue to use the commpn ID/account for Settings>iTunes and App stores.

  • After upgrading to the new iOS7, I can't send out sms, I can receive sms, can make and receive call. I have already contacted my network provider, we changed sim card, I have tried to put my sim on other phone, and it's perfectly working. Help me pls

    After upgrading to the new iOS7, I can't send out sms, I can receive sms, can make and receive call. I have already contacted my network provider, we changed sim card, I have tried to put my sim on other phone, and it's perfectly working. Help me pls.

    To be honest not being able to send or recieve messages and data is a carrier issue, not a phone issue since u said that your calls are working, if i were you my first course of action would be to get a new sim card from virgin mobile, or to restore the device as new one more time, if you restore the device as new AND get a new sim card from your carrier and those features still dont work, i would take the device to an apple store

  • What is the purpose of the chain (lock symbol) between a solid color layer and its vector mask?

    What is the purpose of the chain (lock symbol) between a solid color layer and its vector mask in the layer panel when creating shape layers with a shape tool? I'm just curious when locking or unlocking the solid color layer and its vector mask can make a difference.

    I don't understand what you said and your shape layer looks different then mine using CS5.
    When the chain is deselected, I can't do anything with the move tool on the shape layer. This is the only difference I can find. Making the solid color uniform or not doesn't change anything.
    Your example shows that you moved the position of the solid color, how did you do that? I can create a solid color layer and change its uniform look by applying an effect like gradient but I can't move the solid color itself around. How is this possible?

  • Can I switch back and forth the same sim card between an old iPhone 4 and a new one never used in order to activate the latter? Should I use same Apple Account?

    Can I switch back and forth the same sim card between an old iPhone 4 and a new one never used in order to activate the latter? Should I use same Apple Account? Should I activate it via WiFi or iTunes? I am filtering on the MAC no and I cannot read that number from the new iPhone without having it activated??!!
    All I want do is to have the new phone activated and then tested!
    Ciao // Mufftas

    Yes, you can do that.

  • HT5312 IT docent show me below the questions if i want to send my self and email to change my questions

    IT docent show me below the questions if i want to send my self and email to change my questions

    Go back to the article you asked this question from and use the link to contact the iTunes Store staff in the 'Additional Information' section. If you don't already have a valid rescue email address, you can't reset the questions yourself, and nobody on these boards can reset them for you.
    Setting up a rescue email address requires correctly answering two of the questions.
    (95194)

  • I could not send out message and I could not hear anything when someone calls .

    Iphone3GS unable to send out MSG and incoming/outgoing calls does not work. Had reset network but problems stiill intermittent

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?
    What specifically is happening?  Any errors?

  • I AM A CREATIVE CLOUD MEMBER FOR SOMETIME BUT NOW WHEN I LOGIN WITH THE CORRECT PASSWORD I STILL GET SIGNED OUT MESSAGE AND THEN WHEN TRIED THE SOLUTION GIVEN BY HELP THAT IS TO DELETE OPM.DB FILE OR SECOND SOLUTION INSTALL A FRESH CREATIVE CLOUD FOR DESK

    I AM A CREATIVE CLOUD MEMBER FOR SOMETIME BUT NOW WHEN I LOGIN WITH THE CORRECT PASSWORD I STILL GET SIGNED OUT MESSAGE AND THEN WHEN TRIED THE SOLUTION GIVEN BY HELP THAT IS TO DELETE OPM.DB FILE OR SECOND SOLUTION INSTALL A FRESH CREATIVE CLOUD FOR DESKTOP APP OR EVEN SOLUTION OF RUN OF IMSLIBREPLACER  IM STIILL NOT ABLE TO LOGIN TO MY CREATIVE CLOUD FOR DEKTOP APP . PLEASE HELP ME AS I NEED TO GET IN AND EXPLORE MORE OF MY DOWNLOADED S/W
    I HAVE TRIED ALL POSSIBLE SOLUTION BUT AM AMAZED HOW THIS IS HAPPENING TO ME.
    PLEASE PLEASE HELP ME .Creative Cloud Connection

    Hi Alfred,
    I would like to know the exact error message when you sign in, in the meanwhile please try the following steps assuming its Windows, let me know if its a MAC:
    1) Go to Start button>> Control panel>> Uninstall a program.
    2) Check if you see Browser safeguard there, if yes then uninstall it.
    3) Open Internet explorer>> Tools>> Internet options>> Connections>> Lan Settings>> and it should be like this.
    -Ankit

  • Why is the sound of my new ipad cutting out intermittently and what does Apple recommend to solve the problem in lieu of any updates?

    Why is the sound of my new ipad cutting out intermittently and what does Apple recommend to solve the problem in lieu of any updates? All of a sudden without changing any settings, the audio on my NEW ipad cuts in and out on applications/ games, keypad noise and lock sounds. The rocker button only seems to work while the sound is intermittently being heard before, after a few seconds of noise not doing anything when sound goes off.
    This is highly frustrating as I've noticed others posting about such issues as far back as April. Anybody had the same thing happen to them? Is this likely software (ios6) or hardware issue? What are the solutions Apple???

    Apple has no physical stores of their own in Dubai, so unless you mean that you purchased from the online Apple Store for the UAE, you purchased from a dealer, who may or may not have been authorized. You can check the expiration date of the warranty on your iPad yourself by entering in the serial number here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    If it does indeed show the warranty has expired, then what you need to do from here will depend on who you purchased the iPad from and when you really did purchase it. Perhaps you actually purchased it in August and are just misremembering? Check your receipt. If you confirm that you did purchase within the last calendar year, tell us exactly where you got it and we can probably offer advice.
    Regards.

Maybe you are looking for

  • Fields missing in Characteristic Relationship

    Hi Experts, I want to derive Currency Key from Company code using Characteristic Relationship. I am using 'With Derivation' and master data attributes. But in the source fields I see only two fields Cost Center and Controlling Area. Not sure why I am

  • Password prompt Error with Bex and Excel 2007

    Hi Guru's, We have a problem with end users that have the Bex add-in loaded in Excel 2007 when they are using a different 3rd party add-in.  The problem is when they close Excel, they get password prompted for a password protected VB project in the w

  • Initial Compression of a Cube - Suggesions/Experience needed

    <b>Q: What experience have you have compressing an InfoCube with a large dataset on MSSQL?</b> I am looking into compressing an InfoCube for the first time. I ran it via PC in Dev, and I ended up having to kill the process b/c my transaction log fill

  • Can´t create reminders at february, 26 - 2012

    iOS 5.0.1, app Reminders: You choose february, 26 in Calendar screen, but when the list appears, it shows february, 25. If you create an appointment, it appears in wrong day. Maybe is it a bug because the Brazilian summer time? Our summer time ended

  • Mac air SSD issue

    my mac air is 2012-mid 13inch 128G ssd model, but i cannot upgrade the ssd firmware 1.1 version. No update available in Appstore and if i download from the apple website, it shows not need install in this mac, what can i do now ?