Question on the NI PCIe-6320 cash events

Hello, all:

I use 6320 for counting digital proofs. I use a tampon gated method of counting. At the end of each inventory period, I read everything in the buffer of events to get their timestamps. However, there is a problem with this method. When the number of events exceeds 1 million (?), all buffered of lost events and I can't read anything. My guess is that this is due to the size of the buffer or counting clock reversal. (?)  There are basically two ways to overcome this problem. We're to do several reading and the other events is prescale events. Anything know how to perform a count prescale? For example, I can just count the timing of each event in the fifth.

My method of counting is seen in the attached vi.

Thank you.

Since your actual code is different from what has been published, I can only take a few guesses for why you can't count impulses more than (about)? 1 million.

1. If your code real don't wire DAQmx Timing.vi a value of 'number of samples', so a primary task which is told that she acquires 100 MHz uses a default buffer size of 1 million samples.  You can create a larger buffer by wiring in a greater value.  You can also loop on your reader calls to help prevent a buffer overrun.

2 Theres a limit to the rate, you can stream data from the system RAM card.  The X-series is good better than most of his predecessors in this respect for the measures in the base.  (See this thread and the related links.)  But it won't always manage frequencies of efficient sampling of 100 MHz for any significant duration.

3. Another option I've seen used is County binning.  This method works a little inside-out your method by letting external impulses increment the counter that this indictment is sampled at a constant sampling rate.

4. I could not yet make any real life playing with a card X-series, but I think that there is also a precise frequency measurement mode for sampling at a constant rate.  This mode may be useful for you as well.

-Kevin P

Tags: NI Hardware

Similar Questions

  • Pulse train generation question-PCIe-6320

    Hi all...

    IM using PCIe-6320 series daq x to generate trains of pulses. I went through the examples found in the labview to generate digital impulses. Provided vi runs without error, but I could not find any pulse output in my PIN ctr0. Is there a specific connection to check the output?

    Hello..

    I had a problem with the interface cable, I found this later.thanks.now I havesolved.

  • Simple questions on the earphones of events and memory management

    I am brand new to AS 3.0 (have not coded in 10 years!) and I have a two part question on the management of event listeners.

    1. is it possible to use variables or loops to simplify the process of creating event listener? For example, I have a scene that animates the leaves when they are hit. There are 25 or more leaves, so I need to handlers of 25 and 25 functions, even if the animation is the same. Right now my code looks like this:

    leaf1.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf1);
    leaf2.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf2);
    leaf3.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf3);

    etc. And then the functions all alike as well.

    function animateLeaf1(e:TouchEvent): void {}
    leaf1.gotoAndPlay ("animationStart");
    }

    function animateLeaf2(e:TouchEvent): void {}
    leaf2.gotoAndPlay ("animationStart");
    }

    etc. My instinct tells me there is an easier way to do this, but I don't know if it's just because I see a model and want to put it in a loop or if there is really a better way to do it. I have event listeners are doing right?

    2. How can I clean my waste? Each of my frames will have 100-300 earphones of events inside, for animations, etc., mainly because a single button can have 3-5 event listeners (touch Start, end touch, touch roll on, roll off touch, etc.). Is this too much for a mobile device to manage? When can I disable event listeners to make sure that they are the garbage collector to release the memory? I don't want memory leaks, but the event listeners must be active when the frame is active and destroyed when the setting is inactive; I don't know how to program which, or if such a garbage collection is already inherent in Flash.


    Thank you very much!
    Amber

    leaf1.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf);

    leaf2.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf);

    leaf3.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf);

    leaf4.addEventListener (TouchEvent.TOUCH_BEGIN, animateLeaf);

    function animateLeaf(e:TouchEvent): void {}
    e.currentTarget.gotoAndPlay ("animationStart");
    }

  • PCIe-6320 sees no encoder

    I'm putting in place the PCIe-6320 with two rotary encoders for measuring position.

    I wired to the top of my encoder (double quadrature with A, B, Z, V + and Gnd son) to my DAQ PCIe-6320 through a block of connection SCB-68. I used the source of external power supply for the encoder so all I am connected, it was channels A, B and Z I checked my wiring. Counter 0 uses 37, 45 and 3 pins.

    When I connect it, there are a few problems: measurement and Automation Explorer (MAX), I go to the counter function test and it does not register. Using a multimeter, when the encoder is not connected I get some sort of output of three strings. But once I connect it to data acquisition, I get nothing.

    The works of automatic test in the MAX software and calibration seems to go successfully.

    What could be the problem here? Is it possible that data acquisition is broken, even if it passes the self test?

    I think I know what is happening. The outputs are open collector, then you may need to pull up resistors. See page 9 (page 7 in characters) in the pdf file:

    http://www.ctiautomation.NET/PDF/ACCU-coder/ACCU-coder-installation-wiring-Guide.PDF

    Since you are using an external power supply, instead of the end of the resistance of your + VCC (6 volts in your case) you will need to connect it to the output + 5 which is probably available on your data acquisition card. This will ensure that the output does not exceed levels TTL (5V). You then bind the town or the mass of your power of 6V to digital DRM to your data acquisition card.

    DAQmx are pilots and vi for the material. If you have MAX, you can check presence and version of data acquisition in the software listing in MAX.

    I hope this helps.

    -AK2DM

  • No count output / pulse pulse does in a meter of pcie-6320

    Hi all

    IM using pcie-6320 in my application to generate impulses using the counter i/o.Even when I try to generate/counting pulses using MAX, I coundnt find no exit, im watching the e/s using a CRO. My camera works very well and tested hardware DAQ Diagnostic Utility tool in this tool also spent the meter test. IM completely stuck here, if anyone has come across such a problem please help me.

    Hello.. I solved the problem. In fact, it was found that the cable between junction box and data acquisition is not properly inserted. In any case thanks for your contributions

  • Replace PCI-6220 PCIe-6320?

    New to the forum, so bear with me if I'm in the wrong place.

    I have a system with a card PCI-6220, and I am considering the upgrade of the computer used. If I decide to do, then I would like to upgrade the jury as well. According to the information of product of NOR, the PCI-6220 can be replaced by PCIe-6320. I am concerned by the mapping of the e/s on the same map if and I was wondering if anyone else has had experience with this. I need to know if I should change the LabView code to accommodate the new Board of Directors, or if a replacement that will work only.

    Thank you!

    WisDave wrote:

    Since the list of pins of the two boards are the same, you expect that there is problems with the interaction with the SC-2345?

    Not at all.  NEITHER tends to keep things mostly the same between boards so that they can reuse the connection blocks.

  • Question of the EEM

    Dear Sir

    I'm trying to configure an EEM applet in order to close an interface when an IP that SLA has failed. On this router, we use AAA so I configured an aaa list to bypass the authorization.

    !

    !

    EEM AAA authentication login no

    AAA authorization config-commands

    AAA authorization exec default authenticated if

    EEM AAA authorization exec no

    AAA authorization commands EEM 0 no

    AAA authorization commands 1 EEM no

    AAA authorization commands EEM 15 no

    !

    And I use a dedicated line to run this cmdlet:

    line vty 0

    authorization controls 1 EEM

    authorization of EEM 15 orders

    exec authorization EEM

    authentication of connection EEM

    transport of entry no

    My setup of the cmdlet is:

    SHUTDOWN_LO1 event manager applet

    Event track 10 down state

    message from syslog to action 1.0 "Timeout to reach 10.100.1.1.

    command action 1.1 cli 'enable '.

    action 1.2 cli command "configures terminal.

    Action 1.3, command cli "interface loopback1."

    Action 1.4 cli command "shutdown".

    !

    My question is when this cmdlet is run, it blocks on the action "configures terminal:

    Jul 26 11:50:33.198: fh_server: fh_io_msg: msg received customer FH_MSG_EVENT_REQINFO 36 pclient 1

    11:50:33.198 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: timeout to reach 10.100.1.1

    11:50:33.198 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): CTL: called cli_open.

    11:50:33.242 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:50:33.242 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER >

    11:50:33.242 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTER > enable

    Jul 26 11:50:33.246: cli_history_entry_add: free_hist_list = 0, hist_list size size = 7

    11:50:33.246 Jul 26: flag eem_no_scan is set, jumping from scan of command_string = check_eem_cli_policy_handler

    11:50:33.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:50:33.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER #.

    11:50:33.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTE terminal #configure

    Jul 26 11:50:33.258: cli_history_entry_add: free_hist_list = 0, hist_list size size = 7

    And then I saw that the line vty 0 is used but remained in a State of idel

    ROUTER #systat

    User host (s) idle location line

    194 vty 0 off 00:00:46

    And on the next run, I saw that the router try to perform the following steps on the previous call to this applet

    11:55:18.170 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: timeout to reach 88.191.97.16

    11:55:18.170 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): CTL: called cli_open.

    11:55:18.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:55:18.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER >

    11:55:18.254 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTER > enable

    Jul 26 11:55:18.254: cli_history_entry_add: free_hist_list = 0, hist_list size size = 7

    11:55:18.254 Jul 26: flag eem_no_scan is set, jumping from scan of command_string = check_eem_cli_policy_handler

    11:55:18.266 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:55:18.266 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER #.

    11:55:18.266 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTE terminal #configure

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: authorization has no orders.

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ^.

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: % invalid input detected at ' ^' marker.

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER #.

    11:55:18.482 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTER #interface loopback1

    11:55:18.498 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ^.

    11:55:18.498 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: % invalid input detected at ' ^' marker.

    11:55:18.498 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:55:18.498 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER #.

    11:55:18.498 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTER #shutdown

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: authorization has no orders.

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ^.

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: % invalid input detected at ' ^' marker.

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUTSIDE:

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): OUT: ROUTER #.

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): IN: ROUTER #exit

    11:55:18.814 Jul 26: % HA_EM-6-LOG: SHUTDOWN_LO1: DEBUG (cli_lib): CTL: called cli_close.

    Thanks for any help.

    Well, it's the problem of version.  See CSCsz70112.  You need to update to an image of EEM 2.3 (12.4 (11) T or higher).  You should consider something a bit more recent, however.  An image main 15.x would be better.

  • question on the scope of the stage object

    Hello, all.  I am currently working with containers and I have a question about the stage object.

    I have 2 files in my program

    (1) app.as

    (2) stuff.as

    Stuff.As is a library of common user interface that I build.  I'm trying, in this document, follow these steps:

    stuff(){
    
    makeUI();
    
    }
    
    makeUI(){
    
    myContainer.setSize(stage.Stagewidth , stage.Stagehight);
    
    }
    

    Flash crash when running, saying that there is a reference not valid for a null object.

    If main.as is the file of the application, how can I get the stage object to be valid / available inside my stuff.as file?

    -Thanks for your time!

    Hey dtater,

    I met the same problem too in the past. the only way to have access to the stage is to have the class that never work added to the stage by a parent object that is already on scene. If an object has not yet been added to the stage, his stage value will be null.

    the best way to work with this set of return must have an event listener defined in your file stuff.as to listen for Event.ADDED event in your stuff() constructor like this:

    this.addEventListener(Event.ADDED, onAdded);
    

    and then in your event handler function onAdded:

    private function onAdded(e:Event):void{     // this event gets triggered by other objects, so we check to make sure it the right object     if (e.target == e.currentTarget)      {          makeUI();
    
         }
    
    }
    

    in this way the makeUI funciton only will be called when it has access to the scene.

    Here are more details on the event Event.ADDED:

    http://www.Adobe.com/LiveDocs/Flash/9.0/ActionScriptLangRefV3/Flash/events/event.HTML#added

    hope that helps. Good luck!

    Edit: I also forgot to add that the Event.ADDED event will be called when you addChild (stuff); in your main application.

  • Question of XPS 8300 PCIe

    I tried to find an answer to the question and hope someone here can help.

    I have a XPS with an I5 2300 processor 2.8 8300. The tag indicates it was made in August 2011. The PCIe slots on the mobo are PCIe (1) x 16, which is occupied by a graphics card and (3) connectors PCIe x 1 which are empty. My question is about the three empty slots and what generation these slots are - PCIe 1.0, PCIe 2.0 or PCIe 3.0?

    I can't find the answer to this question. The reason for the concern is the computer has no USB 3.0 ports, and I am interested in installing a USB 3.0 PCIe card. I read that you need to match the generation card PCI with the same build location for optimum performance. In other words, if these niches is only PCIe 1.0, it seems unwise to pay the sum of $ for a PCIe 2.0 (or 3.0 PCIe) card if they'll only opearte to bandwidth 1.0?

    Thnx in advance for any help.

    Hi Scewter54,

    PCI-E 2.0 and PCI-E Gen2 are exactly the same thing. XPS 8300 comes with Intel H67 Chipset.

    Answer please for more details.

  • We have configured replication vsphere in our environment and when replication is triggered according to the OFR start us below the questions on the virtual machines that are configured for replication

    Question: We have configured replication vsphere in our environment and when replication is triggered according to the OFR start us below the questions on the virtual machines that are configured for replication.

    Version for esxi: Patch 5.1 level 7

    Virtual center of version 5.1

    Source of storage - IBM v7000

    Destination storage - Hitachi


    Questions:
    Events of breach RPO
    Consolidation for the VM disk failure
    Delta abandoned events
    Time change events
    NTFS error and warning (event ID: 137, 57)
    RDP disconnect and ping does matter
    Standby error
    Volsnap error
    Stop the server and offline issue
    Install vmtools emits automatically

    well, in this case, we need to disable the standby of the end of the replication.

    So that everything in triggering replication does not trigger the snapshot of the suspension.

    Then test the if you get these errors.

  • Consider purchase of Wacom Cintiq 27 HD Touch - Questions about the tactile feature in Photoshop and Lightroom

    I'm considering buying a 27 HD Touch of Wacom Cintiq monitor. I have a few questions about the two programs Adobe and their use of the 'touch' feature - Photoshop CS6 and Lightroom 5.7 running on Windows 7.

    1 problems related to touch a feature in Lightroom and Photoshop CS6 and 5 resolved that you see on the forums of Wacom a year ago?

    2. If so, is there sufficient value gained through the tactile feature in Photoshop CS6 and Lightroom 5 to justify the $500 price difference between the Cintiq 27 HD vs Touch HD? (I realize that this is a subjective question based on the abundance of its cash).

    3. I intend to stay with CS6 as long as possible to avoid a monthly subscription, BUT I wonder if buy the Touch HD can provide additional key features in future releases of these products that do not exist currently. (It is a pie in the kind of sky in question).

    Thank you!

    Kent

    Support for Photoshop Touch is added by CC 2014.2.2.  However as the Pro Intuos Wacom tablets with touch can be used with earlier versions of Photoshop and the Wacom Tablets Configurator can custom features can be used with Photoshop touch tablets.  I use LR but I don't know that the same thing would be true for her. You can configure the setting for many applications. The device driver knows which application its interfacing with and uses the parameter set for each...

    I have disable most of touch when using Photoshop.  The main reason why I have a Tablet is Photoshop Brush tools. Like Eraser, clone stamp, etc, nothing is better then a pen when it come to create the layer mask.  For most programs, I always use a mouse and I use the keyboard, the mouse and the pen with Photoshop...

    I never wanted a Cintig I do not have my hand between my eyes and the work. I'm not an artist.

  • Question on the ATAS storage

    I have a few questions on the role of the ATAS in ESX/ESXi.

    Depeding on what type of storage, you have there will be a certain ATAS selected. These ATAS are made for different SAN provider, for example:

    VMW_SATP_EVA
    VMW_SATP_EQL
    VMW_SATP_CX
    VMW_SATP_MSA
    VMW_SATP_LSI
    VMW_SATP_INV
    VMW_SATP_SVC
    .

    The ATAS manages failover if the active path fails, but why takes care of the need for specific failover of the seller? In other words, what is different between the paths for the two providers from the host perspective? A path for example a 'fail' in a different way or need to failover Eva performed in a different way to a path to EquaLogic?

    That ATAS 'interrogate' the path to detect problems or will he wait liabilities until the PSP times out and called the ATAS?

    Recently, I've been on a VMware customer support event were discussed, so I have a vision a bit on this topic now...

    I can only give a definitive answer to the last question: the PSP will signal the ATAS when it detects a path failure. The ATAS is that actively monitoring.

    I can also imagine that the vendor specific SATPs exist, because there are specific error codes of the seller that are used to signal the malfunctioning of the table. These must be interpreted correctly by the ATAS, and they will be evident for example in the SCSI sense codes which are also partially specific provider.

    Just my thoughts, can be somewhat speculative, so...

    Andreas

    -Visit my Blog experience front of VMware

  • Sound and SoundChannel question when the screen is off

    Platform: AIR 3.8 on Andorid

    Classes: SoundChannel & Sound

    Background: I am writing an application that plays the songs one after another. I'm listening to the SoundChannel instance soundComplete event. When the current song is finished, it will create a new Sound object, the sound will then load a URL and play the next song. It worked fine when the application is activated.

    Question: when the application is reduced or if the screen is off, the next song will not be played. I have to switch him back to the app or turn on the screen, then the next song will be played automatically again. I don't know if it's because the of the SoundChannel object soundComplete event will not fire when the screen is off, or if it's because the Sound object doesn't start loading when the screen is off.

    Resolved by the update to version swf SDK 3.9 and export 11.9

  • Review: Rotation, the Questions on the Page display

    Hey everybody! I am new to this and I wanted to help with a number of things. So I tried to do a review, and I came up with a few questions. The review can be found here: http://ehsa.net76.net/dntests/adminexam2.php .

    My second problem is that I don't know how to link the pages after clicking on 'Start test'. I searched in question per page and you would have a button that makes you go back or forward a page. I'm new, and any help would be great. In addition, I don't know how to do pass the connection to itself Test Page.

    Thank you very much!

    I don't see anything on your first problem, but for your 2nd, you can add a question to every frame of the main timeline by adding keyframes to each of.  After the encoding of your username, your buttons could then use:

    next_btn.addEventListener (MouseEvent.Click, nextF);

    prev_btn.addEventListener (MouseEvent.Click, prevF);

    function nextF(e:Event):void {}

    nextFrame()

    {

    function prevF(e:Event):void {}

    prevFrame();

    }

  • Question about the definition of a table null vs defining each element null in the table and the recording of memory.

    Hello

    I try to avoid any kind of memory leaks or problems of garbage collection.

    public class test {}

    var anArray:Array;

    .

    .

    .

    public void addObjects() {}

    anArray = new Array();

    anArray [0] = new Something();

    anArray [1] = new Something();

    anArray [2] = new Something();

    for (var i: int = 0; i < anArray.length) {}

    anArray [i] .addEventListener (MouseEvent.CLICK, doSomething);
    addChild (anArray [i]);

    }

    }

    private void doSomething(event:MouseEvent) {}

    for (var i: int = 0; i < anArray.length; i ++) {}

    anArray [i] .removeEventListener (MouseEvent.CLICK, doSomething);

    removeChild (anArray [i]);


    }


    anArray = null;


    }


    }

    Is it effective or should I register "anArray [i] = null" after 'removeChild (anArray [i])' in the loop of my doSomething(event:MouseEvent) function?


    Sorry if my question is confusing and I thank you in advance.

    If there is no other reference to new Something() instances, other elements of the array, removing (or assignment a = []) should work.

Maybe you are looking for