How can i measure the transmision time in gpib with visual basic with more precision if i use time() function?

I want to take a measurement of the time that i use to make a gpib transmision in a Visual Basic program,i use the function TIME() to take the time in the begining and other time in the end,but this way only give me precision of seconds, and i want miliseconds,can i use other function,other way?
Can answer in spanish?

Try using GetTickCount() API function, which provides millisecond precision. If you need more precise timer, try using QueryPerformanceCounter() function.
Makoto

Similar Messages

  • How can i measure the speed of the fan in sound and vibration signal simulator box

    how can i measure the speed of the fan in sound and vibration signal simulator box
    provided the values  tach out:2 pulses/revolution and  maximum speed = 6000rpm

    Hi. I tried your suggestion and I could not get it to work well. In
    fact it worked better without the running average (which suprised me).
    I also played with the number of data points but still could not get it
    to work well.
    Do you have any other suggestions on how I could sort this problem out?
    I
    have attached a screen shot of the signal. To recap, I'm trying to
    measure the'y' position of the flat regions of the signal. The signal
    does not have a constant level, so this 'y' position varies with time
    in a non-unform manner.
    I am currently differentiating
    the signal and selecting the y position when the differential is equal
    to zero (within a tolerance band).
    In the screenshot, the
    signal has been zeroed using the method I have described above.
    However, it occasionally has glitches which may be caused when the code
    picks up a zero gradient at a peak or valley in the signal.
    I therefore need some kind of algorithm that only measures the position of the flat regions.
    Many thanks
     John
    Attachments:
    screenshot.gif ‏121 KB

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • How can I measure the hertz in a wave form?

    How can I measure the hertz in a wave form?

    As an example, this is from BBC Technical Requirements for HD material:
    3.1.1 Stereo line-up tones
    All stereo tracks must use EBU 1KHz tone (left ident). All tones must be sinusoidal, free of distortion and phase coherent between channels.
    Digital Audio Reference level is defined as 18dB below the maximum coding value (-18dBFS) as per EBU recommended practice R68.
    See also:
    http://www.bbc.co.uk/guidelines/dq/pdf/tv/tv_delivery_to_network_programmes_v1.2-2011.pdf
    for full document.
    And for BBC Radio:
    Not every Network requires tone. Check the delivery requirements with the commissioning network or click here.
    Reference tone, where used, should be at -18dBFS or PPM 4 on A, B and/or M.
    If submitting material with reference tone, tone and programme material must be have been monitored and measured through the same technical chain. The level of the tone must be equivalent to 0dBu and no less than 8dB below peak audio level for the programme material.
    THE LEVEL OF TONE MUST HAVE A KNOWN RELATIONSHIP WITH THE LEVEL OF THE PROGRAMME MATERIAL AND THIS MUST BE STATED; for example: “Tone at 8dB below peak programme level”.
    As a newcomer to digital sound (my background is camera) I confess to being somewhat confused. We are normally told to record at the highest level possible. So for voice podcasts I tend to record at about -6dB below peak for maximum volume, distributeds on MP3 files.
    But I can underatand that televison and radio especially for analogue transmission) may have limited headroom, hence the requirement for -18dB peak = 0dBM.
    I remember when we first rented out Digital Betacam cameras, some recordists were recording almost everything OVER -18dBM.
    I suspect that until we have an all-digital world, these requiremnents will still be in place.
    Many thanks to all. It's a ghreat community!
    Brian Rose

  • How can I measure the Graphics Card usage? I.e. percent load

    Hello,
    How can I measure the Graphics Card usage, like with the processor in Task Manager, but instead giving a percentage usage for the graphics card instead? Is there an easy way to do this, or would it require a lot of code? Is it even possible?

    Ah, so It's unlikely that Java3D will include anything for reading this data then? I was really aiming at measuring the GPU usage under this API which although i have limited knowledge using, I do at least have some knowledge - I wouldn't have a clue how to access any other API's!
    I'm using an NVidia TNT2 card at the moment, which is quite old.

  • How can I measure the copy speed of my compact flashcard to folder?

    how can I measure the copy speed of my compact flashcard to folder?
    I dont have a stop watch.

    Hi Steve Zavodny;
    Generally compact flash cards or basically slow because of them being flash memory and USB. What are you after here?
    Allan

  • )How can we schedule the info package daily run at 6 AM, with out useing in

    Hi
       Can any one explain 1) what is information broadcasting &how can we use this.
    2)What are the settings we have to do when we use the charts in WAD's
    3)How can we schedule the info package daily run at 6 AM, with out useing in process chains
    Thanks
    Bharath

    Hi,
      Information broadcaster :
          you can precalculate and distribute(thru mail) the query, workbook and webtemplate through online link or html file to the receipents (users).
    have a look at the below link.
         http://help.sap.com/saphelp_nw04/helpdata/en/3a/0e044017355c0ce10000000a1550b0/frameset.htm
    Infopackage scheduling:
         you can schedule the infopackage daily at your desired time .In the schedule tab ,select the start later in background and in the scheduling option give the date and time and give the period values as daily.
    Regards,
    Siva.

  • HT5219 How can i get the Apple Thunderolt display to show Windows 7 i run on my system using Paralells desktop..

    How can i get the Apple Thunderolt display to show Windows 7 i run on my system using Paralells desktop..

    You may need to set the slider at the upper-right corner of the Control window to something other than the extreme left-most position:
    Hope this helps.

  • How can i export the data to excel which has 2 tables with same number of columns & column names?

    Hi everyone, again landed up with a problem.
    After trying a lot to do it myself, finally decided to post here..
    I have created a form in form builder 6i, in which on clicking a button the data gets exported to excel sheet.
    It is working fine with a single table. The problem now is that i am unable to do the same with 2 tables.
    Because both the tables have same number of columns & column names.
    Below are 2 tables with column names:
    Table-1 (MONTHLY_PART_1)
    Table-2 (MONTHLY_PART_2)
    SL_NO
    SL_NO
    COMP
    COMP
    DUE_DATE
    DUE_DATE
    U-1
    U-1
    U-2
    U-2
    U-4
    U-4
    U-20
    U-20
    U-25
    U-25
    Since both the tables have same column names, I'm getting the following error :
    Error 402 at line 103, column 4
      alias required in SELECT list of cursor to avoid duplicate column names.
    So How can i export the data to excel which has 2 tables with same number of columns & column names?
    Should i paste the code? Should i post this query in 'SQL and PL/SQL' Forum?
    Help me with this please.
    Thank You.

    You'll have to *alias* your columns, not prefix it with the table names:
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id, b.id, a.val1, b.val1, a.val2, b.val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
      for rData in cData loop
    ERROR at line 18:
    ORA-06550: line 18, column 3:
    PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
    ORA-06550: line 18, column 3:
    PL/SQL: Statement ignored
    $[CHE_TEST@asterix1_impl] r
      1  declare
      2    cursor cData is
      3      with data as (
      4        select 1 id, 'test1' val1, 'a' val2 from dual
      5        union all
      6        select 1 id, '1test' val1, 'b' val2 from dual
      7        union all
      8        select 2 id, 'test2' val1, 'a' val2 from dual
      9        union all
    10        select 2 id, '2test' val1, 'b' val2 from dual
    11      )
    12      select a.id a_id, b.id b_id, a.val1 a_val1, b.val1 b_val1, a.val2 a_val2, b.val2 b_val2
    13      from data a, data b
    14      where a.id = b.id
    15      and a.val2 = 'a'
    16      and b.val2 = 'b';
    17  begin
    18    for rData in cData loop
    19      null;
    20    end loop;
    21* end;
    PL/SQL procedure successfully completed.
    cheers

  • I recently had to completely restore my laptop, so I lost the music on my itunes. It's still on my iphone, but how can I keep the music I already have and continue to add more music from the newly set up itunes again?

    I recently had to completely restore my laptop, so I lost the music on my itunes. It's still on my iphone, but how can I keep the music I already have and continue to add more music from the newly set up itunes again? Is there actually a way to do this? I can't help but wonder what the stupid icloud is for if my music is still somewhere in the 'cloud' but it's zero help for restoring music when it's lost on a computer....any help even a site that get's around apple would be great!

    It has always been very basic to always maintain a backup copy of your computer.
    Have you failed to do this?
    If so, not good, you can transfer itunes purchases from the iphone to your computer.  File>Devices>Transfer Purchases
    You can also redownload some itunes purchases in some countries:
    Download past purchases - Apple Support

  • How can we optimize the LIKE '%...%' to make it work more efficiently

    how can we optimize the LIKE '%...%' to make it work more efficiently

    SQL> create table test as select * from V$SQL
    Table created.
    SQL> create index test_txt_idx on test(sql_fulltext) indextype is ctxsys.context
    Index created.
    SQL> select substr(sql_fulltext,1,30) sql_fulltext from test where contains(sql_fulltext, 'dataobj#') > 0
    SQL_FULLTEXT                                               
    select obj#, dataobj#, part#,                              
    select /*+ index_ss(obj$ i_obj                             
    select /*+ index_ss(obj$ i_obj                             
    select /*+ index_ss(obj$ i_obj                             
    select /*+ index_ss(obj$ i_obj                             
    select /*+ index_ss(obj$ i_obj                             
    delete from sys.cache_stats_1$                             
    select substr(sql_fulltext,1,3                             
    insert into wrh$_seg_stat   (s                             
    insert into obj$(owner#,name,n                             
    update /*+ index_ss(obj$ i_obj                             
    update /*+ index_ss(obj$ i_obj                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    update wrh$_seg_stat_obj sso                               
    select obj#, dataobj#, part#,                              
    select obj#, dataobj#, part#,                              
    insert into tabpart$ (obj#, da                             
    update ind$ set ts#=:2,file#=:                             
    update ind$ set ts#=:2,file#=:                             
    insert into tab$(obj#,ts#,file                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    select i.obj#,i.ts#,i.file#,i.                             
    update tabpart$ set dataobj# =                             
    insert into ind$(bo#,obj#,ts#,                             
    update tab$ set ts#=:2,file#=:                             
    update tab$ set ts#=:2,file#=:                             
    update /*+ index_ss(obj$ i_obj                             
    insert into indpart$ (obj#, da                             
    35 rows selected.
    SQL> drop table test
    Table dropped.What are you doing differently?

  • How can I transmit the ring tones I created on my phone? i tried to synchronise several times, everything ok, but not the ring tones.

    how can i synchronise the ring tones I created on my iphone 4 (ios 5)? i tried to synchronise several times, but it doesn't work. everything ok, with the exception of the ringtones.

    Tones is the new name for Ringtones. Enable from Edit > Preferences > General tab and sync to your iOS device from the Tones tab when the device is connected.
    tt2

  • How can I measure the phase difference of two input signal?

    Hello,
    I'm trying to measure the phase difference of two input sine waves with the
    same frequency.
    Is there anybody how I can do this with labview?
    Thanks,
    Dae-han

    This is my case! I have TDS3034 which can measure phase. However when I open Read Waveform Measurement vi that comes with tkds30xx.llb, I have a number of options under "measurement function" but not the phase measurement. May be I need another vi to do this?

  • How can I set the movies I have put into itunes so that they do not sync each time I try to sync new music purchaes?

    I can uncheck tv shows and when I sync music or app purchase the tv shows do not sync unless they are marked us unwatched.  I have put digital copies of some blu-rays into itunes and I cannot get them to be in itunes without syncing when sync new purchases.  How can I keep the movies in itunes for storage but keep them from going to the device and taking up memory when I am not needing them?

    Just untick Sync Movies or change the drop down below to selected movies.
    tt2

  • How can we measure the time of excecution of our Java program?

    i have a java application program which runs depend upon the user input.
    I want to analyze how my application works.
    So i want to measure the time of execution.How can i do it?

    makpandian wrote:
    ..i want to measure the time of execution.
    long startTime = System.currentTimeMillis()
    doTimeConsumingTask();
    long endTime = System.currentTimeMillis()
    System.out.println(  "The task took " + (startTime-endTime)/1000 + " seconds." ); Edit 1:
    I see I was 'too slow off the mark' by 5 minutes. ;)
    Edited by: AndrewThompson64 on Jul 19, 2009 10:58 PM

Maybe you are looking for

  • Has anyone else had the same problem with SYSMAN password resetting?

    I am a Oracle Support Administrator and have posted a SR with Metalink and just wanted to ask the community if they have had any of the same problems. I am remotely accessing a customers Grid Control via VMWare software and over the past couple of we

  • The requested URL /pls/htmldb/wwv_flow.accept was not found on this server.

    I have an application with just one page with a dynamic pl/sql content as the region and i am trying to use the htp package to create some dynamic lists with a submit button. The screen displays properly but whcn I click the submit button I get the e

  • Why won't my computer accept CDs

    When I put a CD in my Macbook Pro, it whirs around for about a minute, but then my computer just spits it back out. The CD's work in other computers I've tried them in and I've tried both new and old CD's with my computer. Nothing works. What is wron

  • Change paper size created by Quartz PDFContext

    I bought a new printer and now I can't print my faxes. It doesn't matter if I use pagesender or the internal fax of OSX to receive. When opening the fax in Acrobat Reader, Acrobat Pro or preview, the size is 215,2 x 290,8mm and created by Mac OS X 10

  • Help with page-error

    Hello, I`m trying to authenticate acces to my servlet, (Tom Cat 4.0.3), in my Deploy Descriptor I set BASIC authentication and a <error-page> with <error-code> 401 and a <location>/error.html but when I try 3 times Tomcat don�t shows my html page err