Acquisition of NOR-6602 delay and buffer overflow

Hello world

I use an NI PCI-6602 to record photon arrival times. Basically, it counts the number of rising edges on the sample clock 80 MHz which occur between two rising
edges on the photon TTL signal. The array of integers can be converted at a time by multiplying by 12.5ns. Please find my VI for the task and its attached Subvi.

I have two problems:
(1) I want to do this same measure for two photon detector channels. I've set up two independent channels. My goal is to correlate the signals with a gap between them. I am able to implement a delay in the software, but my data there seems to be a small inherent delay between the start of each channel.
The amount of the delay is seemingly random and occurs in the positive and negative direction. In VI I joined, I tried to use the start of arms in order to get both channels to start acquiring at the same time, but this reduces the severity of the delay, it has not removed completely. There is always a delay of 1 to 500 microseconds. I have implemented the trigger arm to start properly, or there at - it another way to solve this?

(2) I get an error message indicating that "the data has been overwritten before it can be read by the system. The number of samples that have been collected before this error varies and also varies between the counters on the Board. I had a theory that the transfer of sample rate was not good enough, but according to the manual, the transfer rate should be approximately 2000kS/s. It is more than enough as the photon count rate is less than 50 k/s. The PC that I use has a PCI graphics card too. Is it possible that is to limit the frequency of sampling? Here are the specs of PC: processor Intel Pentium D (3.0 GHz), 2 GB of RAM, nVidia GeForce 7300 graphics THE.

Thanks in advance.

Hi James,

I think you might be interchanging the words "metering" and "sampling".

The counting begins with the relaxation of beginning of arm, which should be at the same time for both channels (with perhaps a shift of 1 tick, who would be 12.5 ns on the 6602).  Count refers to increment the register of account of material at each tick of the input terminal (80 MHz base time in your case).

Sampling of the account register will take place at different times on each dependent channel when the photons are detected.  So the temporal measures on each channel will be different, but if a photon should occur on each channel at the exact time you would get an identical timestamp on each channel for a sample.  Sampling refers to the value of the register count in a buffer you can lock read later in the software.

This image (from theM-series user manual actually, but the 6602 should work the same way) watch your use case:

The time that the meter is armed is identical between the chains, so each counter at some point value would be equal.  The time sample clock are not identical on each channel, so locked into the buffer values don't would not the same.

Using the same external signal to sample some registers simultaneously count shows that relaxation of arm early works (in other words, if you give the same sample clock counters, you get the same results).  If the beginning of the arms did not work, you will see different results on each counter even with a same sample clock (the sample clock not to arm the meter).  Out the relaxation of beginning of arm would confirm this point - arm tasks in the software (which is what happens with no beginning configured trigger arm) will give unpredictable delay between each task starts - you will see a difference between the channels, even with a sample clock shared.

Looks like the problem is that you could have if wait photons occur on the two separate channels at most close at the same time?  You can try out photon detector to confirm whether or not there is a current backlog of the scope.  Looks like it is - but this isn't what you're trying to measure?  Expect photons to be detected by each channel exactly at the same time?

Best regards

Tags: NI Hardware

Similar Questions

  • SE Buffer Overflow prevented notification and "Windows Explorer has stopped working"

    Dell Inspiron 1501 with Windows Vista Home Edition SP2 using base. Receive notification of the 'Buffer Overflow prevented' McAfee antivirus program caused by progran Wndows Explorer.exe. also get notification "Windows Explorer has stopped working", then after a while "Windows Explorer restarted". I don't know why this is happening. Help, please.

    Hello

    See the following article:

    Note: Before installing, be sure to cook the data.

    Error: Windows Explorer has stopped working:

    http://support.Microsoft.com/kb/2694911

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

  • Ignoring the buffer overflow

    Is there a way of 'ignore' the buffer overflow error and leave the buffer to be overwritten without having to close and the process of acquisition and retune the radio report?

    I know that the first question is: "are you * sure * you do not want to do? '... But yes, I'm sure!

    ---

    Brandon

    Hey Brandon,.

    I'm glad you asked on this subject!  We have just posted our latest driver OR USRP, version 1.3.  You can download it here:

    http://www.NI.com/download/NI-USRP-1.3/4711/en/

    One of the features of this driver is a new node property that allows you to cost overruns and overflows as warnings rather than errors.  "You can find the Configuration property' advanced search ' WARNING policy.  Then, you can wire the constant return warnings:

    Please note, after updating your driver, you must also update the FW and FPGA on your USRP image.

  • Input buffer overflow Agilent 34970 has

    IM using Agilent 34970 A for a blood pressure purpose, Im getting error 521 and 103 when I select more than 15 channels.

    I understand that 521 error is an input buffer overflow error. IM using one of my own live measurements.

    I measured the 40 channels at once and I never had an error, but when I use the VI attached the error im.

    I reference some of the threads that deal with the same problem, I have not found a solution.

    Thank you

    Eureka

    Thanks for the reply... I thought about it... had to set the unit in XON/XOFF mode so that it retains the values of the power input channels. I did notice that I made the changes in the configuration, while I was doing someother changes...

    @margasan,

    The post that you directed me was one of my own messages... but thanks anyway...

    Thank you

    Eureka

  • DAQmx: (almost) synchronous Continuous Acquisition / how to trigger Council transfer buffer?

    Hi :-) :-) :-)

    We have an NI USB 6289 acquisition card. I would like to continuously acquire an entry of 'almost' analog synchronously. How synchronous 'almost', I mean that when a Read DAQmx is executed (anytime), I would be able to recover all the data present on the PC AND buffer all data present on the stamp on the card at the time of the read command.

    In order to test the behavior of the DAQmx Read, I used the following DAQmx vi (for a life-long real I would need a loop structure, but it's just a theoretical experiment):

    DAQmx create task

    DAQmx Create Channel (polymorphic instance HAVE voltage)

    DAQmx Timing (instance polymorphic sample clock, Mode sample set on samples continues, the rate set at 1000)

    DAQmx Start Trigger (polymorphic instance Start / None)

    DAQmx beginning

    Here the program waits n seconds (variable), then

    DAQmx Read (instance polymorphic analog Wfm/1Chan N Samp, number of samples per channel-1).

    Buffer FIFO of Council seems to be large 8192 samples.

    If the time between the beginning of DAQmx and DAQmx Read is less than the approximately 8.2 seconds, DAQmx Read recover whatever it is, if it is more than 8.2 seconds, DAQmx Read retrieves 8192 samples. I expect this behavior: fills up the buffer Board it triggers the transfer of all data in the PC buffer and DAQmx Read reads the buffer of PC, it cannot recover data after the transfer has taken place.

    What should I do in order to force the transfer of data from the buffer of (even if not full) Board to the PC at the time of the DAQmx Read buffer while the timing is in CONTINUOUS mode? I would like to be able to recover all the data from the buffer of PC and the Board of Directors in order to have all the most recent data and without having to put in place an acquisition of finite samples and a circular buffer of software.

    I tried the DAQmx channel property node Analog Input/Properties Advanced options/General / Data transfer and data/memory transfer mechanism and set set of e/s, but it doesn't work or the DAQmx channel property node Analog Input/Properties Advanced options/General / Data Transfer and status of application for data/memory and set it to Onboard memory Custom threshold but I could not access the property of Custom threshold (this is not there!).

    I'm sure there's an easy way to do this but I did not understand as yet...

    Thank you!!! LucaQ

    I am inclined to agree with Ravens Fan.  However, assuming that you must use the USB DAQ for your application, a better way to implement your code would be as follows:

  • 2 microphones. Buffer overflow.

    I get an error of buffer overflow while acquiring data from 2 microphones.

    I am sampling at 22050 s/s with 5000 S/c.

    Less than a second, I get the error,

    "Error 4823 is produced in .vi Sound Input read (DBL)-> New.vi.

    Possible reasons:

    LabVIEW: (Hex 0x12D7) you can't perform this operation without an active task.  To ensure that a task is active and try again. Enter a task might stop running if the capacity of the input buffer overruns. Overflow occurs when data are not read quickly enough. »

    Is there something I can do to fix this? I tried to play with the values of s/s and S/ch, but could not solve the problem.  I think this will become a big problem when I try more of 2 microphones. I searched online for a solution to this problem, but could not find something that worked for me.

    Thank you very much. Examples or suggestions are greatly appreciated.

    See this

  • Difficulty of vista of buffer overflow

    I need a simple way of difficulty bluestack unable to start error vista and also buffer overflow error

    You are in the wrong forum.  This forum is for the Vista installation.  Please use the link 'Contact us' to http://bluestacks.com/ for kkkkk.  It is a beta product and the responsibility of the developer.

  • Buffer overflow

    Hello... I hope someone can help me! I just turned on my computer and when I try to open Internet Explorer, I get a message from my McAfee SecurityCenter, saying "Buffer Overflow blocked" with a yellow exclamation point. He then said:
    McAfee has automatically blocked a buffer overflow.
    On this buffer overflow
    File: C:\Program may Explorer\iexplore.exe
    Buffer overflows can cacuse legitimate programs to fail. Other programs that are the buffer overflows, however, can be used to damage your computer, compromising safety and damage important files.
    He asked me then either:
    Confidence in the future to this activity
    Close this alert

    So I can't get Internet Explorer to work. I get the same alert. I did some reading and saw that the overflow is an attack, and I hope the McAfee caught, but how to stop this buffer overflow so that I can get my computer working again? I am writing from another computer, since I can't get the internet right now.

    Thank you
    ND21215

    Hi, ND,

    on the Helper.dll malicious DLL, see: http://www.greatis.com/appdata/d/h/helper.dll.htm.
    You are infected with the Infostealer.Banker.D Trojan.

    Try to use as SUPERAntispyware (freeware) and Ad-Aware (freeware).

    When everything has failed, HijackThis v2.0.2 (http://aumha.org/downloads/hijackthis.exe) is the tool to use (in conjunction with other utilities). HijackThis will NOT fix anything on its own, but it will help you to identify and remove any hijackware / spyware with the help of an expert.
    Download: http://aumha.org/downloads/hijackthis.exe  
    Post your log in:
    http://spywarehammer.com/simplemachinesforum/index.php?board=10.0,
    http://forums.spybot.info/forumdisplay.php?f=22,
    http://aumha.net/viewforum.php?f=30,
    or other competent body for review by an expert in the field.

    If you need help with virus-related issues, contact the Support Services Microsoft product.

    To support the Canada and the United States, call toll-free (866) PCSAFETY (727-2338).

    For support outside the United States and the Canada, visit the page Web of Product Support Services. Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ My Blog: http://blogs.dotnethell.it/vincent/

  • Now PATCHED: Player QuickTime Streaming Debug Error Logging buffer overflow

    The following was copied/pasted from http://secunia.com/advisories/40729/

    Description
    Krystian Kloskowski has found out a [critical] vulnerability in QuickTime Player, which can be exploited by malicious people to compromise a user's system.

    The vulnerability is due to an error of border in QuickTimeStreaming.qtx during the construction of a string to write to a debug log file. This can be exploited to cause a stack-based buffer overflow for example tricking a user in the display of a malicious web page that references a file SMIL containing a URL that is too long.

    A successful exploitation allows execution of arbitrary code.

    The vulnerability is confirmed in version 7.6.6 (1671) for Windows. Other versions may also be affected.

    [NO] Solution
    A hotfix or an update is not currently available.

    EDIT: Due to this vulnerability in QuickTime, Secunia reports now all my browswers (IE, FF, Opera) as being insecure.

    QuickTime 7.6. 7 was released http://www.apple.com/quicktime/download/ ;

    and Secunia PSI removed this vulnerability to his list of (In) Secure Browsing.

  • ORA-20000: ORU-10027: buffer overflow, of 1000000 bytes

    Hi all

    on 11.2.0.4 on Win 2008,.

    for only 3 rows

    I get

    ORA-20000: ORU-10027: buffer overflow, of 1000000 bytes

    When executing:

    exec dbms_output.enable (10000000);

    declare

    cursor c is

    Select name, LES_PETITS of)

    SELECT name, count (*) AS LES_PETITS of members, e loans

    where e.CREELE > add_months (sysdate,-10)

    and e.MEMBRE = members. NUMBER

    Group name, COUNT (*) ASC agenda e.MEMBRE)

    where rownum < 4.

    MyName MEMBERS. NOM% TYPE;

    mycnt number (3);

    BEGIN

    OPEN C;

    LOOP

    extract the c in MyName, mycnt;

    DBMS_OUTPUT. Put_line (' == > ' | MyName |) ' ' ||

    mycnt);

    END LOOP;

    END;

    /

    As you can see that 3 lines should:

    SQL > select name, LES_PETITS)

    2. Select name, count (*) AS LES_PETITS of members, e loans

    3 where e.CREELE > add_months (sysdate,-10)

    4 and e.MEMBRE = members. NUMBER

    Group 5 in order of name, COUNT (*) CSA e.MEMBRE)

    6 where rownum < 4.

    NAME LES_PETITS

    --------------- ----------

    LOMOBO 1

    1 INGRAND

    ANN 2

    I don't want to run DBMS_OUTPUT. ACTIVATE (buffer_size = > NULL);  because it will never stopping and server hungs up

    Thanks for help.

    The loop is never - ending that's the problem.

    Why do you use PL/SQL at all here?

  • On the HDR-XD550 buffer overflow error

    I had my handycam for over a year and only used a few times. We took it to the Disnyland and we got the video and great photos so she went in a padded case and was not again for 6-7 months. In the middle of registering my program of school kids that I have received a "buffer overflow" message and recording stopped. I was not able to record more than a few minutes since then. I read about this problem on several websites with the same model correct. Of course, Sony wants me to pay hundreds of dollars to watch because it is just over a year. Technical support even says she has heard of this problem with the other appellants, but Sony will not determine whether a recall. I spent a lot of money on what was supposed to be a quality product, and if it was because of something I did, I have to pay for the repairs, but many, many, many others have the same problem.

    Hello and welcome to the Discussion Forum for the users.

    I'm sorry you have a problem with "buffer overflow" appear on the LCD screen and the recording stops automatically. I couldn't find the model HDR-XD550 in our knowledge base, but I assume you have a model of Digital Camcorder HDR-XR550 hard drive. The "buffer overflow" error may occur when the camcorder detects the shock of the continuous noise or whipped milks, and internal protection system is activated to stop the recording on the hard disk. When recording in an environment that has continuous sound hard or milk whipped, as in a concert hall live or on a bike, please keep the camcorder from the source noise or shake as much as possible.

  • Buffer overflow error

    Hi all

    Version of DB :-10.1.0.5.0

    I have the package that is used for sending email when the report is finished. It worked very well in the test environment, but in production, he sent emails and hit. When the journal it shows the stamp on the error of flow.

    ERROR at line 1:
    ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
    ORA-06512: at "SYS.DBMS_OUTPUT", line 35
    ORA-06512: at "SYS.DBMS_OUTPUT", line 161
    ORA-06512: at "SYS.DBMS_OUTPUT", line 123
    
    Below is code 
    *************
    
    PROCEDURE PROC_STATUS IS
      
           K_BOUNDARY CONSTANT VARCHAR2(1000) := 'a1b2c3d4e3f2g1';
          l_report  VARCHAR2(32767); --empty_clob; --clob :=
          l_header VARCHAR2(1000);
          l_footer VARCHAR2(200); 
          cnxn UTL_SMTP.connection;
          
          cursor cloc is select location_id from loc order by location_id asc;
          
          loc_id cloc%rowtype;
          
    BEGIN
    
         FOR loc_id in  cloc
         
         loop
               
         l_analysis_report := '<style type="text/css">
        <!--.style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; font-style: normal; color: #FF0000}-->
        <!--.sidebar1 { font-family: Arial, Helvetica, sans-serif; font-size: 10px}-->
        <!--.text { font-family: Arial, Helvetica, sans-serif; font-size: 12px}-->
        </style>
        <center><b><font face="Arial">Summary Report'
                    || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH:MI AM') || '<br><br></font></b></center>'
                    || ' <div align="center"><table width="95%" border="1" cellspacing="0" cellpadding="1" </div>'
                    || '<span style="font-size: 10pt; font-family: Arial"> </span> '
                    || '<tr bgcolor=b4b4b4><td align="center"> <font size="3"> <b>'
                    || 'Report</b></td><td align="center"><font size="3"> <b>'
                    || 'Start Time</b></td><td align="center"><font size="3"> <b>'
                    || 'End Time</b></td><td align="center"><font size="3"> <b>'
                    || 'Run Duration (mins)</b></td><td align="center"><font size="3"> <b>'         
                    || 'Status</b></font></td></tr> ' || UTL_TCP.CRLF;  
                               
        
                    FOR curr_refresh IN (SELECT AN.ID,AN.NAME ,TO_CHAR(ARH.RUN_START_TIME,'DD/MM/YYYY HH:MI:SS') START_TIME,
                                         TO_CHAR(ARH.RUN_END_TIME,'DD/MM/YYYY HH:MI:SS')END_TIME,
                                         ROUND(((ARH.RUN_END_TIME-ARH.RUN_START_TIME)*24*60),2) RUN_TIME_SECS,ARH.JOB_STATUS STATUS
                                         FROM....... so & so)                             
                                         
                           LOOP
                                                     
                       l_report  := l_report ||'<tr><td align="center">'|| curr_refresh.name               
                          || '</td><td align="center">' || curr_refresh.start_time || '</td><td align="center">'
                          || curr_refresh.end_time || '</td><td align="center">'|| curr_refresh.RUN_TIME_SECS ||
                          '</td><td align="center">'|| curr_refresh.status ||
                          '</td> </tr>' || UTL_TCP.CRLF;
    
                      exit when length (l_report) > 32500;    
                   
                   
                   END LOOP; 
                   
                  l_report := l_report || '</table><br><br>';
                   l_footer := UTL_TCP.CRLF ||'<b> Note: This is an auto generated email. Please do not reply to it. Contact the IT team for any further information.</b>'||  UTL_TCP.CRLF;
                 
          
                   FOR curr_email IN (SELECT GLOBAL_NAME INSTANCE_NAME,
                                      EU.EMAIL_USER_LAST_NAME last_name, EU.EMAIL_USER_FIRST_NAME ACNAME,
                                      EU.EMAIL_USER_EMAIL_ID  ....... so & so) LOOP
                                              
                cnxn := UTL_SMTP.open_connection('smtprelay.XXXXX.com', 25);
                UTL_SMTP.helo(cnxn, 'smtprelay.XXXXX.com');
                UTL_SMTP.mail(cnxn, '[email protected]');
                UTL_SMTP.rcpt(cnxn, curr_email.EMAIL_USER_EMAIL_ID);
                            
                      l_header := 'MIME-Version: 1.0'||'
    To: ' || curr_email.last_name || ' <' || curr_email.EMAIL_USER_EMAIL_ID || '>
    From: ' || curr_email.mail_from || '
    Subject: Status Report for ' || curr_email.XXXXX || ' on ' || to_char(sysdate, 'DD-MON-YYYY') || '
    Reply-To: [email protected]
    Content-Type: text/html;' || UTL_TCP.CRLF || UTL_TCP.CRLF;
    
                UTL_SMTP.data(cnxn, l_header || l_report || l_footer);                    
                UTL_SMTP.quit(cnxn);
                          
                DBMS_OUTPUT.put_line('mail sent to ' || curr_email.EMAIL_USER_EMAIL_ID);         
                
                END LOOP;
                
                END LOOP; 
                
    END PROC_STATUS;
    So let me removal of "DBMS_OUTPUT.put_line (' mail sent to ' |)» curr_email. EMAIL_USER_EMAIL_ID); "would be the fix for this. If not any suggestions please.

    Kind regards
    Sunny

    This is the procedure of package as you can see, then add it after

    BEGIN
    

    Or you can add this command before call you the procedure.

    In my view, the use of the output for the large amount of logging information is not good idea.

  • Serial port receive buffer overflow error

    I am trying to send a file to a folder in my computer to another folder in the computer using conncections tcpip as part of me learning labview. But I get an error

    Possible reasons:

    LabVIEW: Serial Port receive buffer overflow.
    =========================
    LabVIEW: The network connection was refused by the server.

    I don't know how to fix this. So please help me. I have attached the VI here. Thanking you,

    You read just 1 character of the file.  With your read file, on behalf of the value-1 to read the entire file.

    In addition, for writing file, there is a Boolean input on top for 'Prepend/string Size array.  The value FALSE or you will get some additional data at the beginning of your file you want.

  • When I try to create a new e-mail in Windows Mail for Vista, the message box is delayed and slow to open.

    Hello, I have a laptop with Vista MS operating system and Windows Mail.  Since I got the computer, I noticed that when I go to create a new email, the new message box is delayed and slow to open.  And, often, once that I enter a contact in the line 'To', it also seems to be slow in filling.  No idea why this is happening.  The old OE always worked smoothly.  Thank you.

    original title: Windows Vista and Windows Mail

    Contacts are managed differently in Winmail in Vista and many can be what slows down things.  You can try to reduce them, and see if that has an effect any.

    See here for background information (www.oehelp.com/backup.aspx#wm), although it seems that the link to contacts has been removed.  See here for information on contacts: http://windows.microsoft.com/en-US/windows-vista/Managing-your-contacts

    Steve

  • Windows Image Helper (buffer overflow vulnerability)

    My security software reported up to 'Kingsoft Writer contains a buffer overflow vulnerability'. Y at - it a patch from Microsoft to fix this problem?

    Hello

    Please go to the Microsoft Community Forums.

    What security software is installed on the computer?

    If security software is causing the problem, I suggest you to contact the manufacturer of the application for assistance.

    Thank you.

Maybe you are looking for

  • I have the info part of party or cancelled downloads that show at end of page that cannot b deleted

    as directed by the screenshot I consider remarks of downloads that have been abandoned or not completely downloaded that I can't erase - normal downloads get disabled by pressing the clear key.

  • Star Wars Special Edition Note: This system is not supported

    I need help for the Star Wars content on my laptop special edition of Star Wars.  I had to have my hard drive is erased after it got a virus and for some reason any now when I installed the Star Wars command center it tells me "this system is not sup

  • motherboad drivers

    someone help me very well my hp motherboard 0984 drivers h, but I can't access internet after reinstalling my windows xp pls help...

  • HP Pavilion P6 - 2100 on the error message from Windows 7

    I tried all the things recommended on Microsoft and on the internet. Nothing works to get rid of this error message. Others have had the same problem and finally, I think we all give up trying to find a real answer.  Please help us fix. The error mes

  • SKYPE CONNECTION PROBLEMS

    Hi all I have a problem connecting to Skype. I have Windows 7 and until 2 weeks ago, Skype was working fine on my laptop. Now, it does not connect. I allowed the program to it, turned off the firewall, removed and reinstalled. All I could think about