How to get GPIB Primary Address

I'm using a device with a NAT9914 chipset and I would like to read the address from a register on the chipset. Is it possible? The only address register in write-only...
Thanks,
Michael

The best way to find the primary address (PAD) of the chip is to store it in a variable that can be accessed later. The ADR register is write-only and there are no status registers that have this information.
Randy Solomonson
Application Engineer
National Instruments

Similar Messages

  • How to programming for GPIB Primary Address 0 and 31?

    Hello. How to programming for GPIB Primary Address 0 and 31?

    Make sure no other instruments are at addresses 0 and 31. National Instruments GPIB controllers default to primary address 0, so if you want to use an instrument at primary address 0, you should change the address or your controller. You can do this by using the ibpad function.
    NI-488.2 Function Reference Manual for Windows

  • How to get the Delivery address for PO

    I have a problem.
    I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of
    MEDRUCK.
    I am asked to print the delivery adress in a window .
    The scenario is like this .
    In ME23N , under item details , there is a tab called DELIVERY ADDRESS
    this has option to enter the adress details or a delivery number in the  address text box .
    If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.
    If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,
    is it the plant address, company code address ... ?
    I debuged ,but could not find out.
    Can anyone help please .

    Hi,
    try using the below method:
    Goto TWLAD table with storage location (EKPO-LGORT) as key to get address number (ADDRNUMBER).  then goto ADRC table to get the address of the delivery
    Regards
    Shiva

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • How to get Client IP address in oracle apps. Are there any API's.

    hi,
    I have one query
    ->How to get Client IP address in oracle apps. Are there any API's.
    regards,
    krishna

    Hi,
    this is very usefull
    however are this data stored on the db or is only a temporary view?
    I would like to have to keep track of all client connected.
    Thanx a lot

  • SAP Cloud For Customer How to Get the IP Address of Tenant

    Hi Experts,
    I need to know how to get the IP Address of our cloud Tenant ?
    Can anyone know please tell me the process.
    Many Thanks
    Mithun

    Hi Mithun,
    In my understanding there SAP will not share IP address of tenant. If this is really urgent you should discuss to SAP Partner coach or any other representative. SAP network team will not directly communicate with you, this will require numerous approval inside SAP itself.
    Thanks
    Sunil Maurya

  • How to get the Primary key from  Synonym

    Hi ,
    I want to get the Primary Keys for my tables . I used
    java.sql.DatabaseMetaData databasemetadata = connection.getMetaData();
        ResultSet rs = databasemetadata.getTables(null, null, "%", null);
    rs.next();
        System.out.println(" TABLE_CAT "+ rs.getString(1));
        System.out.println(" TABLE_SCHEM  "+rs.getString(2));
        System.out.println(" TABLE_NAME "+rs.getString(3));
        System.out.println(" TABLE_TYPE  "+rs.getString(4));
        System.out.println(" REMARKS "+rs.getString(5)); gives :
    TABLE_CAT null
    TABLE_SCHEM PROGRESS
    TABLE_NAME ApplicConv
    TABLE_TYPE SYNONYM
    REMARKS null
    Now if I use :
      rs = databasemetadata.getPrimaryKeys(null,"PROGRESS","Applicconv");
      System.out.println("Is result set Non empty "+rs.next()); gives :
    Is ResultSet non empty false .
    Can you tell me why this result is empty? Is it because of my table is a Synonym?
    If it is Synonym how to get the primary key ?

    You can use DatabaseMetaData#getPrimaryKeys.

  • How to get the IP address of a new stream?

    Can anyone tell me how to get the IP address from which a newly detected RTP stream is being sent, especially when a NewReceiveStreamEvent is posted? Or, is it possible to do so?
    Thanks in advance.

    My RTPConnector follows the example from the JMF home page here: http://java.sun.com/products/java-media/jmf/2.1.1/solutions/RTPConnector.html
    I have not done any measurement regarding the performance of my RTPConnector implementation compare to that of the default but I did find some way to deal with the bursty nature of the default RTP transmission which caused some problem with 3rd party apps that don't handle jitter well. I created a 20ms timer that acts as a gatekeeper that allows the transmitter to send RTP packets. Unfortunately Java timers aren't very precise.
    I also improved upon (I think I did anyway) the efficiency of the default (IBM) ULaw encoder as discussed here: http://forum.java.sun.com/thread.jspa?threadID=597011
    My problems with performance issues were mainly in the speed at which processors and players are created and realized on slower PC's.

  • Setting GPIB primary address 31

    I'm adding a GPIB interface to my existing VC++ 6.0 Windows app using NI's NI-488.2 device driver. I understand that valid primary addresses (PAD) are 0 to 30. However, I have one customer with an HP8569A that expects to plot to GPIB PAD 31. This address is evidently hardcoded into the 8569A with no way to change it.
    If I try to set PAD 31 in NI-488.2 I get an EARG error, which is understandable. My question is this: Can I set PAD 31, ignore the error produced, and have NI-488.2 respond to PAD 31 data? In other words, would NI-488.2 respond to PAD 31 the same way it would respond to say PAD 30?
    Thanks,
    Mike

    I'm not sure that this is possible. What addressing command byte does a device at PAD31 expect? When addressing a device at PAD30 to listen, NI-488.2 will send 0x3E. The command byte that would be associated with making PAD 31 listen is 0x3F. 0x3F is called the "unlisten" message. This will cause all devices addressed to listen to transition out of the listening state.
    I know that NI-488.2 will not handle the PAD 31 device, nor do I know how any other driver could handle it. You could try using board-level calls and do the addressing yourself with ibcmd.
    Is the device possibly using secondary addressing? Is it possibly using PAD 30 with SAD 1?
    Craig A
    National Instruments Engineer

  • How to get the PRIMARY KEY of a table at runtime ???

    Hi everybody,
    My requirement is to update a z-table at runtime according to the data given ata runtime. So the main difficulties for me is that whenever I tried to update the table based on the data given in UI many rows are getting updated as these fields are not unique. So I think if I can get the PRIMARY KEY along with these given fields then I can update only one row at a time.
    So Can anyone suggest me how to get PRIMARY KEY of a table based on the data in UI..??
    Any suggestions will be appreciated..
    Thanks,
    Sekhar

    U will get primary keys of transparent tables using FM "REUSE_FIELDCALATLOG_MERGE".
    pass tyour table name and u will get fieldcatalog filled. In tht their is a field called "KEY" if it has 'X' then tht field is a primary key of transparent tables & if it has "space" then it is not a primary key...
    Or else you can try with 'DDIF_TABT_GET'
    Or try this code
    PARAMETERS: p_table TYPE tabname OBLIGATORY.
    DATA: go_strucdescr   TYPE REF TO cl_abap_structdescr,
          gt_tab_fields   TYPE ddfields.
    FIELD-SYMBOLS: <gwa_tab_field> TYPE dfies.
    TRY .
    *   Get the details of the DDIC table
        go_strucdescr ?= cl_abap_elemdescr=>describe_by_name( p_table ).
      CATCH cx_sy_move_cast_error .
        MESSAGE 'Error while casting' TYPE 'S'. RETURN.
    ENDTRY.
    * Check if input is a DDIC table
    CHECK go_strucdescr->is_ddic_type( ) = 'X'.
    * Get the details of the table fields
    gt_tab_fields = go_strucdescr->get_ddic_field_list( ).
    * Display the Key fields of the table
    LOOP AT gt_tab_fields ASSIGNING <gwa_tab_field> WHERE keyflag = 'X'.
      WRITE: / <gwa_tab_field>-fieldname.
    ENDLOOP.

  • How to get static IP address in adobe 2.0 beta ?

    Actually I am trying to get the static IP address as soon as the
    internet is connected .How to get the static IP address from air application ?
    Regards,
    Rahul.

    Try this (you need AIR 2 SDK):
    var interfaces:Vector.<NetworkInterface> = new Vector.<NetworkInterface>();
    interfaces =  NetworkInfo.networkInfo.findInterfaces()
    for each (var netf:NetworkInterface in interfaces)
                          var addresses:Vector.<InterfaceAddress> = netf.addresses;
                          for each(var interfaceAddress:InterfaceAddress in addresses)
                                             trace(interfaceAddress.address);

  • How to get the IP address of smtp server?

    For A record in DNS, we can use Java API InetAddress.getHostAddress() to get the IP address.
    But for mx record, how to get the IPaddress?

    If you know the hostname of the MX record (eg. mail.somehost.com), you can still use the InetAddress.getByName(hostname).getAddress()
    If you don't know the specific host name you can do a DNS lookup directly:
            String host="somehost.com";
            DirContext ictx = new InitialDirContext();
            Attributes attrs = ictx.getAttributes("dns:/" + host, new String[]{"MX"});This will give you a javax.naming.directory.Attributes object from which you can...
    Attribute att = attrs.get ("MX");This will give you all the MX records for the domain. To get the IP address of the MX hosts, you need to parse the record String returned. Usually something like:
    somehost.com       MX preference = 10, mail exchanger = mail.somehost.comParse out the mail.somehost.com and use:
        String mailhost = <Parse MX record here>
        InetAddress host = InetAddress.getByName(mailhost);

  • Reg : How to get the company address in Crystal Report

    Dear members,
    I am stuck up with problem in Crystal Report in my project. I want to get the company address in the Crystal Report. How can i get the company address in the crystal report. Hope i will get help in this regard.
    Thank you.
    Regards,
    Venkatesh Rajagopalan

    Hi Dear
      plz send me  what is your methad to applay,
    so i am sending u code   for company address
    all company information  contain the OADM table ,
    so applay the select query  ang get the data form table
    this ia sample code ........
      SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    string GetComp = "select * from OADM ";
                    oRecordset.DoQuery(GetComp);
                    strCompName = oRecordset.Fields.Item("CompnyName").Value.ToString().Trim();
       Use this code  u will find the company name
      and after  that pass this valu a parameter
    oRPT.SetParametervalue ("CompanyName", strCompanyName)
      so pass the strCompanyName  as a parameter in the  cdrystel report.
    hope  help this code ,
    if u have any problem so plz send me  question in form,
    if u r  satisfied my answer so pl give me rewards point,

  • How to obtain GPIB my address

    All,
    Does anyone know how to obtain the GPIB controller address of the GPIB0,
    GPIB1, etc using a VISA function? I know the default address value is 0 in
    NI and 21 in Agilent, but this value can be changed by the user and the
    assumption should not be applied in app.
    makoto

    The attribute VI_ATTR_RSRC_NAME should give you the interface address and type.
    Makoto wrote:
    > All,
    > Does anyone know how to obtain the GPIB controller address of the GPIB0,
    > GPIB1, etc using a VISA function? I know the default address value is 0 in
    > NI and 21 in Agilent, but this value can be changed by the user and the
    > assumption should not be applied in app.
    >
    > makoto

  • How to get the memory address of an array (pointer in C)?

    I am writing an application that exchanges data with a PXI device via DMA.  Basically I will provide it a memory address and a direction, and it transfers the data.  I would like to give it the memory location of an array in LabVIEW, but I do not know how to get the memory location without doing a DLL call to C code that returns the pointer.  Is there an easy way to do this in LabVIEW?  Any help is much appreciated.

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

Maybe you are looking for

  • How to Change Default Colors in Linux

    Hello All, and thanks in advance. I wanted to know how can I change the default colos in Linux, so that they resemble the Windows's one. For example I want to change the blue-green bg color in linux to a gray.

  • Duplicates in iTunes after a sync

    I am having the trouble that when I sync my iPhone and my iTunes account on my new computer.  when I couple of times I synced my library duplicated and my ring tones and playlist disappeared.  So, now I have close to 500 duplicates in my music librar

  • Photoshop CS5 crashing when printing on a mac

    I was wondering if anyone has come across the following problem and can help me out. When sending my a document to print Photoshop closes and I get the following error message. If anyone has seen this before and has any suggestions i would be greatly

  • Custom web service in SharePoint 2010

    Hi, I have developed one custom web service and deployed in inside 14 hive Layout folder. I have to consume this custom web service in WCF REST services. This WCF REST service will be consumed in to HTML 5 and javascript application (Presentation Lay

  • Reg Number of elements at this level and Variables

    Hi Experts, What is the purpose of Number of elements at this level in the dimensional hierarchy of BMM layer on what basis default it will show 1 if we change this value into 2 what happens . Difference between non system session variables and dynam