Doing something the DAQmx way that doesn't fit? (Triggered counter on PXI 6608)

Hi,
I want to create a counter with my PXI6608 that is triggered with an external input, then counts up. I then want to be able to read the count in LabVIEW and hence determine the time since the trigger. I have achieved this before with old-style code, but it is not clear how to do it the DAQmx way. In particular, I can't create a task because what I'm looking to do doesn't seem to fit in with any of the pre-envisaged DAQmx task templates.
Can anyone help? I'm assuming there's some way to create an 'empty' DAQmx task so I can fill in the details with property nodes?
Cheers
Lee
Solved!
Go to Solution.

You'll want to make an edge count task and set the source to be one of the internal timebases using a DAQmx property node (set it before starting the task):
The trigging functionality you're looking for is called an "arm start trigger" in DAQmx.  It's configured through a property node (also before starting the task):
I'm not sure what you're getting at with regards to the "empty" DAQmx Task.  Typically you'll use the standard API to set typical properties and the property nodes for more advanced functionality so you'll end up with a combination of the two.  In many cases you could replace the DAQmx API with property nodes (for a fun example of this, open up the DAQmx Timing VI), but odds are you might be forgetting something important so I would always suggest using the VIs and then tacking on property nodes for additional functionality when necessary.
If you're using LV 2012, this example should get you started (or if not, the picture still shows you what the task would look like).
Best Regards,
John Passiak

Similar Messages

  • What external drives work well with a late 2011 MacBook Pro?  I ask because I just found out the hard way that a Samsung EVO 840 does not.  Also should I avail myself of something that works with Thunderbolt or Firewire?

    What external drives work well with a late 2011 MacBook Pro (I7, Lion OS) apart from my Kingston flash and USB drive, and the SD drives that I use in my cameras and recording devices?  I ask because I just found out the hard way that a Samsung EVO 840 does not.  Also, should I avail myself of something that works with the Thunderbolt or Firewire connections?  I'm looking to back up music and video files created and/or processed in Logic Pro and the Adobe Production Premium software suite (Premier Pro, After Effects, Audition, etc).

    Hmm, not sure what problems you had installing this drive. The review here gives it good marks for Mac:
    http://www.amazon.com/Samsung-Electronics-EVO-Series-2-5-Inch-MZ-7TE1T0BW/produc t-reviews/B00E3W16OU
    There does seem to be a lot of prep to make it work:
    "1. Preparation to install your new shiny SSD
    1.a You will need a migration tool (I used the Sabrent kit USB 3.0 to Sata that was suggested in these review) see link http://www.amazon.com/gp/product/B00DQJME7Y/ref=oh_details_o03_s01_i01?ie=UTF8&p sc=1
    1.b You will need to download a trim enabler (mid 2012 macbooks only support native trim with apple brand ssd's) I recommend going to cindori.org and downloading trim enabler version 3.xx. You can do this step before or after the OS migration
    1.c You cannot use the Samsung SSD migration software *don't worry Mac has its own imaging/migration utility*"
    Also in those reviews:
    " Only down side when using this product in a Mac Mini is you will be required to download and install Trim Enabler so that your drive performs optimally on your Mac device. This is an Apple issue, not Samsung, but it is an extra step you will have to take after you install the hard drive, and any time you perform an OS upgrade." He rant's on.
    Personally I only deal with OWC:
    http://eshop.macsales.com/shop/SSD/OWC/
    They are very knowledgable and if there's a problem they will gladly take back the item. (Never happened to me yet - 8 years and counting).
    Just upgraded my 13" MBP 2011 to 120 GB for $79. Adobe CS 6 opens in 3 seconds! Awesome!
    When I was in Chicago I had a pro photographer for a client. She wound up with 4 internal drives in her Pro, 4 external drives and an dual array locked in a steel vault in the basement. All from OWC. OK she was a bit paranoid. Great client though.
    As far as value for price:
    http://eshop.macsales.com/item/OWC/MES3FH7500G/
    500 GB for $130.
    However as far as reliability is concerned:
    http://www.rockpapershotgun.com/2014/01/30/are-ssds-reliable/
    http://www.extremetech.com/computing/173887-ssd-stress-testing-finds-intel-might -be-the-only-reliable-drive-manufacturer
    So sudden power loss is an issue with SSDs.
    Personally I'd go with a moderate sized SSD internally and a conventional external for backup. An array would be the most reliable.

  • Does the iPad 2 pass through TV the same way that the iPhone 4s does ?

    Does the iPad 2 pass through TV the same way that the iPhone 4s does ? I have an Arcam rCube dock which allows the tv pass through from the iPhone 4s and I was wondering if the iPad 2 will do the same if I buy a dock extender and what should I check for in a dock extender ?

    No - that feature does not exist on the iPad2 and I know of no plans - nor would anyone else here - for that feature to be added with a software update in the future.

  • Why can't i access my Apps that I downloaded through iTunes. I believe I'm doing something wrong and not that the issue is iTunes itself

    Occasionally ill try downloading an App through my Macbook Pro 13.5 & it directs me to iTunes to be downloaded. So, I go to iTunes and download the App I need. For instance, Amazon. I go into 'My Apps' in iTunes and try clicking on one of my DL Apps, but nothing happens. Why can't I access the Apps, which I downloaded through iTunes.?I believe I'm doing something wrong and not that the issue is iTunes itself.  I have OS X Yosemite 10.10.1. I am due for an upgrade from that software and also an upgrade for iTunes as well, but that shouldn't be the problem. I've tried everything on my end to troubleshoot. I don't really have the time during the day to call in and troubleshoot, so thats why I'm asking the community. Please help with this problem if anyone can. Thank You!

    Once you download an iOS app, you cannot run that app from the computer. That can only be run from an iOS device. You cannot download Mac Apps from the iTunes App Store, those are downloaded from the Mac App Store. Two different places. If you want a Mac app that will run on your Mac, you need to download that from the Mac App Store. iTunes App Store only has iOS apps that work on iOS devices, iPhone, iPad, or iPod.

  • A gap between letters started to show in my indesgn files. tried to undo with tracking, the paragraph settings. nothing helped. it ruins the fluent view of the document. how can i restore the program so that doesn't happen?

    a gap between letters started to show in my indesign files. tried to undo with tracking, then with the paragraph settings. nothing helped. it ruins the fluent view of the document. how can i restore the program so that doesn't happen?
    for example: say i write a paragraph. then, in a weird some sort of way an involuntary gap suddenly appears between different letters of random words(i did not recognize any pattern to the gap appearing) throughout the entire paragraph. once i've double clicked on that paragraph, and made a minor change, lets say tapped a 'space' key, and then clicked ctrl+z to undo, it has aligned(or fixed) the entire paragraph and made it look ok again. i've tried numerous ways to undo the entire thing, but cannot find the reason. i've been working for a few years and there's no reason why this thing all of a sudden should happen right now.
    if anyone has stumbled on something like that and can advise, i would welcome it.
    MNS-KG
    Vadim

    yep...i'm typing with hebrew. i'll make a printscreen with the settings you've asked for@:
    if you look closely you'll see that almost every line has a single letter apart. in hebrew there is no usually a singe letter structured words.

  • Putting a CD & DVD in the Drive? am i'm doing it The Right Way?

    i'm little bit new to this iMac cause i just bought a iMac 24 inch Computer in July of 2009 & i needed to know this, when i put a CD or DVD in My iMac Computer am i'm soppose to push The CD & DVD into The iMac Computer? or is there soppose to be another way? cause when i want to play a CD or DVD I been pushing them in there & i'm not really sure if i'm doing the right thing, so i was just taking pre-caution that if i'm doing it the right way?

    Hi Apple4Ever556: The CD/DVD needs to be pushed gently, approx 75% - 80% into the slot before the mechanism will engage and pull it into the drive.
    Stedman

  • Is it possible to stream music to multiple sets of speakers via airplay direct from iphone4s on ios7 in the same way that you can in iTunes

    Is it possible to stream music to multiple sets of speakers via airplay direct from iphone4s on ios7 in the same way that you can in iTunes / Remote?
    I know this can be achieved by the remote app.
    Airplay functionality appears only to support 1 set of speakers at a time?

    Hockeyfanatic wrote:
    Does anyone know how or if it's possible to stream my music from the iPhone to iTunes via bluetooth or wifi? Essentially I want to share the iPhone's library with iTunes (I know one can go the other way).
    Here's why: I'd like to stream my music at work to my computer's speakers without taking the phone out of my pocket. I obviously don't have my home music collection on my company computer. And I figure if I place the phone on my desk to plug it in and play through iTunes, I could easily walk off without the phone. That would be bad (out of contact) and potentially sad (stolen).
    It seems right now the only bluetooth connection to a computer is for the remote application.
    Wait until November. Airplay/Airtunes iOS 4.2 announced for iPhone to iTunes/iTV. If you want a BT audio stream now, you can add a dongle to the PC for headset streaming.
    As far as WiFi file transfer iPhone to iTunes, you can't. There's talks on it but nothing concrete. Except JB.

  • I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    I'm looking for the old toolbar that doesn't double post the web adress and only has single line entries and the extension xpi doesn't work with my new computer

    Mike wrote:
    > Could someone tell me why this prototype-based lightbox
    seems to work on one
    > of my sites but not on the other?
    >
    > I literally took the exact same .js & css files,
    copied them over from one
    > site to the other, but it's only partially working on
    the new site.
    >
    > Works :
    >
    http://www.roxanacampagiorni.com/
    >
    > Doesn't work :
    >
    http://www.vilverset.com/sample.html
    >
    > Been troubleshooting this one for days, and I'm stumped.
    Script wants
    > nothing to do with lightboxing HTML files on the new
    site. Only straight
    > JPGs. But it was written to work with them, and it
    *does* work with them
    > just fine on the *other* site.
    >
    > Where is the anomaly between the two sites that's
    causing it to break in
    > sample.html?
    >
    >
    Not sure if this is relevant but on the page that works you
    have these
    js files linked - 4.....
    <script type="text/javascript"
    src="/scripts/jscripts.js"></script>
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    and on the page that doesn't - 3......
    <script type="text/javascript"
    src="/scripts/prototype.js"></script>
    <script type="text/javascript"
    src="/scripts/effects.js"></script>
    <script type="text/javascript"
    src="/scripts/control.modal.2.2.3.js"></script>
    HTT
    chin chin
    Sinclair

  • I just updated my ipod 4g to ios 5.1 and i cant download apps a message pops up saying to type in password for caldav something something the thing is that i have no idea what my password is i never made an account for that so please help

    i just updated my ipod 4g to ios 5.1 and i cant download apps a message pops up saying to type in password for caldav something something the thing is that i have no idea what my password is i never made an account for that so please help

    Go to iTunea>Preferences>Devices and see if there is a backupright at the time you did the update. Then try restoring from that backup. If the apps are in your iTunes library, any app data will be restored to the iPod.
    When restoring from an iOS 4 (or later) backup, if the device had a passcode set, iTunes will ask if you want to set a passcode (and remind you that you had protected your device with a passcode). iTunes will not ask you to set a passcode when restoring from iOS 3.x and prior backups.
    Therefore, remembe the passcode that you enter this time.
    It appears that if you restore from a backup, that backup is not subseqyently overwritten by the next backup.

  • I am trying to complete a form but can't get to the final drop down question as it is not displayed because it falls below where my screen ends.  i have tried changing the resolution but that doesn't work.  any suggestions?

    i am trying to complete a form but can't get to the final drop down question as it is not displayed because it falls below where my screen ends.  i have tried changing the resolution but that doesn't work.  any suggestions?

    brilliant
    google chrome works where safari doesn't on my macbook air.  many thanks
    i now have an embarrassing qu.  have dowloaded spider solitaire (sad!) and i can't add cards at the bottom of a column for the same reason - the display cuts short.  i have tried to extend it with the arrows in the bottom corners but it makes no difference.  any ideas?

  • I just purchased a Canon 7D Mark II, new DellXPS and the Lightroom 5.2.  The Lighthouse is not openinging the 7DMark II but does open the older 7D that I imported.  I checked the Abode update page and do not see one for the 7D Mark II.  Please say it is t

    I just purchased a Canon 7D Mark II, new DellXPS and the Lightroom 5.2.  The Lighthouse is not openinging the 7DMark II but does open the older 7D that I imported.  I checked the Abode update page and do not see one for the 7D Mark II.  Please say it is there - if not when.  I am "on hold till its done.  Thanks.

    Update to the current release, which is Lightroom 5.7.1. You can do this from the Lightroom help menu and choosing updates.

  • I have a iPhone 4 and in the the middle of doing something the screen goes black. Put when I put it in direct sunlight I can see my stuff? Can someone help me

    I have a iPhone 4 and in the the middle of doing something the screen goes black. Put when I put it in direct sunlight I can see my stuff? Can someone help me,!!!

    Hey Destiny24
    Check out the iPhone Hardware troubleshooting guide in the Display section. It has a section for not having any backlight. If you cannot get it resolved, there are some links towards the bottom of the article for further options when it cannot be resolved.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • What is the proper way to deal with cascading triggers in AcroForms?

    (this has already been posted in the Scripting forum. Due to the lack of response, I am coming here to the Land of C/C++ Developers)
    What is the proper way to deal with cascading triggers in AcroForms?
    My question refers to the forms in which there is a binary question such as:
    "Are you interested in travel?"
    When the user clicks "Yes", there are further questions whose interactive fields are dot.hidden (or "!"), depending on the answer.
    So far, I can handle the 1-level cases fine, but my doubt is how to implement nested dependencies. For the sake of simplicity, I would prefer to define the cause-effect relationship once ("Every time the 'Interested in Travel' box is checked, the field 'International or Domestic' should be visible") and send some sort of message/trigger downstream.
    I would like the right things to happen (cascading triggers included) when the "Clear Form" menu command is selected.
    Are those desirable features available in JavaScript (the particular JS used by the traditional AcroForms)?
    Maybe I should look into C/C++ programming?
    TIA,
    -Ramon

    I guess my problem is that I have some basic college experience in digital circuit design, and would like the forms to be programmed and behave in the same fashion as digital logic.
    The "Clear Form" menu item, of course, would be equivalent to the  reset button.
    Perhaps it is possible to hook my code onto the "Clear Form" menu item?
    -Ramon

  • Hide button bug, feature or doing it the wrong way ??

    Hi All,
    I'm trying to hide a button via a dynamic action. I've changed the template to include the button attrributes and given the button an ID to reference this in my dynamic action ( DOM Object name = button id ) and also applied this template to the button.
    This always seems to work fine until :
    If I have a button with position "top and bottom of the region" and in the dynamic action this is the only Dom object which I reference in the hide action.
    When I do this only 1 instance of the button gets hidden, the one on the bottom of the region is still shown....
    I am able to bypass this by adding another dummy DOM object name to the line of reference Dom objects in the dynamic action ( so the DOM object which is hidden is reference as "button_id,dumm" ), the dummy does not exist but adding this string to the line seems to fix it.
    Am I missing something or is this a bug ?
    Ciao
    Bas
    btw this is apex 4.02

    When you choose the display position as "top and bottom" , there are two button elements rendered with same properties(that you specify for the button properties.)
    If you have two page elements with the same ID(which is a bad practice anyway) ,accessing the DOM using the ID directly will pick only one of them(the first found in DOM, I think) , this is the same behaviour with $x , document.getElementById or jQuery $('#..) methods too and is nothing special about apex.
    You can either change the selector to jQuery and jQuery selctor as
    [id="button id"]The proper way would be to give it a name attribute or a class property using the "button attributes" field and use an appropriate selector.

  • The latest Firefox version won't expand to make text and images more visible on my 32" screen, although I have tried to adjust the advanced Windows appearance settings in the same way that has worked in previous versions of Firefox.

    Normally I have had to go to Control Panel; Appearances and Themes; Display; Settings; Advanced; Custom; and then I adjust the Customize Setting to 155% (149 dpi). I have hit on this setting through trial and error; larger and icons like the cursor get big and fuzzy. Smaller than 155% and text and images are tiny on the 32" wide screen. This time that procedure doesn't seem to work. The text and images remain too small regardless of setting, although the cursor icon gets big. I can manually zoom the pages, but that is clumsy and has to be redone. Does anyone know of an easy setting fix? I am not too smart about this stuff--mostly trial and error, but I do want to be able to enjoy my wide screen. Thanks!

    Normally I have had to go to Control Panel; Appearances and Themes; Display; Settings; Advanced; Custom; and then I adjust the Customize Setting to 155% (149 dpi). I have hit on this setting through trial and error; larger and icons like the cursor get big and fuzzy. Smaller than 155% and text and images are tiny on the 32" wide screen. This time that procedure doesn't seem to work. The text and images remain too small regardless of setting, although the cursor icon gets big. I can manually zoom the pages, but that is clumsy and has to be redone. Does anyone know of an easy setting fix? I am not too smart about this stuff--mostly trial and error, but I do want to be able to enjoy my wide screen. Thanks!

Maybe you are looking for

  • Wine and KDE hotkeys

    I LIKE the KDE shortcuts so I don't want to permanently disable them.  I would like them to be disabled whenever I run games in fullscreen under wine.  For instance:  Ctrl-F2 switches to desktop 2 which is great...  Accept when I'm playing Diablo II.

  • Size of the internal table

    Hi Experts, I would like to ask about the size limit of internal table? How many records can I fetch into an internal table? iam not getting the correct answer,plz any one can tell me pin point answer. Thanks,

  • Lost an album in my library

    My iPhone Froze and needed to be restored.  Since my last back up I purchased some music on iTunes and now that my phone is restored my new music is not there.  My question is how can I recover the music that I lost? Julie

  • I would like to upgrade my OS to Yosemite however, I have a bunch of tabs in firefox that I would like to restore, Will I be able to do that after updating?

    I would like to upgrade my OS to Yosemite however, I have a bunch of tabs in Firefox that I would like to restore. Will I be able to do that after updating to the new OS? I do not want to go through and bookmark everything! Thank you for your time! ~

  • My ipad 2 is not turning on

    AND when i first bought my iPad (late november) i purchased the 3G internet thing...i never got it.. ):