Is there a way to preset counters

During a certain process I'm starting a continuous encoder measurement. This measurement has to be stopped (with Stop Task) at a certain event because I have to change the Sample Clock of the acquisition. When I restart the encoder measurement, the counter value is (logically) set to 0 but I don't want to loose the previous counter value. Of course I can put this previous value in a variable and use it as an offset but is there a way to preset the counter? 

See Count Digital Events.vi in the LabVIEW examples (Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events).

Similar Messages

  • Is there a way to preset the cFP-QUAD-5​10 module?

    Using MAX, there is a way to reset the cFP-QUAD-510 to zero.  However, is there a way to preset the counter programatically through LabVIEW to count values other than zero?

    Dave,
    With the 1-50 Hz range that you are trying to measure, you are correct in your assessment that the CTR-502 module would provide a more accurate reading.  Just for everyone's benefit, let me give a quick explaination of why this is. 
    The QUAD-510 module has only eight allowable timebase settings for velocity measurements.  The timebase is essentially the "window" over which your quadrature encoder signal pulses are counted, and is equivalent to the gate signal that is used when doing frequency measurements with the CTR-502.  The longest window that can be applied with the QUAD-510 is 26,214.4 us, which results in a velocity resolution (accuracy) of 38.15 counts/s or 38.15 Hz.  As such, when trying to measure frequencies in the range of 1-50 Hz, your accuracy will be very low.
    The CTR-502, on the other hand, can get much more accurate measurements at this frequency range because you can configure a much longer window.  There is a LabVIEW example that installs with the FieldPoint driver called "Frequency Measurement.vi" that shows how to do frequency measurements with the CTR-502. 
    Dave, if you would like to see better resolution for low frequency measurements with the QUAD-510, again, please feel free to submit a product suggestion for this functionality.  For now it sounds like you have the best hardware setup for your application.  I hope that the information I have provided has been helpful. 
    Best regards,

  • In lightroom, is there a way to create a preset where a brush is automatically run?

    In lightroom, is there a way to create a preset where a brush is automatically run? Example: If I make multiple different brush adjustments on an image, and I want the exact same edit on another image, can I create a preset for that?

    Hi Heather,
    Lr does not (natively) support saving brushes in presets, but it's a UI limitation, not an "under the hood" problem.
    You can add brush strokes (or spot removals, or .. ) to a preset using a script I wrote (and offer for free), called
    'Add Spots Or Paint To Preset'
    available here:
    robcole.com - MiscLrScripts
    Rob

  • Is there a way to create a preset for drop shadows?

    I'm setting up a template for a new brochure that will need drop shadows on every product that is being placed. Is there a way to save a preset for a drop shadow so I need not have to recreate the shadow every time? Also this is being distributed to many people to work on and effects presets would be hugely beneficial-just not sure if that is possible? Although it is Indesign, and they are usually on the up and up for this kind of thing.
    Thanks!
    FF

    The Eyedropper Tool is a quick way of applying the same drop shadow to many objects
    But as peter says object styles is a much simplier way.

  • Is there a way to make a preset that makes Auto Tone behave the way it did in the beta?

    Yes, I'm probably the only person on the planet that wants this, but I liked how the Auto Tone auto adjusted the Exposure slider (ONLY!) and left all the other sliders at zero in the Lightroom 4 beta.
    Is there a way to write a preset that returns that behavior?

    No, but try shift-double-click on the word "Exposure".

  • HT3529 Is there a way to create, store and use preset messages for use with "Messages"?

    Is there a way to create, store and use preset messages for use with "Messages". I often have a recurrinig message to send, after a repeating event, and need to enter the same short message each time. It would be nice to have this short message stored and selectable so that I do not need to enter each time.

    found an answer that seems to work:
    https://discussions.apple.com/message/17997300#17997300

  • Is there a way of setting up one more than one export preset to a funcion key?

    Hi
    is there a way of setting up Lightroom to export images in using more than one export preset at one time? When I have edited my photos I very often want to create a full res JPEG to upload to Zenfolio with no watermark, a medium res JPEG to go to Flickr and a 1500px image with a watermark for Facebook (I normally upload these last). I'm hoping Lightroom would also have a an option to set Function keys to trigger export presets for example.
    I'd like to be able to stack export presets to help with my workflow.
    Thanks
    Jon

    robcole.com - ExportManager
    does what you want, as long as you don't need post-process actions in your export preset(s).
    plugin | free | I wrote it..

  • Is there a way to set default PDF options/presets in Illustrator CS5?

    I do a lot of design and have a custom preset created for saving my .ai files to .pdf. It's not a big deal but it's a little tedious switching from the default adobe PDF preset to my custom preset every time I save as to a PDF (Besides the ocassional times where I forget to switch it altogether, having my preset set to default would eliminate that).
    So I guess is there a way to set my custom preset as the default option for .PDFs? Thanks.

    Unfrotunately, I tried that and I guess you're not allowed to delete the presets that Adobe's created in Illustrator
    (Unless there's a way to find the actual preset file in Finder and delete that? Not sure because I've deleted the presets in HD/Library/Application Support/Adobe/ AdobePDF/Settings but an Illustrator Default still appears).
    Thanks though.

  • Is there a way to set equalizer presets to multiple songs or podcasts?

    I listen to lots of podcast novels containing many chapters, where each chapter is a separate, weekly podcast. I'd like to set all podcast novel chapters to my user-created "podcast story" equalizer setting. Is there a way I can set the equalizer setting to multiple podcasts at once? As it is, I'm setting each podcast/chapter one by one and it is a pain in the butt. I'd like to set 10 at a time. Is there a way to do this? Thanks in advance for any help!

    Select the tracks you'd like to edit, hit cmd-i (Get Info), and go to the Options tab. From there you can specify an equalizer preset for your selection.
    Hope that helps,
    John

  • How can I/Is there a way to: apply a preset effect to multiple clips?

    I will be editing a music video from this weekend in Premiere Pro CS4, is there a way I can paste a custom preset to multiple clips (selecting hundreds) without clicking each one and pasting/dragging?
    If this can be done it's going to save me hours and hours of work!
    If I try at the moment by CTRL clicking a few clips is only pastes/drags into 1 of the clips, not all of them!
    any help would be appreciated

    Yes, see the section
    Copy and paste clip effects and
    Apply effects to clips in the Premiere Pro Help.
    Cheers
    Eddie
    PremiereProPedia   
    RSS feed)
    - Over 350 frequently answered questions
    - Over 300 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Is there a way to make a 4x6 print preset with 3 photos on a 8X10 page?

    Other editor programs I have used had preset layouts for 3 4X6 photos on a 8X10 sheet of paper. They did this by having one row with two photos in portrait orientation and the other photo in landscape. Is there a way to build a preset for this layout?

    I do not know of any way to create such a print preset, but you can freely arrange and print your photos - all scaled differently-  using a Light Table, for example: Three portrait images and two landscape images arranged on a lighttable and the Print window:

  • Is there a way to passcode lock my iPhone without waiting for the preset idle time?

    Is there a way to passcode lock my iPhone without waiting for the preset time?
    My iPhone is set up to require a passcode after 15 minutes of idle time. Normally, this setting works best for me. However, there are times when I would like to lock it immediately, without waiting for the 15 minutes of idle time to pass. Is there a way to do that easily, without changing my settings? I know that I can click the power button to immediately kill the screen, but that just defaults to "slide to open" with no passcode required.
    Just to clarify, the idea is to leave my 15 minute setting, since this is the way I like it 98% if the time. I'm just wondering if, let's say I am resting my phone down while a curious person is around, I can quickly pass code lock it, much like I could just click the power button to put it to sleep.

    Unfortunately, my phone doesn't ask for the passcode when I do this (just slide-to-open). I've searched settings, but I don't see any way to set it up to require the passcode after the screen is locked with the power button.
    Do you remember how you set your iPhone up to achieve this?

  • My phone didn't come with the preset playlists. All my friends and my sister have them. Like, "top 25 in your library" "recently added" "recently played". Is there any way I can get these?

    My phone didn't come with the preset playlists. All my friends and my sister have them. Like, "top 25 in your library" "recently added" "recently played". Is there any way I can get these?

    Those playlists are "Smart playlists".
    I don't think that you can create them from the phone itself. I've only ever been able to create a smart playlist within iTunes and then syncing the phone.

  • Is there any way to export or save my Lightroom 5 presets and keywords/tags to an external storage drive prior to a program and data wipe due to a corrupt registry? Thanks.

    Is there any way to export or save my Lightroom 5 presets and keywords/tags to an external storage drive prior to a program and data wipe due to a corrupt registry? Thanks.

    Look at these instructions for how to move your LR to a new computer and copy things to a backup device until your computer is reformatted and you reinstall LR:
    http://www.lightroomqueen.com/how-move-lightroom-to-new-computer/

  • Is there a way to make the box for caption preset larger?

    When I type a caption preset in lightroom I would like the box where the type goes larger so I could see the whole caption, is there a way to do this?
    Thanks.

    http://regex.info/Lightroom/Config/

Maybe you are looking for

  • Billing block should not be removed manually.

    Hello Experts, My requirement is If an particular billing block is set, The Sales order change is not allowed in  T-code  VA02. The billing block removal using the T-code V.23 is not allowed. Point no. 1 was able to archive using the user exit MV45AF

  • Play sound in a java application

    Hi, I am creating a sound player program in a java application. Is that possible ? If yes, please tell me how to do that. Please reply soon! Thank you!

  • Relation ships in atg

    Hi when relationship objects are created in atg?

  • Why is my Flex extension for Photoshop out of focus while writing text?

    Hi All, I have a query. Why is my Flex extension for Photoshop out of focus while I am writing text to a layer? I noticed that if I am writing some text in a text layer, and while writing I try to do some action in my extension, like clicking a butto

  • Avoid duplicated button clicks in event structure

    Hello, I have a seemingly easy problem that I can't seem to solve. I am attaching a VI that exemplifies my issue. My problem is this: when an event is running the OK button is disabled, but if the user clicks on it the event is queued and, when the c