How Do I enable multiple trigger voltages on the PCI-6221 using NI-DAQmx?

I am using the PCI-6221 to do some simple data acquisition.  The idea is to allow three different analog voltages to trigger the data acquisition state.  I currently have the code set up for one voltage trigger but I am not sure what needs to be done to add the two additional trigger voltages. Any ideas?
Thanks.
Solved!
Go to Solution.

Is it possible to do something as simple as this:
    DAQmxErrChk
        (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,0.0,5.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk
        (DAQmxCfgSampClkTiming(taskHandle,"OnboardClock",3000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,3000));
    DAQmxErrChk
        (DAQmxCfgAnlgEdgeStartTrig(taskHandle,"Dev1/ai0",DAQmx_Val_Rising,0.7));
or will I need to put the trigger on PFI0?

Similar Messages

  • How do I enable multiple profiles to access the same itunes library?

    Family of 4; with 4 different user profiles/log ins.  One family iTunes library; how can I allow all profiles to access the one master iTunes library?

    annafromsalt lake city wrote:
    how can I allow all profiles to access the one master iTunes library?
    move the entire iTunes folder to <MacintoshHD>/users/shared. on each user account, launch iTunes while holding the option(⌥) key, click on choose library when prompted, and select the iTunes folder you moved to the share folder.
    be aware only one iTunes at a time can access the library !

  • How can we enable multiple people to work on the same Xcelsius file

    I want to enable multiple people work on the same file as I am working on. How Can I achieve this task?

    Hi Jain,
    I dont think there is a logic behind your requirement.  If multiple persons are allowed to work on one file, then whose modification has to get saved as a final copy.  Even in MS office documents also, you will be notified/prompted if you are opening at the same time some one else is already working on the same.  Please clarify your requirement more.
    If i presume that if you are talking about the Xcelsius output file such as word, pdf, etc.,. then it is clear that all can open the same file in read only mode except the one who is opening the same First.  Anyhow they cannot modify the SWF contents.  Only header or footer can be inserted.
    Hope this is clear.  Please revert on your exact requirement.
    With best wishes
    BaaRaa.

  • How can I insert multiple page contents in the page layout properly?

    I wanted to create 4 columns on the page layout. These 4 columns are of page contents.
    After creating new web page based on that page layout, I attempted to enter 4 different inputs on all 4 columns.
    Then, the result (from all columns) becomes the same.
    Image - edit the web page based on 4 columns page layout:
    Image - after edit & save:
    How can I insert multiple page contents in the page layout properly?

    First, I copied the HTML snippet for the Page Content on Sharepoint's Design Manger. The code of Page Content HTML snippet is shown below:
    <div data-name="Page Field: Page Content">
    <!--CS: Start Page Field: Page Content Snippet-->
    <!--SPM:<%@Register Tagprefix="PageFieldRichHtmlField"
    Namespace="Microsoft.SharePoint.Publishing.WebControls"
    Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0,
    Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <!--MS:<PageFieldRichHtmlField:RichHtmlField
    FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server">-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)-->
    <div id="ctl02_label" style="display:none">Page Content</div>
    <div id="ctl02__ControlWrapper_RichHtmlField" class="ms-rtestate-field"
    style="display:inline" aria-labelledby="ctl02_label"><div align="left"
    class="ms-formfieldcontainer"><div class="ms-formfieldlabelcontainer"
    nowrap="nowrap"><span class="ms-formfieldlabel"
    nowrap="nowrap">Page Content</span></div>
    <div class="ms-formfieldvaluecontainer"><div class="ms-rtestate-field">
    Page Content field value. Lorem ipsum dolor sit incididuntet dolore.</div>
    </div></div></div><!--PE: End of READ-ONLY PREVIEW-->
    <!--ME:</PageFieldRichHtmlField:RichHtmlField>-->
    <!--CE: End Page Field: Page Content Snippet-->
    </div>
    After I published the page layout, I found the code for Page Content from its ASPX page. The code is shown below:
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/></div>
    So, I attempted to create 4 columns by using 4 HTML snippets of Page Content on the same page layout. The page layout is generated from HTML file to ASPX file.
    Then I edited some parts in ASPX page layout:
    <asp:Content runat="server" ContentPlaceHolderID="PlaceHolderMain">
    <table>
    <tr>
    <td style="width:70px;">&nbsp;</td>
    <td style="width:250px; text-align:right;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:40px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:25px;">&nbsp;</td>
    <td style="width:200px;">
    <div data-name="Page Field: Page Content">
    <PageFieldRichHtmlField:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" runat="server"/>
    </div>
    </td>
    <td style="width:175px;">&nbsp;</td>
    </tr>
    </table>
    </asp:Content>
    The 4 columns for Page Contents appeared on the web page when I created new page using that page layout. But the problem is that all 4 columns displayed the same result from 4th column.

  • How do I have 1 apple id for the family to use in the iTunes and app store and a different apple id for iCloud and FaceTime and imessages

    how do I have 1 apple id for the family to use in the iTunes and app store and a different apple id for iCloud and FaceTime and imessages?

    See also Using your Apple ID for Apple services
    specifically the section "Using one Apple ID for iCloud and a different Apple ID for Store Purchases".

  • How do I make New window open maximized the way it used to?

    How do I make New window open maximized the way it used to?

    { Ctrl + B } opens and closes the Bookmarks Sidebar.

  • How can I know which photos are in the library was used in each album I have created before.

    How can I know which photos are in the library was used in each album I have created before?
    I have many photos in the library folder of iPhoto, but actually I don't know which photos were used in my album.
    Is there any method to find this?
    Thanks.

    Album or Book?
    If Album you can find the ones not already used:
    File -> New Smart Album
    Album -> is not -> Any
    Regards
    TD

  • How do I enable multiple profiles on 1 computer

    I have a family of 4...currenty everyone has at least 1 device. I am running Windows 7. How do I create a User Profile for each user that can still share music and photos?
    I want to be able to limit some explicit music from the kids so I need to be able to adjust each profile.

    annafromsalt lake city wrote:
    how can I allow all profiles to access the one master iTunes library?
    move the entire iTunes folder to <MacintoshHD>/users/shared. on each user account, launch iTunes while holding the option(⌥) key, click on choose library when prompted, and select the iTunes folder you moved to the share folder.
    be aware only one iTunes at a time can access the library !

  • How do you change multiple songs genre at the same time

    How do you change multiple song's genre at the same time with out during them one a time in ITunes  on Windows 8?

    You can select a range of songs by selecting the first, then holding shift when clicking on the last. You can ctrl+click to add or remove from the selection. Once you have a selection press Ctrl+I to Get Info. Type in the new Genre and press OK.
    tt2

  • How to avoid purchasing multiple things that are the same but different titles

    How can I avoid purchasing multiple things that are the same but have multiple names but is the same purchase for the same use?

    "Things"?  What things?  Apps for keeping track of when to change cat litter?  30 different versions of "twinkle, twinkle little star" played by everything from punk rockers to Gregorian chant?  Videos on the best way to make Christmas cake?

  • How do I validate multiple records held in the form?

    I have a form containing a list of records from a base table.
    The records consist of 2 columns, a from and to value. The
    records must specify ranges and those ranges must be in order
    and not overlap. I.e. 1...2, 5...9 NOT 1...4, 3...6. How can I
    ensure this is the case before the user commits any changes to
    the database?
    A When-Validate... trigger doesn't allow me to use built-ins
    like GO-ITEM etc which would allow me to do this. Also these
    triggers will only look at the current record, not the previous
    or next record.
    Any ideas?
    null

    Steve West (guest) wrote:
    : I have a form containing a list of records from a base table.
    : The records consist of 2 columns, a from and to value. The
    : records must specify ranges and those ranges must be in order
    : and not overlap. I.e. 1...2, 5...9 NOT 1...4, 3...6. How can
    I
    : ensure this is the case before the user commits any changes to
    : the database?
    : A When-Validate... trigger doesn't allow me to use built-ins
    : like GO-ITEM etc which would allow me to do this. Also these
    : triggers will only look at the current record, not the previous
    : or next record.
    : Any ideas?
    Hi,
    There is another way to validate each record as and when it is
    created. Create a parameter P1 and created a
    WHEN-VALIDATE-RECORD trigger at block level.. The code I used to
    verify the requirement is follows. Here Col1 is From and Col2 is
    To. You can add more functionalities to it.
    WHEN-VALIDATE-RECORD
    if :col2 is null or (:col2 <= :col1) then
    message(' The numbers should be in order');
    raise form_trigger_failure;
    end if;
    if :parameter.p1 is null then
    :parameter.p1 := :col2;
    else
    if :col1 != :parameter.p1 + 1 then
    message(' The numbers should be in sequence');
    raise form_trigger_failure;
    end if;
    :parameter.p1 := :col2 ;
    end if;
    Hope this will help.
    null

  • How can i create multiple apple ids from the same mac

    There seems to be a limit on how many apple ids can be created from the same cpu. Trying to create 100 apple ids for a client to use on ipads distributed to employees i found i could only create three or four before i got the message account cannot be created, contact itunes support. Had the same problem creating multiple itunes accounts through the App Store.

    I found this discussion because I need to create dozens of Apple IDs for the faculty and staff of the school for which I'm the IT Director.
    This is weak.
    Apple, PLEASE upgrade the Apple ID system so it represents the current needs and paradigm.
    What am I thinking, Apple (like Google) don't follow user discussion forums, except by accident when an employee sees something and is motivated enough to carry the water for users in need.

  • JAX-WS: How to choose from multiple client certificates on the fly?

    I have a webapp that is calling a web service supplied by a vendor. The vendor requires the use of client certificates for authentication, and I have successfully called their service using the PKCS#12 keystore they gave us with JAX-WS 2.2 using code like this:
        System.setProperty("javax.net.ssl.keyStore", "myKeyStore.p12");<br />
        System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");<br />
        System.setProperty("javax.net.ssl.keyStorePassword", "password");The problem is, my webapp will be supporting multiple business units, and the vendor differentiates between our business units by issuing separate certificates for each. So I'm in a quandary: I have four PKCS#12 files, one per business unit, and my webapp will need to decide which one to use at runtime. Moreover, this webapp could be heavily used by many simultaneous users, and thus more than one of the certs may need to be used at the same time. Hence whatever the solution is, it will need to be thread safe.
    I was able to combine all four certificates into a single JKS keystore using the JDK 1.6 "keytool -importkeystore" operation with each of my four PKCS#12 certs, so I now have all four in a single JKS keystore. The above code then becomes this:
        System.setProperty("javax.net.ssl.keyStore", "myKeyStore.jks");<br />
        System.setProperty("javax.net.ssl.keyStoreType", "jks");<br />
        System.setProperty("javax.net.ssl.keyStorePassword", "password");So my challenge now is to programatically select between the four possible certs when calling the vendor's web service. How do I do that with JAX-WS RI 2.2?
    Thanks,
    Bill

    Just to close the loop on this (and for the next person trying to figure out how to do it), I was able to [extend X509KeyManager as described in Alexandre Saudate's blog|http://alesaudate.com/2010/08/09/how-to-dynamically-select-a-certificate-alias-when-invoking-web-services/] . I was then able to set the com.sun.xml.ws.developer.JAXWSProperties.SSL_SOCKET_FACTORY on my JAX-WS request context to use my custom SSLSocketFactory, and it works like a charm!
    Thanks,
    Bill

  • How can I place multiple choice boxes on the same line instead of in a column?

    I know it is possible to place multiple fields on the same line, using drag and drop.
    But to save space, I would like to have 3 or 4 multiple choice boxes next to each other on one line. 
    Is this possible, and if so, how?
    Thanks
    Peter

    You may click on the "+" button to the right of the first multiple choice box to add more in the same line. When you hover over the button, the tooltip says "insert item beside".

  • HT1689 How can I stop multiple automatic downloads of the same item?

    Why does iTunes keep wanting to download the same item over and over again? How do I stop this without turning off the automatic download function.

    You may click on the "+" button to the right of the first multiple choice box to add more in the same line. When you hover over the button, the tooltip says "insert item beside".

Maybe you are looking for

  • How do I get new tabs to open at the end of the tab bar rather than next to the tab i am working on?

    Im running firefox 3.6.12 on a pretty dated computer. Im using Windows XP Home Edition SP3 On previous FireFox editions, opening new tabs from pages Im working on, used to appear at the end of the list of tabs. Now when I open it, it appears right ne

  • How do keywords work in Bridge CS3

    Hello everyone, I have a somewhat strange problem: I try to add keywords to non-Adobe files as to an Powerpoint file or an Openoffice file. Sometimes it works, sometimes I get an error message that Bridge is unable to save XMP-Data ... How does this

  • Can I control character sets?

    Hello all, I'm creating an epub file for the first time, a full-length book. In a few of the chapters, but not all, after I covert to epub, apostrophes are showing up as multiple odd characters. Here's an example: "It's not enough" turns into: "It’

  • CS4 Bridge hoses jpegs

    I needed to use a Jpeg camera original image (created in May 2008) in CS4 and viewed it with Bridge then tried Crtl-R to open it in Camera Raw. The image opened, all the control were there, I brightebed it up a bit and hit OPEN and ... hey - presto t

  • Dvd doesn't load any disk

    hi that's my problem: i tried to load a dvd today. nothing works. the disk doens't load: it stays half inside half outside, I can not put it inside, like if a disk was already indise, but there is not any one. can some one help me please? thanks a.