How to read the gain list of a DAQ card from labview?

Hi,
Its known that you can set the gain of an ADC of a DAQ card by setting the high and low values.
Different cards have got different signal ranges corresponding to different gains.
My question is ... Is it possible to read the gain list of a DAQ card from labview?
It is definitely possible to read the signal ranges available for the device. It would be very helpful if some one can tell me the method to read the gains corresponding to the signal ranges.
(Even the device specification provides only the signal range but not the gain corrsponding to it )
Thanks
Message Edited by Vsh on 04-08-2008 03:50 AM

Hi Vsh,
It appears that you have found the gains applied for the various ranges (I assume from the user manuals).  So if I understand your question correctly, you are looking to poll the card for the current gain (or the various gains available)
Because DAQmx selects this for you (unlike Traditional DAQ), there is not a way to poll directly. If you want, you could poll the min/max values and then use this to figure out the range setting (and thus the gain).
Please refer to this post, it gives more information about the gains/ranges in general.
I would suggest putting in a product suggestion if you would like this feature.  Those go into the decision making process for our R&D team, meaning they actually do look at them.  If you wish, I can submit a suggestion internally was well for you, that way your suggestion gets 2x the exposure.  Let me know if you want me to do this.
Neal M.Applications Engineering       National Instruments        www.ni.com/support

Similar Messages

  • How to Read the Timestamp of a File on Unix from Form?

    If you have a file located on UNIX operating, what is the best way to read the time stamp (the date that file has been created) of that file from Oracle SQL, SQL*plus, or Developer Forms 6i/9i/10g?

    Thanks Robin for the reply! Your suggestion seems to be good!
    However, We found a solution now! I would like to share with you the way we did, in case anyone out there need the solution:
    In SQL*Plus, we created a Java Source below:
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "FileDate"
    AS
    import java.io.File;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    public class FileDate {
    public static String GetDate(String strFilePath) {
    String ReturnValue = null;
    if (strFilePath == null || strFilePath.length()==0)
    // do nothing
    else
    File aFile = new File(strFilePath);
    if (aFile.exists())
    long lngTime = aFile.lastModified();
    Date aDate = new Date(lngTime);
    SimpleDateFormat fmtDate =
    new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
    ReturnValue = fmtDate.format(aDate);
    fmtDate = null;
    aDate = null;
    aFile = null;
    return ReturnValue;
    -- Then we created a wrapper to call the Compiled Java above:
    CREATE or REPLACE FUNCTION FileDate_GetDate(FilePath IN STRING)
    RETURN VARCHAR2 IS
    LANGUAGE JAVA
    NAME 'FileDate.GetDate(java.lang.String) return int';
    -- Then we created a database package:
    -- Package Spec:
    PACKAGE sap_dnld AS
    FUNCTION get_file_date2 (s1 varchar2) RETURN VARCHAR2;
    END sap_dnld;
    -- Package Body:
    PACKAGE BODY sap_dnld AS
    FUNCTION get_file_date2( s1 VARCHAR2 )
    RETURN VARCHAR2 AS LANGUAGE JAVA
    NAME 'FileDate.GetDate(java.lang.String) return int';
    END sap_dnld;
    -- Then we tested the whole thing in SQL*Plus:
    set serveroutput on;
    declare
    x varchar2(2000);
    begin
    x := sap_dnld.get_file_date2;
    dbms_output.put_line(x);
    end;
    -- Then we called the function from the package using a procedure from the form:
    PROCEDURE Find_date IS
    BEGIN
    :control.file_date := sap_dnld.get_file_date2('directory1/subdirectory/filename.txt');
    END;

  • How to read the number of pending and delivered messages from a Queue

    Hi
              Can anyone please tell me that how to peek through a queue to get the total number of messages pending and number of messages delivered from a Queue.
              I just have to peek through the queue and I do not want to process the messages.
              Any code snippet or guidance would be of great help.
              Thanks
              Raj

    Use WebLogic's JMX/mbean management APIs directly, or tools that access these APIs such as the weblogic console, the WLST scripting language, or the weblogic.Admin command line. There are JMX examples on dev2dev.bea.com (including a program called JMSStats.java).
              For programming convenience, JMS provides a helper method to get the destination runtime stat mbean:
              weblogic.jms.extensions.JMSHelper#getJMSDestinationRuntimeMBean()
              Tom, BEA

  • How to read the source code

    Hi,
    I want to know how to read the source code of web dynpro java from the source folder i.e. without loading the project in NWDS. Please answer me as soon as possible.
    Thanks & Regards,
    Aniruddha

    Hi,
    If you are using DC's then you can find the .Java files in the path
    <project Name>\_comp\gen_wdp\packages\<Pacjage>\<ComponentName>\..
    In the above path you can find the Java files of the controllers.
    Thanks,
    Raju Bonagiri

  • How to read the whole name of a music title while scrolling down a list of titles? With the new iOs7 Music App there is no more black box showing the entire name!

    How to read the whole name of a music title while scrolling down a list of titles? The old software-app had the function to click for a longer time on a titles beginning letters until a black box revealed the entire name. I miss this function especially for my classical music, because lots of pieces start with similar words. E.g.:
    "Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 1"
    "Beethoven: Variations On "Ein Mädchen Oder Weibchen", Op. 66 - Var. 2"
    Scrolling in a list of title, I can't distinguish the titles, because just the first words are shown followed by: "...".
    That's horrible!

    Or you could include a width to your body style:
    body {
    background-image: url(Logo/sky1.jpg);
    background-position: center center;
    background-attachment: fixed;
    width: 75%;}
    It might work or not depending on your other color scheme.

  • How to read the selected value of a dropdown list box

    Hello,
    I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
    I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
    I dont know how to trap the selection made on dropdown list.
    PLease guide me on how to trap the dropdown list field selection value.
    Thanks in advance.
    Thirumala.

    Hello,
    Check what is done in standard for the fielf REGION which is inked to the country.
    Otherwise, you can do the following :
    - in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
    - Put the new value in a global variable (GV).
    - in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
    Hope this will help you,
    Regards,
    Frederic

  • How to use the Pull List in Discrete Scenario?

    Hi Gurus,
    I am using pull list MF60 in REM.
    How to use the Pull List for creating material reservations in Discrete Scenario also?
    Anyone used this Pull list in discrete, pl share.
    How is helpful in discrete scenario?
    Srini

    Hello,
    You can use Pull list for st.location transfers, if you are into WM managed then this pull list used a lot.
    You can use the pulllist to the max. extent. But with IM managed plant the use is limited and this is used only for storage location transfers.
    Issue cannot be done for Production orders. You can bring the materials to the req. storage locations and after that you have issue in the order or manually for the order.
    Regards,
    Manick.

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • How to get the whole list of Iview Templates

    Hi,
    when I navigate:
    Portal Content -> Content Provided by SAP -> Templates -> Iview Templates
    I get a long list of templates including Url Iviews etc
    But, when I try to create my own Iview, the list of potential templates is much smaller, mainly including only the SAP related templates, BSP, Query, ITS etc.
    Does anyone know how to make the full list of Iview Templates available for the Iview creation wizard ?
    Thanks,
    Tomas.

    Hi Tomas,
    which iView templates are offerd within the iView creation wizard is determined by SystemAdmin -- Permissions -- Portal Permissions -- Applications.
    Normally, you will have to have SuperAdminRole to see/change these settings.
    Hope it helps
    Detlev
    PS: Please consider to reward points for helpful answers. Thanks in advance!

  • How to read the Lead Selection in Search UIBB

    Hello,
    I have a Search UIBB implementation with the list from Search UIBB.
    When the user double click any line in the List we want to call another program.  Not sure how to read the Lead selection. I see the event ID FPM_RESULT_LEAD_SEL  in Process_Event method and GET_DATA method but not sure how to get the actual line.
    Thanks in advance for any help.
    Regards,
    PK

    Hi ,
    method IF_FPM_GUIBB_SEARCH~PROCESS_EVENT.
    CASE IO_EVENT->MV_EVENT_ID.
    WHEN  IF_FPM_GUIBB_SEARCH=>FPM_RESULT_LEAD_SEL.
      READ TABLE   IT_RESULT_LIST  into  IS_RESULT_LIST index IV_LEAD_INDEX.
    ENDCASE.
    Where  IT_RESULT_LIST -> is the internal table of   ET_RESULT_LIST( This can be declared in attributes section and assigned value in GET_DATA method )
      IS_RESULT_LIST-> is a structure of type  table  IT_RESULT_LIST.
    IV_LEAD_INDEX has to be created at attributes section and the value of the selected row of type I can be assigned in IF_FPM_GUIBB_SEARCH~FLUSH method for the same event.
    Regards,
    Harsha

  • How to enable the full list of developer options on A806?

    How to enable the full list of developer options
    Moderator note:Moved from http://forums.lenovo.com/t5/Lenovo-Android-based-Tablets/No-Animation-speed-options/td-p/1359241
    Edited & created a new thread.

    -Go to menu, settings,
    -about phone
    -scroll to the bottom and find "build number"
    -tap it 7 times (upon completion, it will say that you're a developer)
    -the menu is now near the bottom of the main settings menu (just above about phone)

  • How to get the users list that can Add/Remove or modify Vendors in Oracle?

    How to get the users list that can Add/Remove or modify Vendors in Oracle?
    I need to generate a report like name and responsibility. Thanks

    That query gives the Supplier information.
    But what i would be needing is to find out the USERS in oracle who can Add/Modify or Remove Vendors.
    I assume it should be based on the Responsibility.

  • How to maintain the contact list in the phonebook when i change my sim card

    how to maintain the contact list in the phonebook when i change my sim card

    The SIM has not affect on the contacts in an iPhone. Unlike other devices, the contacts are not maintained on the SIM card.

  • How to read the BOL of confirmed BP on IC?

    Hi Experts,
    Could you tell me (or send me a piece of code) how to read the business partner number and address of the confirmed BP on Interaction Center?
    What is the right BOL object? Where is this data stored? How can I gain this information in runtime?
    Thank you for your reply!
    Best regards,
    Levente

    hi levente,
    here my piece of code
    data:
       lv_number     TYPE BU_PARTNER,
       lo_gdc           TYPE REF TO IF_CRM_UI_DATA_CONTEXT,
       lo_customer  TYPE REF TO if_bol_bo_property_access.
    * get GDC
    lo_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
    check lo_gdc is bound.
    *  get confirmed customer of GDC
       TRY.
          lo_customer = mo_gdc->get_entity( if_iccmp_global_data_cont_con=>gdc_currentcustomer ).
          lv_number = lo_customer->get_property_as_string( 'BP_NUMBER' ).
         CATCH cx_root.
       ENDTRY.
    best wishes,
    hakan

  • How to read the Hierarchal values in the Profiles ?

    Dear Experts,
                             in the Transaction SU01 when i clicks on the Profile , the Tree List is appearing in the hierarchy. i want to read the values. how can i approach that?
    i can able to get the profiles from the FM  'BAPI_USER_GET_DETAIL' . so i had the profile with me, then how can i read the Hierarchal list for that Profile?
    please do the needful.
    Regards,
    Murthy.

    Hi Murthy
    You can check information directly at table AGR_HIER
    Kind regards

Maybe you are looking for