Buffered Counter Start/Stop

I am currently running an application requiring buffered counting
of high-speed events. I have a PC-6602, and I will be running three
groups of two counters each--one counter will run at 20 MHz for high
resolution timing, and the second counter in each group will count
rollovers of the fast counter to keep real time data. For neatness, I
would like to have three separate gruops of counters, but will they start
at the same time? I need all the counters to start simultaneously, and if
they are in different groups with different task ID's, how can I assure
they will all start at the same time?
Thanks,
Josh

Thanks for the response Filipe, I'll let you know how it goes. I only went into the header file because example code provided by NI ... paste ...
iStatus = GPCTR_Read_Buffer(iDevice, ulGpctrNum, ND_READ_MARK, ulReadOffset, ulNumPtsToRead, ulTimeOut, &ulNumPtsRead, pulReadBuf);
showed use of 8 parameters - in agreement with the header file and in disagreement with the on-line help file function documentation.
Tom

Similar Messages

  • I can browse the web but when I go to play video or you tube it will start stop over and over almost like it is buffering could this be the router all other non iPad devices work

    I can browse the web but when I go to play video or you tube it will start stop over and over almost like it is buffering could this be the router all other non iPad devices work

    How are you trying to play them, in the iTunes store or the Music and Videos apps ? Downloaded and synced music and videos should be in the Music and Videos apps, and you can stop content that is only in the cloud from showing in them via Settings > iTunes & App Store > Music and Videos 'off' (under the 'show all' heading).
    If you don't have your music and films/TV shows in those two apps then you should be able to download them into those apps via the Purchased tab in the iTunes store app.

  • Item "Start/stop table":  Counts towards 100 item per page limit?

    One of my form pages has many items and aligning them all just right is quite a chore.
    I found myself using lots of those handy "start/stop table" items instead of fighting with the colspan, rowspan, New Line/New Field attributes.
    Question: Do these "start/stop table" items count toward the 100 item per page limit?
    [I hope the answer is No]
    Thanks

    Vikas - The answer is no. It's only when the counter gets incremented, e.g., between p_t01 and p_t02, ... You can see that the stop-and-start (not star/stop) items do not generate html items with such a sequence component.
    Scott

  • How do I use the buffered counting mode at a fixed frequency?

    Hi-
       I'm using a PCI-6259 M-series board with the Nidaq MX
    drivers in Labview 7.  I am trying to use one counter to do
    buffered edge counting (eg. count how many pulses appear on one input
    in 400 successive time bins of 10 uS each following a digital start
    pulse).  That is, my inputs are:
         Start Pulse (from experiment)
         Count Pulse (from a photomultiplier tube in the experiment)
    And I want to know:
        # of pulses from 0 to 10 uS after the Start Pulse
        # of pulses from 11 to 20 uS after the Start
    Pulse  (or, equally good, # of pulses from 0 to 20 uS....I can
    subtract later)
        # of pulses from 3991 to 4000 uS after the Start Pulse (or, # of pulses from 0 to 4000 uS...same thing)
       The Count Digital Events-Buffered-Finite-Ext Clk.vi sample
    appears to do half of this.  I can set this up CTR0 with the Count
    pulse (and possibly add the start pulse as an Arm Start....I can't use
    a Start Trigger, right?).  However, I need to generate a Sample
    Clock Source at 100 kHz (to trigger the card to buffer the counter
    value and start counting in the next bin).  So, I tried to set up
    CTR1 along the lines of Gen Dig Pulse Train-Finite-Dig Start.vi for
    generating a finite pulse train starting on a digital trigger, and
    connecting the output from CTR1 to the Sample Clock Source on
    CTR0.  However, I get an error -50103 saying the specified
    resource is reserved if I do both at the same time.  But, I can't
    see any resource conflicts...the pulse generation on CTR1 works fine
    alone, as well as the buffered counting on CTR0, and all the PFI pins
    are different.  Is there some reason I can't use both counters at
    the same time?
    I think I can use the FREQOUT pin on the card to generate a Sample
    Clock Source at 100 kHz, since I think this is independent of CTR0
    & CTR1.  However, I can't trigger the FREQOUT to always start
    when I get a Start Pulse (as I can if I trigger a Digital Pulse Train
    to start on a digital trigger...or can I?)...so my bins will move
    randomly by up to 10 uS.
       This is an unrelated topic, but is there a discussion of
    the relationship between the terminology in the manuals describing the
    cards (SOURCE, GATE, OUTPUT terminals) and the terminology in NidaqMX
    (Source Clock/SrcClk.Source, CI.CountEdges.Term, CO.Pulse.Term)? 
    Eg. is CTR0.GATE always the same thing as SrcClk.Source, or does it
    depend on the mode of operation?  If the M-series hardware manual
    says to connect something to the SOURCE input, how do I assign an
    alternate PFI pin to that SOURCE input in Labview?  Does it depend
    on the counter type, or is it always the same?

    Dave,
    Hi, you brought up several questions / issues -- let me see if I can help with some of them:
       I can set this up CTR0 with the Count pulse (and possibly add the start pulse as an Arm Start....I can't use a Start Trigger, right?).
    Yes, you could set up this way.  Also, as far as I know you're also correct that you need to configure for an "Arm Start" trigger using the DAQmx Trigger property node.  The "Arm Start" trigger is used for counter input (measurement) apps while the regular "Start Trigger" can be used for counter output (pulse generation) tasks.  I don't think I've experimented with recent versions of DAQmx though so it may have changed in 7.4 or 7.5
    ...I tried to set up CTR1 along the lines of Gen Dig Pulse Train-Finite-Dig Start.vi for generating a finite pulse train starting on a digital trigger, and connecting the output from CTR1 to the Sample Clock Source on CTR0.  However, I get an error -50103 saying the specified resource is reserved if I do both at the same time
    I highlighted the problem -- the FINITE pulse train.  DAQmx uses CTR0 as a "helper" when you generate a finite pulse train on CTR1.  It would generate a single pulse whose width corresponds to the exact amount of time needed for CTR1 to generate its specified # of pulses.
    For your specific app, I think you could generate a triggered continuous pulse train with CTR1 -- this wouldn't need to use CTR0 as a helper.  The Start Pulse would arm CTR0 at the same instant that CTR1 is started.   If you set up CTR0 to acquire on the trailing edge of CTR1's pulses, then you'll get the time bins you want.
    A final slight mod would be to setup CTR0 for measuring buffered periods (set units == "Ticks") instead of counting edges.  In that mode, you wouldn't have to do the subtraction at the end.
       This is an unrelated topic, but is there a discussion of the relationship between the terminology in the manuals describing the cards (SOURCE, GATE, OUTPUT terminals) and the terminology in NidaqMX (Source Clock/SrcClk.Source, CI.CountEdges.Term, CO.Pulse.Term)?  Eg. is CTR0.GATE always the same thing as SrcClk.Source, or does it depend on the mode of operation? 
    There's an NI app note and some discussion forum hits if you search the site for "daqmx terminology."
    If the M-series hardware manual says to connect something to the SOURCE input, how do I assign an alternate PFI pin to that SOURCE input in Labview?  Does it depend on the counter type, or is it always the same?
    Usually, that choice would be available under the DAQmx Channel property node.   There'll be some place to define where the input signal is coming from, generally with "Term" or "Terminal" as part of its name.   Sorry I can't be more specific as I'm not at my LV computer now.
    Happy counting!
    -Kevin P.

  • Start, stop and restart while loops

    Hi, my qustion is i have 2 example a and example b. Example b lets u start counting up in seconds when u want to. as long as the toggle switchs are in correct position. it also lets u start, stop and restart if need be. i want to be able to that with example a, but for some reason the while loop always sets of running independent of what position the the toggle switch. Any help greatly appreciated.
    Thanks Stuart
    Attachments:
    examplealib.llb ‏202 KB
    exampleb.vi ‏25 KB

    An example as the attachment.
    Attachments:
    switch.vi ‏23 KB

  • Start/stop/restart live stream - do stream files need to be removed first?

    When streaming a live event if something happens and we need to stop our encoder and then restart it again.
    Do we need to delete the stream files created in the 'application/event/' directory and also delete the f4f stream,bootstrap, etc... files too?
    If we don't delete the stream files before restarting the live stream. It will only play about 10 seconds of the stream then just hang buffering.
    What is causing this?
    My application log shows no access when I restarted the stream.
    2013-09-04
    09:02:21
    3960
    (s)2641173
    onPublish : cfhsstream4
    2013-09-04
    09:02:21
    3960
    (s)2641173
    Stream name is: cfhsstream4 and live event is: cfhs
    2013-09-04
    09:02:21
    3960
    (i)2611173
    Event level recording configuration: General[flags: 3, keyframe interval: 60000, max size: -1, max length: -1, io buffer size: 0], Fragment[frag duration: 4000, seg duration: 0, duration precision: 0, allowed drift: 1000, frame rate: 0.000000, frames per interval: 0, intervals per frag: 1, frame precision: 1, disk management duration: 0.000000], ContentProtection[enabled=false(overridable)]
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Publish.Start
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Play.Reset
    2013-09-04
    09:02:21
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Data.Start
    2013-09-04
    09:02:22
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.Start
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.NoAccess
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.Stop
    2013-09-04
    09:02:23
    3960
    (s)2641173
    f4f:cfhsstream4 - NetStream.Record.NoAccess
    Thanks,
    Dave

    I have a similar issue like Mr Dave explained. If need to stop, start, stop and restart again, the encoder is sending, but in player not shows nothing. Then we need to stop and disconnect in encoder, and remove the stream file in /event and the cache files in livestream folder for after then restart the streaming. Only after this action, the streaming works fine and the streaming shows again in player.
    Have other way to solve this issue without need all that actions? Note that I use the Adobe FME to live streaming and encoding in HDS http streaming
    I hope for a help
    Thanks
    Pedro
    Message was edited by: asaweb2013

  • Retriggerable buffered counting edge task

    Dear all,
    I have been working on "Retriggerable buffered counting edge task" on a single counter input channel, let me describe what I want to achieve:
    Create a CI to count finite rising edges with external sample clock (eg. Dev1/di/SampleClock) at certain sampling rate, and set CI.edge.Term at one PFI which is hardwired to another digital input channel. Furthermore, I'd like to set "retriggerable start trigger" to this CI by another PFI line.
    It turns out that I can only set "arm start trigger" on this counter input channel, instead of "start trigger" since the error of 200452: attribute not supported in task context showed up at configuring digital edge start trigger. It seems that I can only set "retriggerable start trigger" on counter output task, and use two counters to achieve above, but I was wondering if there is a way to accomplish by single counter. Any suggestion is highly appreciated.
    Solved!
    Go to Solution.

    Dear John,
    I just tried and run into another issue with overflow. The idea is to synchronize this counter with finite DI and to read both buffers out when DI's buffer is filled. Since I am running CI in contineous mode, it seems to be reasonable to run into overflow on buffered CI after a couple of triggers; Error: -200279 when trying to read CI buffer. Is there a way to skip/ignore overflow but still read buffer with size that I specified at attribute of SamplePerChannel? or any better idea of design to achieve what I am trying to do? I was wondering how effective it would be by increasing buffer size to avoid overflow since no known pattern on the trigger signal.
    Really appreciate your help. Thank you.

  • Benchmarks for Buffered Counter Input with X-Series Devices

    Hi,
    Does anyone know the maximum transfer rate (using dma) for the x-series cards? 
    I'm looking for data simillar to the one in this link:
    http://digital.ni.com/public.nsf/allkb/72A7E41EE5A8756A862571DA0076F1D7?OpenDocument
    More specifically I want to know the transfer rate for the PCIe 6343.
    Thank you,
    Eyal
    Solved!
    Go to Solution.

    I benchmarked 8MS/s on a single channel on a USB-6353 (should have similar performance to the USB-6356/66) with a buffered counter input task. This was only a 10 minute test on my Dell E6400 laptop ( Windows 7 32 bit, Dual core P8600, 4GB memory) so a sustained 24/7 rate is likely less. Also, I wasn't doing much with the data, just displaying it in an array. This is pretty much topping out USB streaming on this system (32MB/s) so I wouldn't expect to get higher. I wasn't running much else in the back ground (Explorer, Powerpoint, Lotus Notes) and CPU was at ~20%.
    Hope this helps,   
    Andrew S
    Getting Started with NI-DAQmx
    Measurement Fundamentals

  • 24pA - Captured timecode and DV Start/Stop

    Hello - I've got what I hope will be an easy one - though I haven't found the answers lurking around here. I'm capturing footage shot on my DVX-100A in 24p Advanced mode. I'm capturing it from my DSR-11 deck using the Advanced Pulldown Removal in FCP 5.0.3 on my Dual 1G G4 tower running OS 10.4.3. My tapes should all be Non-Dropframe I believe.
    I'm having an issue with DV Start/Stop Detect. It's putting markers where there is no start/stop between clips, and NOT finding any of the start/stop locations on the tape at all. This led me to examine my timecode more closely. I found that clips have timecode that increments like this (in the frames category):
    01, 02, 04, 05, 06, 07, 09, 10, 11, 12, 14, 15, 16, 17, 19, 20, 21, 22, 24, 25, 26, 27, 29, 00
    It plays fine in sequences set to 23.98, and even displays fine on an NTSC television I've hooked up to my DSR-11. This from the clip itself in the viewer, or from the canvas in the sequence.
    Should my timecode be incrementing that way so that it can re-reference the 29.97 timecode on my original tapes, or do I have a problem? Does anybody know why my Start/Stop Detect feature won't work? Incidentally, it works just fine for 24p normal footage captured at 29.97.
    Thanks for your help.
    Zac

    Zebulun -
    I did what you suggested. I was able to capture a few clips just fine at 29.97. I also was able to use the dv start/stop detect feature with success.
    However, using the "remove advanced pulldown" from the tools menu yielded the same odd results. It appeared to work just fine, and the info window for the clip says that the frame rate is 23.98 (with lower field dominance), but my time code still reads as it did from the above posting. Up to 29 frames, skipping frames to make it count only 24 times.
    It still seems to play fine. Any thoughts on why my timecode is doing this?

  • How do I select multiple albums in Revel to start/stop sharing?

    How do I select multiple albums in Revel to start/stop sharing?

    Hello,
    You have to select each one to share the album. You can have multiple albums sharing at the same time. Please see our FAQ post "How to share photos with Revel"
    http://forums.adobe.com/thread/1157995?tstart=0
    For additional helpful information regarding Revel , please see our main FAQ Forum http://forums.adobe.com/community/ps.com_sharing_and_storage
    Thanks
    Scott

  • How do I change the start/stop time for multiple songs not just one song at a time?

    How do I chnage the start/stop time for multiple songs not just one song at a time?

    I don't think you can in iTunes.
    Multiple editing in Get Info does not offer an option to change start/stop times.

  • Start/Stop music time in iTunes not syncing to iPod

    Hi, I've managed to change the start/stop times in a few of my songs to skip some lengthy intros/outros in iTunes, but for some reason, these changes refuse to be synced onto my iPod Touch (second gen).
    I'm not exactly sure what to do in this situation... any suggestions are greatly appreciated :]
    Edit: No idea how this got into the iPod nano 4th gen subforum... I was in the iPod Touch subforum when posting this
    Message was edited by: seanterisu

    I just went through and tried both updating and authorizing my computer to play the music. I have the most recent version, and even after authorizing my computer nothing has changed.
    If this helps, even on the iTunes screen, while the music files show up in the iTunes part of the library, the smart lists are empty of the same music files under the iPod listing.
    Thanks for the help, perhaps you can provide more?

  • Can not  start/stop fullfilment server after fresh install

    Can not start/stop fullfilment server after fresh install
    Product: e-business suite (11.5.9)
    Platform: Win XP 5.1 (SP2)
    We have performed a new installation of ebusiness suite in our windows platform.
    Installtion went with out any problem.
    But we can not start/stop the fullfilment server. While trying to start/stop the server we are getting follwing error message:
    c:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih\jtffmctl.cmd start
    script returned:
    C:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih>echo off
    You are running jtffmctl.cmd
    Mon 13/09/2004
    01:46 PM
    "Starting Fulfillment Server for "PROD" on port "9300" ...\n"
    "Error returned while running OUI"
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    Class not found: oracle.apps.jtf.fm.engine.processor.Processor
    Please let us know how to fix this issue.
    Regards, Kunal

    edit the jtffmctl.cmd and make sure that it point to the correct java path, alse try to use java 1.4.1

  • I have installed Premiere Elements 11 from a disc I bought from Amazon.  I keeps asking me to re-install or if it does start stops a few minutes after I start a project.  I have a windows 8.1 PC.  I have tried numerous times to install the program and als

    I have installed Premiere Elements 11 from a disc I bought from Amazon.  I keeps asking me to re-install or if it does start stops a few minutes after I start a project.  I have a windows 8.1 PC.  I have tried numerous times to install the program and also to open it as Administrator as suggested by a friend but it still refuses to work.  I need direct help from Adobe but don't know how to get to them on this website as they seem to rely on user forums to advise customers.

    WhiteHouse Norm
    This question is already being responded to in the following duplicate thread
    Premier elements 11 keeps stopping
    Please reply in the other thread which has a discussion in progress.
    Thank you.
    ATR

  • I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    Good work, thanks for the report.

Maybe you are looking for