How can I use two counters to capture a pulse ttl for a specified time

Configuration: Card counting 6062 PCI w / BNC 2121 Board running under LV 9.0 PerkinElmer Avanlance Photodiode (SPCM-AQRH-13)

I searched through the forums and fell on the theme of framing an image while collecting signals from a source for a specified time.

The example in terms of falkpl in 2005:

"

Dismal Hello,

I'll try to point you in the right
direction to start coding the application, but do not forget my
suggestions have to be modified to your specific request.

For
the task output redeclenchables finished meter you need to
your counter seconds in this application, I suggest to take a look
in the Finder example in LabVIEW ('Help' are examples) and less
DAQmx hardware entry & exit"" generating digital impulses.  Here,
you will find some Gen dig Pulse - Retriggerable.vi.  You can use this for
Create your door 4 pulses ms it's over (not a pulse train) and
redeclenchables (for each time you go to the next step.

In
regards to the configuration of the first counter, there are several things to
consider, and I can offer initial help to get set up.  You
in-house allows to route internal CTR1 (4ms of pulse) output for your CTR0
Door to measure only during the time.  Here are additional
Info
to do this in LabVIEW.  The source of your task of edges ABOVE County
will be the TTL signal you are measuring and counting.  It comes
on the PFI line that corresponds with CTR0 Source.

When
you make a measurement finished with CTR0, you will take only heads while
the door is high and your source has a rising edge.  You can set the
measure over to start on a trigger, which is not clear in this
for example, that you have identified.  Since you know that you have a finished 4ms pulse
time to measure, you can set the duration of your measure
as a result.

I found this
Forum
which may help some, but the coding is
textual.   I hope this can give you a good starting point for
programming.

Tags: NI Hardware

Similar Questions

  • How can I use two counters simultaneously to pulse width measurment

    Hello, everyone!

    I'm new to Labview. I currently have some cDAQ9171 and width measurment with 9401 impulses. My understanding is that the 9401 was 4 meters, which means that I can use these meter separately. However I have the following problem.

    1. I use ctr 0 and ctr 1 (PFI 1 and PFI5) to measure two different impulses. However, it seems that there is an interference between two counters. How can I make two counters working simultaneously and separately?

    2. I first try a pulse width measurment counter in Labview signalExpress. My pulse width is about 0.4ms. However, I can't get the right result, if I choose the starting edge is on the rise (the results always around 20ns. Only if I revise my pulse and pick the starting edge is down, I can get reliable results.

    I'm confused about these issues for about 3 weeks... Is there someone can help what can I do with that?

    I have attached a simple vi...

    Thank you very much!


  • How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?

    I want to integrate the ANSI C sample program ReadDigPort - ExtClk.c in my own big package.

    I want to use the internal clock of the BNC NI USB-6259 (.. 80 kHz 120 kHz).

    In the document:
    High speed M: Series Multifunction DAQ for USB - 16-bit, up to 1.25 MECH built-in BNC connectivity. / s,.
    is written:
    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    How can I use internal clock case OR USB - 6259 BNC for the acquisition of digital data in my own big software?
    With what other subsystem on the device can generate a source of the clock? How?

    It is possible to set a clock on an internal counter (for example ' Dev1/ctr0"):
    Creates channels to generate digital impulses that define the freq and dutyCycle and adds the channel of the task that you specify with taskHandle.
    DAQmxCreateCOPulseChanFreq (taskHandle, "Dev1/ctr0" units, clockName, idleState,
    initialDelay, freq, the duty cycle); works

    But it is not possible to drive this internal clock to a terminal (for example "/ PFI0/Dev1"):
    DAQmxErrChk (DAQmxCreateCOPulseChanFreq (taskHandle, "/ PFI0/Dev1", clockName, units, idleState, '))
    initialDelay, freq, the duty cycle); does not work: error DAQmx: measurements: type I/O of the physical channel does not match the type of I/O required for the virtual channel you create. Name of the physical channel: PFI0. Name of the virtual channel: clock

    The sample clock source can be derived from an external terminal (for example "/ PFI0/Dev1"):
    Sets the source of the sample clock, the sample clock rate and the number of samples to acquire or generate.
    DAQmxCfgSampClkTiming (taskHandle, "/ PFI0/Dev1", maximumExpectedSamplingRate, DAQmx_Val_Rising, ")
    DAQmx_Val_ContSamps, bufferSize); works. Acquire or generate samples until you stop the task

    But it is not possible to derive the internal counter of the clock (for example ' Dev1/ctr0"):
    DAQmxCfgSampClkTiming (taskHandle, "Dev1/ctr0", maximumExpectedSamplingRate, DAQmx_Val_Rising,
    DAQmx_Val_ContSamps, bufferSize); does not work. Error: Acquire or generate samples until you stop the task: make sure that the name of the terminal is valid for the specified device. See Measurement & Automation explore valid names of terminals. Property: Property of DAQmx_SampClk_Src: DAQmx_SampClk_ActiveEdgeSource device: Terminal Source Dev1: Dev1/ctr0

    Hi datafriend,

    using what it says is correct:

    Or sample DI source clock: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock
    The digital subsystem doesn't have its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the device or from an external source.

    This means that if you do not use an external signal as clock you can use the sample clock to HAVE it on board or at the output of the internal counter.

    There are also 2 ANSI C examples in this regard:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4485

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/4488

    So in both cases you have to use a fictitious task you need only for the generation of the internal clock (HAVE or CTR)

  • Can I use two DSL modems in the same House at the same time?

    original title: DSL Modems

    Can I use two different DSL Modems in the same House for two different computers?

    If you want to use on the same connection that want to use on a different connection than Yes and no. But its best to check with your ISP.

  • How can I use two DVI and HDMI outputs for monitors?

    I have a 55 inch LG TV connected to my PC via an HDMI cable. I recently bought a HP 2311 x flatscreen monitor and want to connect using DVI.  But when both are plugged into the PC automatically turns off the DVI output, and switches automatically to use the HDMI that my TV is turned on.  Is it possible that I can have the two outputs working both on my pc?

    Hello

    I suggest you to send your query to this link for assistance.

    http://experts.Windows.com/f/

  • How can I use two drop-down lists for a time value?

    I want to enter the length of time someone did something in hours and minutes using two drop-down lists, then enter it as a time value only (├a) in Mysql.

    I used the dropdown database lists and a few different variations of what follows without success (seconds is a hidden field with a value of "00"):

    GetSQLValueString (strftime ("% H: % i: %s", strtotime ($_POST ["sleeptimemin"].))) " «. $_POST ['sleeptimehr']. » «. (_POST ["seconds"])) $, 'date').

    This comes back to 00:00:16, regardless of what is selected in the drop-down list.

    Any help would be appreciated.

    MySQL stores time in human-understandable format, using the 24-hour clock.

    GetSQLValueString($_POST['sleeptimehr'] . ':' . $_POST['sleeptimemin'] . ':00', "date"),
    
  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • How can I use the awesome screenshot: Capture and annotate 2.4.0.1?

    My question says it all. However, it will be nice to see a page of instructions more precisely how to use this add on. Thank you.

    Hello

    Firefox Add-on - Add-ons are built by 3rd-party developers, not by Mozilla, so we cannot necessarily provide support for them on this forum.

    I suggest you have a look at their website here:

    http://awesomescreenshot.com/

    The page add-on also has a link to the email address for the developer support if you have any specific questions.

    I hope this helps.

  • How can I use two different PC with Lr5.5 to manage and process my photos stored on the external drive and swap the analysis between these two computers?

    I ran two computers and would like to be able to download Lr jobs made on my laptop, my PC fixed, also used to treat other images, all stored on the same disk.

    In other words, I want to deal with may photos on both PC and have access to all analyses of one or even two computers better regardless.

    Samek.

    This was very helpful. Thank you very much

    Samek

  • How can I use a JPEG file as a background image for my vi to 8.5

    Im working on a vi that I intend to help as part of an alarm system.  I would use a JPEG file of my house as a background image for the vi, or possibly to just display in a window on the control panel.  I've seen people use their own images before, but never looked at what it was.

    Im trying to use the 'read JPEG' file vi and the flattened pixmap 'draw' vi to achieve this.  The vi works, but nothing shows up on the front panel.  If I try to create a "new image" flag out of the flattened pixmap 'draw' vi, I get a blank white window on the front panel.

    Any advice?

    Thank you

    The image could be there just not to come to the right place in the image control. What is the control relative to the image? Must be a JPEG file or can you just copy as a bitmap to the Clipboard and paste it on the front panel? Can you put a photo and the unworking VI?

  • How can I move two anchor points overlapping of distinct objects at the same time?

    Please refer to the picture for clarification:Capture.JPG

    Pink and blue objects in the image are distinct forms that have the same number of vertices/inkings. The forms have been generated with ArcGIS and exported to a. File to HAVE it. I need to move the anchor points of these two forms, so that they create a trail that follows the outline of the layer of the topography, but it seems that I can only move the anchor of a shape at the same time. Is there a way to pass the two anchors both (anchors that overlap, one of each shape)?

    I should also add and subtract some of the anchor so while making it so each anchor is not a 'corner '.

    I want to essentially merge or merge the anchor points of the two forms while maintaining the two colors, so that they share a border.

    Any help will be a life saver! I can try to clarify if it is not supposed. Thanks in advance!

    -Jake

    Jake,

    You can click on selection of object through only in preferences, then after the first deselect all ClickDrag (click outside paths) with the tool directly on each game Selection and then ClickDrag to move (you can simply go to set).

  • Can I use a variable in step of TS Message for field 'waiting time '?

    Is it possible to use a variable (inhabitants, parameters, etc.) for the field "Wait time" in the stage of message TestStand?

    TestStand 4.1

    Thank you

    Rafi

    Go to the step settings > properties > Expressions > Expression Pre and enter something like:

    Step.TimeToWait = Locals.MyTimeToWait

  • How can I get two jobs when using two monitors, instead of stretching a desktop on both screens?

    Hello!

    How can I get two jobs when using two monitors, instead of stretching a desktop on both screens? I n ' want to clone my office, and I don't want to stretch it. I want two desktop computers, where I can "send/give" to the other desktop programs.

    I need a third party program? It is very good. If you know one please tell me about it.

    Hi OskarKvist,

    This feature is not supported by Windows XP.

    However, you can use your favorite search engine to download any third-party software that could serve the purpose.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope the helps of information.

  • How can I use lightroom or photoshop on my laptop, when I open it, it says only, I use on two computers and I have already two I have Mac at home.

    How can I use lightroom or photoshop on my laptop, when I open it, it says only, I use on two computers and I have already two I have Mac at home.

    Hi moving,

    You can use Lightroom or Photoshop on two computers using a single license.

    If you want to use on the third computer, you should disable any previous machines and turn it then back on the 3rd machine.

    You can also consider getting another license or subscription to your other computer.

    ~ UL

  • How can I put two pictures together so that I could make a poster, including the two photos?

    Original title: Photo

    How can I put two pictures together so that I could make a poster, including the two photos?

    Hello

    What operating system do you use?

    You can do this by using paint or Windows Photo Gallery or Windows live photo gallery. See the following articles that might help you.

    With the help of paint
    http://Windows.Microsoft.com/en-us/Windows-Vista/using-paint
    With the help of paint
    http://Windows.Microsoft.com/en-us/Windows7/using-paint
    Overview of Microsoft Paint
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/mspaint_overview.mspx?mfr=true
    Open Windows Photo Gallery
    http://Windows.Microsoft.com/en-us/Windows-Vista/open-Windows-Photo-Gallery
    Windows Live Photo Gallery
    http://Windows.Microsoft.com/en-us/Windows7/products/features/photo-gallery

Maybe you are looking for