Selecting physical channel from list with DAQmx

I'm trying to write a simple VI for reading and writing digital data. However, when I have a DAQmx physical channel control, the only options it presents to me are the various analog inputs (and doesn't allow me to type in the port I actually want to use). In other examples, e.g., "Write Dig Port.vi", the apparently identical control instead shows me digital port options rather than the analog in channels. As far as I can tell, there is no real difference between the controls as there is nothing in properties that I can really modify.
How can I get this control to let me choose the channels I want? Or is there some difference in these controls that I am not aware of?

The channel lists adapts to the type of DAQmx Create Channel that you use. Do you see the text below the DAQmx Create Channel? If your channel is displaying only analog input channels, then the DAQmx Create Channel type is AI Voltage. If you want to use digital input channels, change the type to Digital Input. Click on the little arrow on the right side. This is called a polymorphic VI selector. You can do the same thing by right clicking on the VI and do a Select Type.
Mark has a good point. If you change the type of DAQmx Create Channel and you already have a physical channel wired, you will have to go to I/O Name Filtering to change the channel types displayed. If you change the DAQmx Create Channel and then create a channel control by selecting Create Control, you'll get the correct type automatically.
Message Edited by Dennis Knutson on 03-11-2008 12:12 PM

Similar Messages

  • [svn:fx-trunk] 10943: Fix to dragging from List with multiple-selection

    Revision: 10943
    Author:   [email protected]
    Date:     2009-10-08 15:46:27 -0700 (Thu, 08 Oct 2009)
    Log Message:
    Fix to dragging from List with multiple-selection
    - The fix is to postpone the selection commit until we make sure the user has not started a drag gesture.
    - Exclude the dragEnabled, dropEnabled, dragMoveEnabled properties for DropDownList
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Deepa
    Tests run: checkintests, mustella List, DropDownList
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

  • VB6 NI-USB-9237 DAQmxCreateAIVoltageChan selected physical channel does not support the measurement type required

    I have a VB6 program with code that properly reads analog inputs from an NI-USB-6008.
    I tried to re-use the code for a strain-gage module NI-USB-9237, but at the DAQmxCreateAIVoltageChan step I get the following error:
    "Measurements: Selected physical channel does not support the measurement type required by the virtual channel you are creating.
    Create a channel of a measurement type that is supported by the physical channel, or select a physical channel that supports the measurement type."
    Should I be calling a function other than DAQmxCreateAIVoltageChan?
    If so, what is it, or where can I find the reference for such functions?
    Or - if that is the right function, should I pass different arguments?  Currently I'm calling:
    DAQmxErrChk DAQmxCreateAIVoltageChan(taskHandle, "Dev1/ai1", "", DAQmx_Val_Cfg_Default, -10, 10, DAQmx_Val_VoltageUnits1_Volts, "")
    Thanks in advance for your help
    -Chris Hardy
    Solved!
    Go to Solution.

    I figured it out from 372251a.PDF
    First, the correct function is DAQmxCreateAIVoltageChanWithExcit
    Second, you can't just ask for one sample on one channel - ask for 2 samples instead.
    -Chris Hardy

  • Error: Validity of Certificate from list with PSE type PSE ends in 3 da

    Hello,
    our system is reporting the followin warning
    Error: Validity of Certificate from list with PSE type > PSE < ends in 1 days, more notes on system log (SM21)
    We check the transaction STRUST and STRUSTSSO2, the certificate between ERP and EP expires today. The ERP system is SAP R/3 Enterprise and EP release is 6.20
    Please how can we create the certificate in that releases of SAP ERP and EP, we only found information about this procedure in the newest releases.
    Thanks

    Hi
    Is the SAP Logon certifiacte goiogn to expire??From Portal to ERP??
    If this is PSE then follow this [Link.|http://help.sap.com/saphelp_nw2004s/helpdata/EN/a6/f19a3dc0d82453e10000000a114084/frameset.htm]
    Regards
    Ajay

  • Updatable View issues:  cannot select FOR UPDATE from view with DI

    Hi All,
    I have a simple view XY and an instead of trigger on that to insert data into one table which is used in the my view. When I do insert statement on view XY it is working fine from sql but when i used same thing with page process of " Process Row of XY Automatic Row Processing (DML) " i am getting following error. I am using APEX 3.0 . Please help me.
    ORA-20001: Error in DML: p_rowid=xxxx, p_alt_rowid=abc, p_rowid2=, p_alt_rowid2=. ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    Thanks

    James,
    are you already on 3.0.1.00.07 or 3.0.1.00.08? Have a look at the release notes, it says something about a bug fix for some occurrences of ORA-02014.
    Also have a look at the new substitution value/item FSP_DML_LOCK_ROW which turns locking off if you set it to FALSE. See http://www.oracle.com/technology/products/database/application_express/html/3.0.1_readme.html#CHDIDIAF and also http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BCGFDAIJ
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Selecting multiple rows from List-component

    Hi
    Could someone give me an example how to programmatically select multiple rows from List-component?
    I know that this selects one row: lst_example.selectedIndex = 1;
    But how about selectin indexes 1,2 and 4 for example?

    selectedIndices
    A Vector of ints representing the indices of the currently selected item or
    items...
    var si:Vector.<int> = new Vector.<int>;
    si.push(1);
    si.push(2);
    si.push(4);
    list.selectedIndices = si;

  • How to select value from list with multiple selections ?

    HI,
    i have a list with multiple selections where i show email address retrieved from database.
    what i want to do is to send the selected email address to the invoiceedit.jsp.
    please look at the following code which gives you the better idea.
    <td class='smalltext'><select name="email" size="3" multiple="multiple">
       <% 
       Connection conn = null;
       Statement stmt = null;
       Statement stmt_contactperson = null;
       Statement stmt_address = null;
       try{
          conn = getREConnection();
           stmt = conn.createStatement();
       ResultSet rs = null;
       rs = stmt.executeQuery("SELECT PROPERTYID, VALUE FROM PROPERTIES WHERE ENTITYID="+ g_strGroupID+" AND NAME = 'invoice_default_email'");
       int numofrows = 0;
       while(rs.next())
               %>
       <option value="<%= rs.getString("VALUE") %>" selected="selected"> <%= rs.getString("VALUE")  %> </option>
        <%
           }//end of while
          %>
         </select>
        <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&add=1"><font color="#000000">Add</font></a>
         <a href="invoiceedit.jsp?entityid=<%=g_strGroupID%>&email_to="><font color="#000000"> Edit</font></a> </td>thanks

    Use a form button instead of a link so that you can send it as a request parameter to the server. In the server side just use HttpServletRequest#getParameterValues() to obtain all values for the given parameter name. If you really need a link rather than a button, then use Javascript to submit the form on click of the link.
    That said, your design is bad. Java code belongs in Java classes, not in JSP files. Database access logic belongs in a DAO class. Business and controlling logic belongs in a Servlet class. Only presentation logic belongs in the JSP file. Avoid scriptlets as much as possible and use JSP EL and/or JSTL instead.

  • Selected physical channels to array

    I would like that after select several channels of differents devices (with DAQmx Physical Channel component), this selected channels will be put in the array.
    I look for forum but I didn't find anything.
    If somebody already tried to do this, please send me suggestion.
    Thx for all
    Look in the attached picture.
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    physicalchannel.JPG ‏39 KB

    Chris,
    Now you will understand what I want. I didn't expressed well. Look for attached VI
    Leonardo de S. Cavadas
    Maintenance Engineer and Inspection - Bureau Veritas do Brasil
    Engineer Metallurgist with emphasis in Advanced Materials
    Technologist in Computer Science
    Attachments:
    physicaltoarray.vi ‏11 KB

  • How to select multiple rows from List Of Values

    Hello,
    I use ADF 11g to create my list of values (LOV). I want to select multiple rows from it. but i can't.
    so how i can select many rows to set them in my adf table.
    Thank in advance

    Hi,
    LOV is map to an attribute in the viewObject so it will return only one value or more values from selected row. You can't select multiple rows from LOV.
    But you can do this by using popup which you can select multiple rows and insert the selected rows to another table.
    This blog post explain how to achieve this :
    http://husaindalal.blogspot.com/2009/11/search-from-popup-and-add-to-new-table.html#comments
    Sameh Nassar

  • How to select physical channels to save?

    I'm in the beginning of implementing a new program.
    The first issue is to get a list of all available devices and channels, and then mark the channels I would like to save datas from.
    This input from the user should then act as an input to the "save data to file" part of the program.
    Is there any suggestions how to do this?

    Thank you for your feedback.
    I'm not sure how to implement the scan list you are referring to.
    What I have done so far, is to create an array of all the available channels. Attached is the program for this.
    What is desireable is to have a select function like the one I found a picture of in the forum. See attached picture.
    How can pick out the elements in the array and write them into this box?
    Thanks in advance for all answers
    Attachments:
    Devices and channels.vi ‏27 KB
    channel control.jpg ‏17 KB

  • N Channel independent configuration with DAQmx

    For an application, where I need to give the user, the options of configuring 8 analog channels independently, what would be the best way to go ? ( He needs to set the min, max values, samples and acquistion type - SE, Diff etc )
    Use 8 sets of "DAQmx CreateChannel( AI_Voltage_Basic)+ DAQmx Start Task + DAQmx Read VIs" or is there a VI which does this configuration as a single sub-VI ? I have searched enough to find one such.
    Any ideas that can provide a compact solution would be welcome.
    Thanks
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Sean C. wrote:
    Hello Raghunathan,
    ...you will have to create a Task with all channels you want to modify, then pass that Task to a Channel Property Node. You can then set the options for each channel independently. ...
    See the attached VI for an example of this.
    I hope this helps,
    Sean C.
    Applications Engineer
    National Instruments
    Dear Sean,
    Thanks.
    I guess I got your point. Let me repeat the steps - just to make sure:
    1. In the example sent by you, create the required properties for all 8 channels using "add element".
    2. Give a descriptive name for each channel.
    3. Next click on each node and select "Create Control". This will provide the required user control on the panel.
    4. Group all properties for each channel ( min, max,type,etc) properly and lay them out neatly.
    5. Finally pass the duplicate reference out of this synthesised proprty node to a DAQmx Read VI.
    Is that right ?
    Now I think I sort of realise the power of DAQmx VIs.
    Regards
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

  • Select a link from list of links in web page

    I'm new to OATS. Please help me. I want to click a link from a list of links. I'm testing a web page and try to create a functional test script.

    you can also use regular expression. For example if you know a keyword (unique) in your link, the try with follows:
    String linkText = "myLink";
    web.link("/web:window[@index='0' ]/web:document[@index='0']/web:a[@text='*"+ linkText +"*']").click();
    Regards,
    Deepu M

  • Select multiple columns from tab with group by

    hi
    i have a table with many columns suppose in that i have 2 columns as date and time
    and in my table i am getting suppose data like
    columns -> date time a b c
    22-may-2207 10
    22-may-2207 17
    23-may-2007 5
    24-may-2007 12
    24-may-2007 15
    i want to select all columns with data with unique data with max of time for that particular date
    answer :-
    22-may-2007 17 a b c
    23-may-2007 5 a b c
    24-may-2007 15 a b c
    with all other cloumns also with this
    plz help me i am trying too much and not able to solve this.

    try this
    select datecol, timecol, a, b, c
    from (
    select datecol, timecol, a, b, c,
            rank() over(partition by datecol order by timecol desc) rn
    from my_table
    where rn = 1
    order by datecol;Message was edited by:
    Jens Petersen

  • Select audio channels from a video

    I have imported a video in Audition CC.
    The video is an H264 with 4 audio channels.
    How can I select a specific channel that I want to later export in MP3?
    Only the first channel is visible in Audition CC.
    Thank you.

    In the Files pane, there is only one audio item along the video item.
    Handbrake sees the 4 audio channels and allows me to export the channel I want.
    I wonder if Audition can do the same.

  • Select email address from list

    I use a button in a form with a control type submit and a mailto: in the submit box. I'd like the email address following the mailto: to be picked from a drop down (in other words chosen by the user). Can someone offer some guidance on how to do that? Thanks,
    Josh

    http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/FieldSubmitURL.pdf
    This is exactly what you are doing.
    Hope this helps!

Maybe you are looking for

  • Date & Time doesn't open

    This just happened 1 or 2 weeks ago. I go to System Preferences > Date & Time, and it doesn't open. The quote below is the error. Please help me. Is this the right thread to ask? Where can I post this or report this? Process:         System Preferenc

  • Print Grid View

    I have 300+ movies in iTunes and would like to print a catalog of the artwork/titles exactly how Grid View displays it in iTunes. I know I can print an album list using the print menu, but that would take way too much paper. I can't seem to find any

  • How to achieve black border around a logo

    Hello, I am trying to do a parody of a Top Gun logo and have it done except for the border around the image. I know this is probably very simple and I've googled it but can't figured it out. Here is an example: http://www.redbubble.com/people/tgigree

  • FIX for battery draining quickly. Turn off push for FACEBOOK

    I thought my iphone battery must be getting old, as my battery would only last half a day despite less than 1 hr of usage. But after some investigation in the preferences, I turned off Facebook push and back to half battery after a whole day outside

  • Application Logging Using ADFLogger

    Hi All, I have some things to clarify about ADFLogger. Currently I am using JDev 11.1.2.0.0. 1. How can we customise the Message pattern. Can I add more patterns to Message(e.g: Added "Logged user of the Application" for the logging message) 2. How C