I'm using the cw gpib control with several

intruments. Is there a way to find the
number of listeners and their addresses using the controls, or
do i have to make calls using the gpib api library?

You have to make calls to the GPIB API to do bus commands like FindLstn, etc. The ActiveX control is designed for communicating with GPIB devices, not managing the GPIB bus. There is an example that ships with the NI-488.2 driver for Visual Basic called Query4882 that can show you how to use FindLstn from the driver API.
Best Regards,
Chris Matthews
Measurement Studio Support Manager

Similar Messages

  • Using Visa "resource name" control with GPIB example

    good morning
    I have in my pc two resources of GPIB (Ni-Enet and HP-HPIB card) each one has differet VISA name (ie:GPIB0,GPIB1)
    means Ni-Enet is GPIB0 and HP-HPIB card is GPIB1.
    I tries to use the example Labview<>GPIB to communicate with GPIB1 but it failes
    because the address given (string), to the gpib write object is a string and it recognized only the GPIB0 addresses
    i tried to use the "visa resource name" control (used in the example Labview<>Serial)
    in the Labview<>GPIB example but it failed. ("visa resource name" shows all resources includes GPIB0 nad GPIB1)
    tell me pleae how to use the Labview<>GPIB example to communicate with the equipment addresses used in GPIB1
    a bit long , but hope the issue is clear enough..
    thanks in advance
    Happy new year.
    Simon

    You can't use that example with an Agilent GPIB board. The GPIB functions are only for NI boards and the NI-GPIB driver. You should be able to convert it to VISA but you'll have to replace the GPIB Writwe/Read with VISA Write/Read as well as changing the GPIB Address String to a VISA Resource Name.

  • Is anyone having issues with their iPhone 5 music controls in a 2012 Hyundai Accent, both on Bluetooth and using a headphone or USB cable?  My music plays but I cannot skip songs without physically using the iPhone 5 controls.  Thanks!

    Hello,
    I have an AT&T iPhone 5 purchased from an AT&T store - it is a normal phone, no changes, no jailbreaking.  I tried using my phone and my girlfriend’s iPhone 5 with the USB auxiliary cable in my 2012 Hyundai Accent.  No matter what connector I use (headphone, USB, auxiliary) it doesn't charge or allow me to use the Hyundai’s controls to change music.  Music will play through the Bluetooth system, but I cannot control the music unless I physically touch my iPhone.  My iPhone 4 has a USB auxiliary cable and works perfectly; it charges and I have full control of my music without having to touch my phone. Nothing works even if I use the adapter that connects the iPhone 4 charger end to the iPhone 5. The picture below shows the iPhone 4 USB cable but it needs to have the (blue) iPhone 5 adapter.
    Here’s the best part of this whole situation.  I was told by Hyundai Customer Care that there is a specific USB cable available for my iPhone and that I need to contact a dealer.  However, two Hyundai dealerships have told me that they do not have a cable, that Apple has not made a cable for the iPhone 5, and that I need to contact Apple directly or order it from an Apple store.  It gets better.  I contacted an Apple Store and they told me to contact Hyundai.  I explained what I wrote above and they put on a call with Apple Customer Care.  After 37 minutes on the phone with Apple, they still couldn't give me a satisfactory answer on how to get this cable or if they even had a cable (Case ID 505467409).
    So here is the magical question:   Is there a working adapter for the iPhone 5 that connect to a 2012 Hyundai Accent? It needs to play music, charge the phone, and work with the car’s controls.  Thanks!
    -sam

    The problem is that you're using an uncertified lightning to 30-pin connector (the blue cable).  If you purchase the 30-pin to lightning cable (either online, at an Apple store or an authorized dealer) it should work fine.
    I have a 2011 Tuscon and tried the lightning to USB cable that came with the phone - no dice.  Talked to my local Hyundai dealer and they don't have an eta on the Hyundai lightning cables (I'm sure it's in the works).
    Lightning to 30-Pin Adapter (0.2M)
    Part Number: MD824ZM/A
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter?fnode=48
    $29 in the US store, $45 in Canada (yes, even though our dollar has been par for years)

  • Is there a reason no one is using the Prologix GPIB-ETHERNET controller?

    I am trying to control several Agilent HP-6033A power supplies and an HP-6681A power supply.  I have a Prologix GPIB-Ethernet controller on each.  I have done a search on "prologix ethernet" with zero results, however, there are a number of Prologix USB-Ethernet references.  Is there a reason no one is using the Prologix GPIB-ETHERNET controller?  This is a project I have inherited and I'm trying to troubleshoot some intermittent problems.
    Thanks!

    My group uses the Prologix GPIB-ETHERNET controller for controlling two Keithley devices in a Visual Studio 2008 .NET application. To achieve a sample rate under 200ms, we have to place one GPIB-ETHERNET on each Keithley device.  The device was very easy to program using TCP/IP calls and required no drivers from Prologix.
    On our latest application, we switched to the NI ENET-1000 because the Prologix device doesn't have a certificate like the NI ENET-1000 has. Unlike the Prologix, I must install the NI 422 driver and MAX. I can easily control two Keithley devices with one ENET-1000. Next week, I intend to see if I can control 4-5 Keithleys simultaneously in under 100ms.
    No matter what the IP address of the computer is versus the Prologix, the Prologix net configuration utility can find the device.  If the NI device is not in the same subnet, the computer cannot find it. 

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • Is there a way to use the Picture viewer app with linked folders?

    I have a fairly extensive photo collection (literally in the tens of thousands we have taken over the years, and growing) on my PC that I have access to through BB link/file manager...one picture at a time...with no thumbnails...
    Is there any possible way to use the BlackBerry picture app with BlackBerry link folders?  All I want is to be able to hook up my Z30 via HDMI to the big screen and have the option for a slideshow from the archive on my PC without having to blindly stab at individual files and folders, and without having to copy whole folders of dozens or hundreds of photos to my phone.
    Thanks in advance!

    http://www.mebeam.com/
    Create a Chatroom.
    Adjust your Settings (Allow Flash to control your camera)
    Invite Buddies.
    7:55 PM Wednesday; February 20, 2008

  • How to handle multiple selection in the Spark List control with checkbox as itemrenderer?

    Hi All,
    I am using checkbox as an ItemRenderer in spark list.
    I have a query.
    how to handle multiple selection in the Spark List control with checkbox as itemrenderer?
    how to retrieve the selected item label?
    Thank you in advance.

    Hi there, I'll tweak your code a little bit to something like this:
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="vertical">
        <mx:Script>
            <![CDATA[
                 import mx.events.ListEvent;
                 import mx.controls.CheckBox;
               [Bindable]
               private var mySelectedIndexes:ArrayCollection=new ArrayCollection();
                private function onChange(e:ListEvent):void
                   if(CheckBox(e.itemRenderer).selected){
                             mySelectedIndexes.addItem(e.rowIndex);
                   }else{
                                  mySelectedIndexes.removeItemAt(mySelectedIndexes.getItemIndex(e.rowIndex));     
                   chkList.selectedIndices=mySelectedIndexes.toArray();
            ]]>
        </mx:Script>
    <mx:ArrayCollection id="collection">
            <mx:Object label="Test A"/>
            <mx:Object label="Test B"/>
            <mx:Object label="Test C"/>
            <mx:Object label="Test D"/>
            <mx:Object label="Test E"/>
            <mx:Object label="Test F"/>
            <mx:Object label="Test G"/>
        </mx:ArrayCollection>
    <mx:List id="chkList" dataProvider="{collection}" itemRenderer="mx.controls.CheckBox"  itemClick="onChange(event);" allowMultipleSelection="true"/>
    </mx:Application>

  • An issue using the COM components supplied with SAP GUI 6.2 or 6.4

    We are having an issue using the COM components supplied with SAP GUI 6.2 or 6.4.  We used to have SAP 4.6c and now we have 5.0.  When we were on 4.6c, we used these COM components to logon and execute RFC calls and we had much success.  Now that we are on 5.0, we can’t seem to instance any SAP functions that have something to do with SAP Workflow.  We have experienced this problem when using VB6 or .NET, but our existing code that always worked is in VB 6.0.
    SAP Components used:
    o     SAP Logon Control
    o     SAP Function Control
    o     Librfc32.dll
    o     Other supporting C DLLs and/or COM object supplied with the SAP GUI installation.
    For example, if we want to call the RFC ARCHIV_CONNECTION_INSERT, this code fails in VB6 when the “Set objworkflow = objFuncCtrl.Add(strFunction)” line of code executes.  Instead of returning an instance of the object ARCHIV_CONNECTION_INSERT function, no object is created.  In 6.2, SAP raises no errors, but the object we are trying to create is still “Nothing”.  If we use 6.4, SAP raises an error “SAP data type not supported” via a message box and then the object is still = Nothing.  Interestingly enough, the 6.2 GUI COM controls don’t display the error dialog.  The message box that is shown comes from the SAP Function COM Object "SAP.Functions" (wdtfuncs.ocx).
    Now, what is interesting is if we use the same code to call a standard function or custom function that doesn’t have anything to do with SAP Workflow, then the code works fine.  Again, all of our code used to work just fine on an SAP 4.6 system.
    Here is the code that fails:
        'SAP Logon control - object for creating connections to an SAP system
        Dim objSAPLogonCtrl As Object
        'SAP connection object
        Dim objConnection As Object
        'Object that will represent the SAP function called
        Dim objSAP As Object
        'SAP function control object - object factory for creating other SAP function objects
        Dim objFuncCtrl As Object
        'Create instance of an SAP logon conrol
        Set objSAPLogonCtrl = CreateObject("SAP.Logoncontrol.1")
        'Create a connection object
        Set objConnection = objSAPLogonCtrl.NewConnection
        'Define connecion parameters
        objConnection.ApplicationServer = "sapvm"
        objConnection.SystemNumber = "00"
        objConnection.Client = "800"
        objConnection.User = "iissap"
        objConnection.Password = "tstadm"
        objConnection.Language = "E"
        objConnection.TraceLevel = 10
        'call the logon method of the connection object
        If objConnection.Logon(0, True) = False Then
            MsgBox Error
            Exit Sub
        End If
        'Create an instance of the SAP Function control object
        Set objFuncCtrl = CreateObject("SAP.Functions")
        'Set the function control connection object
        Set objFuncCtrl.Connection = objConnection
        'Function name to be generated and called
        Dim strFunction As String
        strFunction = <b>"ARCHIV_PROCESS_RFCINPUT"</b>
        'Create an instance of the function defined in strFunction
        Set objworkflow = objFuncCtrl.Add(strFunction)
        If objworkflow Is Nothing Then
            MsgBox "Could not create object " & strFunction
        Else
            MsgBox strFunction & " object created."
        End If
    If anyone has seen anything like this or has any ideas, please help!
    Mike and Hameed
    <b></b>

    Hi,
    documentation on the Scripting API is available at ftp://ftp.sap.com/pub/sapgui/win/640/scripting/docs/
    This API is a replacement of the existing, obsolete COM interfaces.
    Best regards,
    Christian

  • I want to use the expression edit control in a VC++ DLL, how?

    Good morning,
    as mentioned I want to use the expression edit control in my DLL written with VSC++ 2005 MFC. But I ran into some problems:
    If I just add the ExpressionEdit control from the toolbar to my dialog then the dialog will not be shown during runtime. As soon as I delete the control the dialog shows up.
    In the TS examples is one called 'TCL' (...National Instruments\TestStand 4.1.1\Examples\Tcl\source\EditSubstep). This is programmed in C++ and uses the expression edit control.
    The original dll works fine but as soon as I compile the editsubstep with my VS 2005 I get a runtime error (see image).
    What do i have to do to be able to use this control?
    Has anybody an working example for me?
    Cheers Frank
    Solved!
    Go to Solution.
    Attachments:
    fehler.JPG ‏21 KB

    @juergen: how do I know which lib I am using?
    I am using this COM-Control: c:\programme\national Instruments\testStand 4.1.1\bin\exprEdit.dll
    @Doug: I created the sequence as you described and used this for debugging to find out where the problem is.
    I found out, that the problem must be somewhere here:
    dlgcore.cpp
    BOOL CWnd::CreateDlgIndirect(LPCDLGTEMPLATE lpDialogTemplate,
    CWnd* pParentWnd, HINSTANCE hInst)
    Line 314:
    hWnd = ::CreateDialogIndirect(hInst, lpDialogTemplate,
    pParentWnd->GetSafeHwnd(), AfxDlgProc);
    Without the ExpEdit-control hWnd has a Value
    with control hWnd is 0.
    This is what I found out so far.
    Frank

  • I could use Ipod Classic (30g) controls with connection to Highlander (adapter plug into JBL single CD player), but cannot with new 160g Ipod Classic. What gives?

    I could use Ipod Classic (30g) controls with connection to Highlander (adapter plug into JBL single CD player), but cannot with new 160g Ipod Classic. What gives?

    Charge it up fully. Toggle the hold switch. Try getting into diagnostics mode again. See Corrupt iPod classic.
    tt2

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • Issues with using the output redirection character with newer NXOS versions?

    Has anyone seen any issues with using the output redirection character with newer NXOS versions?
    Am receiving "Error 0x40870004 while copying."
    Simply copying a file from bootflash to tftp is ok.
    This occurs for both 3CDaemon and Tftpd32 softwares.
    Have tried it on multiple switches - same issue.
    Any known bugs?
    thanks!
    The following is an example of bad (NXOS4.1.1b) and good (SANOS3.2.1a)
    MDS2# sho ver | inc system
      system:    version 4.1(1b)
      system image file is:    bootflash:///m9200-s2ek9-mz.4.1.1b.bin
      system compile time:     10/7/2008 13:00:00 [10/11/2008 09:52:55]
    MDS2# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    TFTP put operation failed:Access violation
    Error 0x40870004 while copying tftp://10.73.54.194/
    MDS2# copy bootflash:cpu_logfile tftp://10.73.54.194
    Trying to connect to tftp server......
    Connection to server Established. Copying Started.....
    |
    TFTP put operation was successful
    MDS2#
    ck-ci9216-001# sho ver | inc system
      system:    version 3.2(1a)
      system image file is:    bootflash:/m9200-ek9-mz.3.2.1a.bin
      system compile time:     9/25/2007 18:00:00 [10/06/2007 06:46:51]
    ck-ci9216-001# sh int br > tftp://10.73.54.194
    Trying to connect to tftp server......
    |
    TFTP put operation was successful

    Please check with new version of TFTPD 32 server. The error may be due to older version of TFPT server, the new version available solved this error. Files are getting uploaded with no issues.
    1. Download tftpd32b.zip from:
    http://tftpd32.jounin.net/tftpd32_download.html
    2. Copy the tftpd32b.zip file into an empty directory and extract it.
    3. Copy the file you want to transver into the directory containing tftpd32.exe.
    4. Run tftpd32.exe from that directory. The "Base Directory" field should show the path to the directory containing the file you want to transfer.
    At this point, the tftpserver is ready to begin serving files. As devices request files, the main tftpd32 window will log the requests.
    Best Regards...

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • Can I use the Creative Cloud libraries with Illustrator CS5

    Can I use the Creative Cloud libraries with Illustrator CS5

    Hi Ilys Ravel,
    No, Creative Cloud Libraries feature is only available in CC 2014.1 release on-wards.
    Sanjay..

  • I have a new ipod and when I sign in to Words with Friends it says that user name is already in use. How can I continue using the same user name with a different ipod?

    I have a new ipod and added all my apps to it. When I sign in to Words with Friends it says that "user name is already in use" because it is linked to my old ipod. How can I use the same user name with my new ipod?

    Was the iPod setup via iTunes on this computer?
    Setup via wifi?
    Was the iPod previous synced to another iTunes library/computer?
    Have you successfully synced from this iTunes library/computer before?
    Do the songs play in iTunes?           
    Do you have the right boxes checked to sync?
    iTunes: Syncing media content to iOS devices and iPod        
    Try syncing using the manual method                 

Maybe you are looking for

  • BW/HR Implementation considerating infotypes dates

    Hi experts, I am modeling a BW/HR in 7.0.  Althought I have ready all master data elements because there is very standard extractors, there is several doubts: 1)  When I need enhance What date for infotype must take, for intersect the dates the begda

  • Automatic updation of org data while creating wbs.

    While creating a new wbs, can we inherit organizational data like plant, profit center automatically from its higher level wbs, if this data does not exist in project profile. Please assist. Regards, Rahul

  • Displaying jsp page in Excel

    I'm having trouble getting a jsp page to display in Excel.  Below is the code.  Any idea what I'm missing? Thanks in advance, John <%@ taglib uri= "tagLib" prefix="hbj" %> <jsp:useBean id="rbpTable" scope="application" class="com.halliburton.esg.erp.

  • Ant tasks to migrate BPM organisation 5.7.3 to BPM10g

    We are migrating from BPM 5.7.3 to BPM 10g. We are referring to this article to do this task. http://www.oracle.com/technetwork/middleware/bpm/migrationinstructionsfromalbpm5-133430.pdf In preconditions it is mentioned - It is necessary to replicate

  • Desktop oddities when trashing file or folder

    Okay, this isn't a big deal, but it disturbs my normal way of using the computer. When I press Command-Delete for a file or folder I've selected on the Desktop it moves it to the trash. However THEN the Finder selects the "next" file or folder on the