Can a counter source be inverted on the 6229

Can counter a source, for example "Dev1/Ctr0InternalOutput", be inverted on the 6229.  Currently, when I used the following line,
DAQmxConnectTerms ("/Dev1/Ctr0InternalOutput", "/Dev1/PFI4", DAQmx_Val_InvertPolarity);
I received an error stating that the hardware thus support inversion.  Thus the problem lies in the source or the destintation terminal?

Hi cscp,
The 6229 does not have general purpose inverters available for such
signal paths, and therefore is not capable of signal inversion as part
of the DAQmxConnectTerms function call.
As part of the functionality of the on-board counters, however, the 6229 DOES have the ability to set the polarity of the counter output event.  Use the following function call:
DAQmxSetExportedCtrOutEventPulsePolarity(TaskHandle taskHandle, int32 data);
setting the data parameter to DAQmx_Val_ActiveLow (10096).
Hopefully this helps out.  If not, let me know, and we can keep
working to get this issue fixed.  Best of luck on the application.
Have a great day!
Travis W

Similar Messages

  • Can you track source of clicks on the "clickable" icons

    Can you track source of clicks on the "clickable" icons or track links in Dreamweaver?  I know about Google analytics for a page body but don't know for clicks.
    Thanks in advance

    It's called "event tracking".
    Here I will use Google Analytics and jQuery to record click event from any element with the class "clickable".
    <p class="clickable" id="clickable-element-1">Clickable element 1</p>
    <a class="clickable" id="clickable-element-2" title="Clcikable element 2" href="#">Clickable element 2</a>
    <img class="clickable" id="clickable-element-3" src="img/image.jpg" alt="Clickable elment 3" />
    <script>
        $(".clickable").click(function(e) {
            _gaq.push(["_trackEvent", "User interaction", "Click", $(this).attr("id")]);                          
    </script>
    More on Google Analytics event tracking: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide
    Any tracking code should provide you with event tracking method. You can also write your own - I'd use AJAX call.
    Kenneth Kawamoto
    [link removed by moderator]
    Message was edited by: kennethkawamoto2   - Updated with slightly more "useful" example - hopefully

  • How can I count the participants' number in TextChatApp? (using SharedObject, FMS)

    Hi all.
    How can I count participants' number?
    If the 3st user enter the room, the 3st user have to know that how many users are in the room.
    How do I know how many users are in the room?
    Thanks in advanced.
    Kevin.

    You have server side hooks for connections coming in or being closed (including here custom code for server disconnecting users for idle purposes).
    you need to keep track of the connections I don't remember now what FMS offers out of the box. Let's assume not much.
    When connection is coming in you can choose to accept or reject it. When you accept a connection you need to add it to your existing connections array or whatever data structure you use to keep track of them. Also you need to iterate to all connected users (clients) and call a custom method "userJoined()" on them to notify that a new user has joined.
    When a user leaves you need to remove the user from the collection and also notify that it left.
    on wowza you have stuff like :
    private HashSet();
    public void onConnect(IClient client, RequestFunction function,
                AMFDataList params) {
    public void onDisconnect(IClient client) {
    public void onConnectAccept(IClient client) {
        _connectedClients.add(client); 
        sendUserJoined();
    @param client
        public void onConnectReject(IClient client) {
             _connectedClients.remove(client); 
            sendUserLeft();
        public void sendUserJoined(String userName)
            Iterator it = _connectedClients.iterator();
            while (it.hasNext()) { 
                IClient each =  it.next();
                    each.call("userLeft", userName);
    FMS has similar hooks. This is simplified but you have a rough idea. You can call clients with no parameters and then is up to client so call back for updates to the server if interested. You need to implement "userJoined" and userLeft client side also.
    C

  • Who worked with ICS' Model 4896 GPIB? I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.

    Hello. Most of the engineers in developer exchange are more familiar
    with NI products. Contacting ICS for technical support is a better
    course of action.

  • How can I turn off word wrap in the View Source output?

    I'm trying to extract HTML from Word and one way to do that is to save the Word file as a .htm file and then View Source in a browser and copy that. But the words are wrapped in the View Source file. I want each paragraph to be all on one line. Is there a setting for the View Source feature that will turn off word wrap?
    Once I have that done and copied into a plain text editor, I will use Search>Replace to get rid of all the stuff Word puts there and just end up with the simple paragraph tags at the end of each paragraph, all on one line.

    You can disable wrapping and syntax highlighting in the View menu in the Edit > View Source window.

  • How I can change a power pivot without change the power charts that are suing that power pivot as source?

    Hi All
    My issues using an Example, 
    I've a power pivot with 3 related tables, (two dimension tables and one measure table), then I created a pivot chart using
    that 3 tables as source... 
    The pivot chart is a little complex... it takes some time to rebuild from the scratch... I have added 3 measures to the chart,
    M1, M2, M3... but due to a business changes I need to refresh the measures M1, M2, M3 with information from a different source...
    i.e. I need to drop the 3 measures from the Power Pivot, then I need to add them again with the same names, but when I drop
    them from the power pivot table  the pivot Chart Fields Values disappear and the chart obviously is refreshed without the 3 measures... :S
    Question: How can I drop a column from a power pivot table, then add it again with the same name without affect the Pivot
    Chart Fields... i.e. only when I do the refresh manually the charts are affected... but once the name of the columns are the same.. the charts don't change the layout....
    Thanks Very Much!!!
    Luis

    Luis,
    Any luck with this?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • I just updated pages, I can't count the amount of words with space anymore. Can anybody help me?

    I just updated pages, I can't count the amount of words with space anymore. Can anybody help me?

    Yes me too, tried re setting and enabling changes but no agree button anywhere?

  • My old computer died just after I transferred iTunes via external HD.  When I transferred the content from the HD to the new computer, most songs won't play.  Message is "Can't identify source".  Sharing was on in the old computer when it died.

    My old computer died just after I transferred iTunes via external HD.  When I transferred the content from the HD to the new computer, most songs won't play.  Message is "Can't identify source".  Sharing was on in the old computer when it died.

    Is there no ANSWER TO THIS PROBLEM?

  • How can I find the source of report in the executable method= "Spawned" ?

    Dear all:
    how can I find the source of report in the executable method=>"Spawned" ?
    Regards,

    Hi,
    Please see this thread.
    To View Spawned Concurrent Program Source Code
    To View Spawned Concurrent Program Source Code
    Regards,
    Hussein

  • Can i count the number of Mondays in a specific month with a formula?

    Hi
    I am looking for a streamlined way of calculating an amount to invoice for a job that I am paid for weekly, but for which I invoice monthly, meaning that I am invoicing different amounts each month, depending on how many Mondays fall in a given month (i.e. 4 or 5).
    So I am wondering if there is a function I can use to calculate the number of Mondays in a given month automatically and then I can use this value to multiply by my weekly charge to calculate the amount to invoice each month.
    Thanks
    Nick

    Responses below apply to my earlier post.
    nick_harambee wrote:
    1. What part of the formula do I need to change to do the same for other days of the week, and for other years?
    No change for other years, as the full date is entered.
    I haven't looked at changes necessary to the version above to show results for other days. See below for a new table that does all days.
    2. Would it be possible to construct one table with the calendar for a whole year, which would generate a count for each day of the week, which I could then use as and when needed? Or would it make more sense to construct a separate table for each day of the week (as I am referring to in question 1)?
    Depends what information you need.
    If you need the count for only one week day, then a table showing only the count for that day of week will avoid having to search it out.
    If you need the number of occurrences of each weekday in each month, then a table showing those, with or without an attached calendar, is in order.
    Here's one that shows the count of each weekday for each month. It uses two formulas, derived from the earlier posts by Yvan and Jerry:
    B1: =DATE($A,COLUMN()-1,1)
    B2: =IF(AND(DAY(EOMONTH(B$1,0))>28,MOD(WEEKDAY(EOMONTH(B$1,0))+7-(ROW()-1),7)<(DAY( EOMONTH(B$1,0))-28)),5,4)
    The formula in B1 is filled right to M1, and the cells are formatted to show only the Month and Year. Note that the cells actually contain Date and Time values, which are used in the second formula's calculations.
    The formula in B2 is filled right to M2 and Down to M8.
    Day names in column A are entered directly and are not used in the calculations.
    The 4 digit year number is entered directly in A1. Change this number to change the year.
    <img src="http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countw eekdaysinMonth.png" border="0" alt="Count of weekdays in month(s)">
    Conditional formatting is used to fill cells whose value is equal to 5 with a yellow background.
    Regards,
    Barry
    Edit:
    Direct address to image for use if not showing above.
    http://i963.photobucket.com/albums/ae116/Barry_images/iWork09screen/Countweekday sinMonth.png
    Message was edited by: Barry

  • Can we use Dc power source to power on the IPCC servers

    can some one advice me or provide an weblink as  whether we can use DC power source to power up the IPCC servers and the catalyst 6500 series switches. I have GEN class servers in my contact center.
    Thanks

    As said above you can use double-tap to wake up the device, you'll find the setting for it under settings > display > tap to wake up. 
    What are your thoughts about this forum? Let us know by doing this short survey.

  • Hou can I count the words on a text

    I am using Iterator which I think it only counts unique word so who can I count the all the words on the text

    See i have Thispublic int getCount(String word) {
              // returns count for word
              Iterator<StringCounter> iter = ourWords.iterator();
              StringCounter sc;
              int count=0;
              while (iter.hasNext()) {
                   sc = iter.next();
                   if (sc.getString().equals(word)) {
                        sc.increment();
                   count++;
              return count;
         }this only gets the words that are unique

  • How can i do this in Captivate 7 "The idea when user click on "Correct answer" button, drag source m

    How can i do this in Captivate 7 "The idea when user click on "Correct answer" button, drag source move to drop target automatically".

    I suppose you are talking about the D&D interaction? Could you explain more? What is your level of expertise with advanced actions and Effects?

  • [svn:fx-trunk] 11378: Rearrange exisiting TLF sources to be in the same structure as the new drop we 're about to take so that we can maintain the change history.

    Revision: 11378
    Author:   [email protected]
    Date:     2009-11-02 12:43:46 -0800 (Mon, 02 Nov 2009)
    Log Message:
    Rearrange exisiting TLF sources to be in the same structure as the new drop we're about to take so that we can maintain the change history.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer:
    Tests run: checkintests, TextArea
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/build.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/manifest.xml
        flex/sdk/trunk/frameworks/projects/textLayout/src/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flash/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/BuildInfo.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/CoreClasses.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/EditClasses.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/acc/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/compose/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/container/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/container/TextContain erManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/debug/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/EditManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/ElementRange.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/IEditManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/IMEClient.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/Mark.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/ParaEdit.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/SelectionFormatS tate.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/SelectionManager .as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextClipboard.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextFlowEdit.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextScrap.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/elements/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/FlowOperationE vent.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/SelectionEvent .as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/external/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/factory/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/formats/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/operations/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/property/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/tlf_internal.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/utils/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/utils/NavigationUtil. as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/undo/
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/

    Revision: 11378
    Author:   [email protected]
    Date:     2009-11-02 12:43:46 -0800 (Mon, 02 Nov 2009)
    Log Message:
    Rearrange exisiting TLF sources to be in the same structure as the new drop we're about to take so that we can maintain the change history.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer:
    Tests run: checkintests, TextArea
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/build.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/manifest.xml
        flex/sdk/trunk/frameworks/projects/textLayout/src/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flash/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/BuildInfo.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/CoreClasses.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/EditClasses.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/acc/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/compose/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/container/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/container/TextContain erManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/debug/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/EditManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/ElementRange.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/IEditManager.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/IMEClient.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/Mark.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/ParaEdit.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/SelectionFormatS tate.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/SelectionManager .as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextClipboard.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextFlowEdit.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/edit/TextScrap.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/elements/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/FlowOperationE vent.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/events/SelectionEvent .as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/external/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/factory/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/formats/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/operations/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/property/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/tlf_internal.as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/utils/
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/textLayout/utils/NavigationUtil. as
        flex/sdk/trunk/frameworks/projects/textLayout/src/flashx/undo/
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_conversion/
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_core/
        flex/sdk/trunk/frameworks/projects/textLayout/textLayout_edit/

  • HT1386 When I plug my iPhone into my iMac via USB I can choose to "back up to this computer".  On another sync to my iMac, can I choose to " back up to the iCloud"?  This way I could restore all my info and settings from either source.  Is this possible?

    When I plug my iPhone into my iMac via USB I can choose to "back up to this computer".  On another sync to my iMac, can I choose to " back up to the iCloud"?  This way I could restore all my info and settings from either source.  Is this possible?

    On the phone, under Settings > iCloud you can select to turn iCloud ON or OFF.
    One iTunes, it senses that toggle and if you had selected iCloud it will say backup to iCloud. Here you can change the toggle to backup to computer and click "Apply" prior to syncing.
    I do both for good measure. I backup to computer and then after i disengage the device from the computer, I set the iCloud toggle back to ON and then perform the iCloud backup over wifi.
    I found that using iTunes and saying to backup to iCloud isn't always successful in the "last backed up" time and thus I do it separately.

Maybe you are looking for

  • Crystal Reports 9 and Clearquest

    Hello, my company uses (for historic reasons) IBM Rational Clearquest 2003 (2003.06.15.734.) with Crystal Reports Version 9.2 (Service Pack 7) to create Reports on the entries in the Clearquest database. However, when I try to create a new report for

  • Datastore id and flat class mapping

    Hi, I have - an abstract persistent class A with 2 concrete persistent subclasses A1 and A2. I'm using datastore identity and flat class mapping. - a class B that has a field fb with a one-many mapping to A1 objects (Hashset). - a class C that has a

  • Gnome 3.16 resume from suspend weird issues

    After upgrade to gnome 3.16 with gnome-shell 3.16.1-2  and gdm 3.16.1.1-1, also with previous 3.16 versions, after I suspend to ram for some time and resume from it, the gdm window freezes and cannot input. After some tty switching using ctrl+alt+f1/

  • Hi i have no elive in photoshop elements 13

    no elive elemnets 13

  • Admin. vs. standards acccounts

    Hi all, i am new to OS X and I have a few questions: I created one admin. account, for security. I do not use this account: I have a standard account from which I do wireless internet connection, word processing, etc etc.....well: I understand new ap