Executing "TriggerList" using GPIB Interactive Control

Hi all,
For debugging purposes, I am trying to execute a multi-device "TriggerList" command using the "GPIB interactive control" utility.
I have a GPIB-USB-HS unit connected to 2 GPIB devices at addresses 11 and 12. Communication to these devices seperately works fine.
What I tried so far:
(1) Opened NI-MAX, browsed to "Devices and Interfaces" / "GPIB-USB-HS "GPIB0";
(2) Pressed the 'interactive control' button, which opens up the GPIB Interactive Control terminal window, with a "gpib0:" prompt;
(3) Enter "TriggerList 11,12" and press enter.
the result of this is:
[8000] (err)
error: EHDL
count: 0
Using the "NI I/O Trace" tool, I see that a TriggerList(31000, {0x000B, 0x000C}) call is executed, and returns with an EHDL error.
My question: what am I doing wrong, and what do I need to do to execute a successful TriggerList?

Answering my own question:
The trick is to engage 488.2 mode. After that, triggering will work as intended:
    gpib0: set 488.2 0
    488.2 (0): SendIFC
    [0130]   ( cmpl cic atn )
    488.2 (0): TriggerList 11,12
    [0138]   ( cmpl cic atn tacs )
    count:  5
Monitoring the GPIB shows that this sends the 5-byte sequence  0x40, 0x3f, 0x2b, 0x2c, 0x08.

Similar Messages

  • Gpib GET command using the GPIB ActiveX Control

    Is there a way to trigger multiple instruments via the gpib 'GET' command using the GPIB activeX control for Visual Basic?

    Hello,
    I'm a bit confused as to what GET command you are trying to use. Where is this command located? Also, what are you trying to accomplish through use of this function?
    GPIB can control multiple instruments through the activeX control for Visual Basic. More information about specific commands can be found in the help files. On your Desktop, click [Start]>>[All Programs]>>[National Instruments]>>[NI 488.2]>>[NI 488.2 Help]. Now, under the "Contents" tab, click [Contents]>>[Multiple Device NI-488.2 Calls]. A list of multiple device function calls can now be referenced for help in performing your desired action within Visual Basic.
    I hope this helps. Please let me know if I can further assist you.
    Best Regards,
    Joe Des Rosier
    National Instrument
    s

  • (261718088) Q ADVC-4 Can Timer Control/Polling be used to interact with webservices developed outside of WLS?

    Q<ADVC-4> Can Timer Control/Polling be used to interact with webservices developed
    outside of WLS?
    A<ADVC-4> Absolutely, Timer mechanisms are the appropriate way to make your web
    service a client to another web service and are very useful to provide polling
    mechanisms. Look at slides ADVC 9-11 to see more.

    Step by step, how did you arrive at seeing this agreement?

  • Will an executable that uses ActiveX controls work ?

    I'm using a typedef control (.ctl file)that's pointing to a type library (COM Object) file in the folder with the rest of the VIs. This was an attempt to ensure that the client (who doesn't have LV-DS) wouldn't have to worry about LabView not finding the type-library. I made my build using the top-level VI but it doesn't run. Could there be something I've missed ?
    Thanks,
    Shiv

    As far as I know, you have to register your component with the target machine. First try manually to check if it's working, using "regsvr32" at command prompt. After, you can integrate a BAT file in the installation kit (to do the same thing automatically).
    Hope this helps

  • VISA Interactive Control does not see my device

    Hi,
    I am using a NI USB-GPIB. The MAX can see the device and even can communicate with it but the VISA Interactive Controle Utility does not recognize it. That is the reason why my software is not reacting too it since I used VISA reads/writes.
    I attached a NI-report to it so you can what is missing (if).
    Note that I have installed my software on several stations and it worked.
    What do I miss in here?
    Thanks
    Yariv3G
    Attachments:
    nireport.txt ‏2 KB

    yariv3G,
    As you said, you equipment worked fine on several other stations, but this station had an issue. As Joe pointed out it would be nice if everything always just worked, but with so many variables in the mix some times you just have to sit down and troubleshoot.
    How do you avoid long flush times? Well, try to solve the problem intelligently. I know that is an ambiguous statement, so I will give my recommendation.
    1. Check the KnowledgeBases to see if this is a known issue.
    2. Search the Forums to see if any customers like yourself have run into the same problem.
    Now here the next steps could go anywhere depending on your knowledge of the product and the issue itself.
    If you don't know the product very well:
    3. Post on the forums then while you wait for your reply do some research (read the manual, tutorials, google...)
    If you did know the product pretty well you might just start logically picking apart the problem, then run through the steps you come up with. Here is what I would have done in your situation and why:
    Communicating with your device worked fine in MAX. So, NI-488.2 worked fine (MAX makes calls directly to the NI-488.2 driver, ie ibwrt, ibrd). The VISA Interactive control wouldn't find your instrument. So, NI-VISA is probably messed up.
    3. Reinstall NI-VISA, and if there is a newer version available you might as well use that since it probably has some bug fixes.
    Still doesn't work? Well, how does VISA work? VISA Simply makes calls into other drivers so in your case VISA will make calls to the NI-488.2 driver. So maybe NI-488.2 works fine, but the driver (DLL) might be named something different, in a different location, perhaps you have two copies of it. My next steps would be.
    4. Uninstall NI-488.2, and install the latest version. If it still doesn't work reinstall VISA again to make sure it finds the driver.
    Hope this helps, or at least gives a better idea of what might have happened.
    Shawn B.
    National Instruments
    Use NI products on Linux? Come join the NI Linux Users Community

  • How can I use LabView to control Altera Scripting

    Hi
    I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
    Altera has a command line interface that will let me load .cdf file.  The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash.  I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
    I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
    Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)  
    Thanks in advance
    Below is the error message and the script I am using. It almost works just missing the flash loader IP
    C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG  S_FPGA.
    cdf
    Info: *******************************************************************
    Info: Running Quartus II 32-bit Programmer
        Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
        Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
        Info: Your use of Altera Corporation's design tools, logic functions
        Info: and other software and tools, and its AMPP partner logic
        Info: functions, and any output files from any of the foregoing
        Info: (including device programming or simulation files), and any
        Info: associated documentation or information are expressly subject
        Info: to the terms and conditions of the Altera Program License
        Info: Subscription Agreement, Altera MegaCore Function License
        Info: Agreement, or other applicable license agreement, including,
        Info: without limitation, that your use is for the sole purpose of
        Info: programming logic devices manufactured by Altera and sold by
        Info: Altera or its authorized distributors.  Please refer to the
        Info: applicable agreement for further details.
        Info: Processing started: Thu Oct 03 18:16:53 2013
    Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
    Info (213045): Using programming cable "USB-Blaster [USB-0]"
    Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
    Error (209062): Flash Loader IP not loaded on device 1
    Error (209053): Unexpected error in JTAG server -- error code 5
    Error (209012): Operation failed
    Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
    Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
        Error: Peak virtual memory: 376 megabytes
        Error: Processing ended: Thu Oct 03 18:17:21 2013
        Error: Elapsed time: 00:00:28
        Error: Total CPU time (on all processors): 00:00:03
    Solved!
    Go to Solution.

    Hi Eric,
    I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
    Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
    I used a 2 element array going into a four loop
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
    Defining the working director C:\altera\12.1sp1\qprogrammer\bin
    And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
    To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
    Thanks for the interest though
    Best regards John

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • PDF loaded using ActiveX will not load when the executable is used on another computer

    Hello,
    I am fairly new to Labveiw and have created a CAN diagnostic tool which uses an ActiveX control to display the CAN Spec PDF on the front panel. This works absolutely fine and still works fine when I create and use an executable on the same computer. However, I need to use the application on multiple computers that do not have Labview installed, and therefore require the executable. I have tried placing a copy of the PDF in the "Volume" folder and recreating the .exe with that path, then placing it in the same location on another computer, but no luck. I am fairly certain it has to do with the static file path, set in the Main VI, since it refers to a static location that does not necessarily exist on the next computer. I need some way to get around this though, so that I can easily transfer the application from one computer to another. The code I am using is very simple; I just open Adobe Reader and the file during initialization then close the reference path (see attached picture). Any Ideas?
    Thank you for your assistance!
    -Mike
    Attachments:
    ActiveX_pdf_code.jpg ‏23 KB

    A solution that I have found to work well is to use the Project Directory node as a root path. In the development environment this node will always return the path to the directory containing the project that is calling it. In an executable, it returns the path to where the executable is located. 
    With that known starting point, I can put files like that pdf in either the same directory as the project/executable or a subdirectory of that location and I can always find it.
    When creating a build spec you can include non-LV files and specify destinations for them. Likewise, the installer will then put these files where they belong during the installation.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • When creating an application installer in LV, what run-time engine or driver must be installed to install the VISA interactive control?

    I've created an application installer using LabVIEW's application builder and use it to install NI MAX.  However, after running the installer, the VISA interactive control is disabled in NI MAX.
    The installer installs the following NI components:  NI LabVIEW Run-Time 2014 SP-1(64-bit), NI LabWindows/CVI Shared Run-Time Engine 2013 SP2, NI Measurement & Automation Explorer 14.5, NI-488.2 Application Development Support (includes run-time), NI-VISA Configuration Support 14.0.1, NI-VISA Runtime 14.0.1, NI-VISA Server 14.0, NI Systems Configuration Runtime 14.5.0, vision run-time, dc-power run-time.
    If I download and run the 488.2 installer, the VISA interactive control is enabled in NI MAX.  But, the installer created with the application builder does not seem to install the necessary components.
    What needs to be added to the installer to enable  the VISA interactive control (VISAIC)?
    Thanks.
    Solved!
    Go to Solution.

    From Pedro Munoz, Applications Engineer, National Instruments
    Sorry for the confusion with the forum post that Jon sent you. I did some research on our internal database and I found out the component will not be installed by any of the components added from the additional installers section on the configuration of the installer. As you have already found out you need to install the full installer in order to enable this feature.
    I know that this might be an inconvenient for you because you wanted to have one installer to run. On this case may I suggest using the NI Batch Installer Builder.
    The NI Batch Installer Builder allows building installers that contain National Instruments software from several products. That way you can create an installer for you application in LabVIEW (and not include the drivers in the additional installer section), then use NI Batch Installer Builder to include the installer for your application and the full version of the drivers that you mentioned.
    Here is the download link:
    http://www.ni.com/download/ni-batch-installer-builder-14.5/5193/en/
    And in here you can find instructions on how to get started with it:
    http://zone.ni.com/reference/en-XX/help/374206A-01/
    Let me know if you have any question.
    Regards
    Pedro Munoz
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to read from a HPIB instrument using GPIB software?

    How Can I read from a HPIB instrument using GPIB software and library functions in Visual Basic Environment? In HPIB we do not have to send query first but in GPIB we do? Although writing and sending a command is to a HPIB instrument is pretty much the same as a GPIB instrument. Any help or suggestion?
    Thanks in Advance
    Shazaduh

    HI,
    HPIB and GPIB are the same thing at a low level in terms of instrument communication. They are both compliant with the IEEE 488.2 standard.
    The difference is the driver you have to use. Each manuafacturer has to develop a driver to control the interface ont he host. For National Instruments interfaces you use NI-488.2 (which you refer to GPIB functions). For HP interfaces you need to use the SICL library. For information using this library in Visual Basic you'll have to look at the SICL documentation.
    You can also use VISA (HP-VISA) which would allow you use NI interfaces or other buses in the future.
    Hope this helps.
    DiegoF
    National Instruments.

  • When using the new controls of CVI 7 in my DLL it crash on the DisplayPanel call

    I have a CVI DLL that was build under CVI 6. When I recompile it in CVI 7 everything works fine when I load the DLL from my application. But If I add a button on my uir file with the new CVI 7 style (no event code associated, just a plain button) my DLL crash and hang my main application on the DisplayPanel call. If I don't use the new controls (use the classic-style controls) everything works fine. I use LoadPanelEx to load my uir file. The returned panel handle is good (> 0) But when I call DisplayPanel it doesn't show me any error but just crash my DLL and jump back in the DLLMain function saying that my process is detaching and hang my main application.
    I am running on Win2k. I have
    LabVIEW 7 and LabVIEW 6.0.2 installed also. The main application that calls the DLL is made in Delphi 6.
    I have re-installed the run-time engine from the CDs but this didn't do the trick. Is there something else that I must include with my DLL to use thoses new controls styles. The DLL is running from the same place where it was build.

    Hi,
    I have created another cvi DLL and it create the same behavior in my application (crash on DisplayPanel). But if I do a standalone CVI executable with thoses new buttons everything is fine. Also I have created another application(in Delphi) to load the cvi-dll and it works fine in that one. So I would tend to say that it is in my application but on the other hand everything works fine if I don't put thoses LabStyle controls...Weird I know...
    In shorts It is just crashing with a specific application but for any UI project that I create. If I don't put thoses buttons everything is ok...Any other advises would be helpful because I'm kind of out of ideas...
    Gilles Hache

  • I need to program a Hittite Fractional​-N Synthesize​r Evaluation Kit with a HMC702LP6C​E an external YIG oscillator​. Not sure how to use Labview to control the PLL.

    I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator.  Not sure how to use Labview to control the PLL.

    Here is how to use the PLL. But I don't know of how to interact with that device
    http://zone.ni.com/devzone/cda/tut/p/id/3781
    And for thouse who don't know what a PLL is a free bonus link is here:
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E​9AE258625708B007CE74F?OpenDocument
    and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC​702LP6CE
    Now we are all caught up to speed.
    Sam S
    Applications Engineer
    National Instruments

  • Cost Run should not be getting executed on Material with Price Control V

    Raw & Packing materials are with price control V in MM as company wants to keep them on moving average cost. Somehow finance users executed cost run on one such material and cost run was executed and the difference was posted in price difference. As far as I know, system shouldn't be allowing cost run on materials other than those having S as price control.
    Question is: How to ensure system sends error if cost run is attempted to be executed on materials with Price Control V?

    Hi
    If you are executing cost run using CK40N, it releases the cost for all the materials i.e. both for the header and the components
    the components may be usually valuated at V. So, the std price update for these will be only for information purposes and it wont revaluate your inventory for sure... This cant post to price difference.... Price diff upon std cost release will apply only to those materials which have price control S
    However, if you dont want to release the cost for V items, you can specify them in the exclusion list... In Ck40N selection parameters you specify your plant/material, etc...  While specifying the materials to be costed in the multiple selection screen, , you can also specify the ones not to be. Then std cost wont be released in those cases
    Regards
    Ajay M

  • Using a JMS control from an EJB project

    I'm developing an EJB in Workshop and my EJB is expected to send messages to a JMS queue. How can I use a JMS control (JCX) from my EJB?

    If you're talking about making an executable jar file that will work with the bouncycastle jar:
    (1) Make a jar as usual with your classes in it
    (2) Include a manifest file that specifies the class containing your app's main() method
    (3) In that same manifest, make sure that the bouncycastle jar is included in the Class-Path
    Details are in Sun's Tutorial: [Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html] and specifically [http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html|http://java.sun.com/docs/books/tutorial/deployment/jar/downman.html] for the business of having your app recognise the other jar file's classes at runtime.
    Doubtless this can all be done from the comfort of your IDE, but I don't know how. There will be documentation on NetBeans site I suppose.
    Edited by: pbrockway2 on Jul 23, 2008 8:59 PM

  • How to use the custom control ?

    Hi Friends,
    plz help to use of  custom control in screen painter ?
    and how to use the custom control ?
    Thanking you.
    Regards,
    Subash.

    HI,
    Screen Elements
    A screen can contain a wide variety of elements, either for displaying field contents, or for allowing the user to interact with the program (for example, filling out input fields or choosing pushbutton functions). You use the Screen Painter to arrange elements on the screen.
    You can use the following elements:
    ·        Text fields
    Display elements, which cannot be changed either by the user or by the ABAP program.
    ·        Input/output fields and templates
    Used to display data from the ABAP program or for entering data on the screen. Linked to screen fields.
    ·        Dropdown list boxes
    Special input/output fields that allow users to choose one entry from a fixed list of possible entries.
    ·        Checkbox elements
    Special input/output fields that the user can either select (value ‘X’) or deselect (value SPACE). Checkbox elements can be linked with function codes.
    ·        Radio button elements
    Special input/output fields that are combined into groups. Within a radio button group, only a single button can be selected at any one time. When the user selects one button, all of the others are automatically deselected. Radio button elements can be linked with function codes.
    ·        Pushbuttons
    Elements on the screen that trigger the PAI event of the screen flow logic when chosen by the user. There is a function code attached to each pushbutton, which is passed to the ABAP program when it is chosen.
    ·        Frame
    Pure display elements that group together elements on the screen, such as radio button groups.
    ·        Subscreens
    Area on the screen in which you can place another screen.
    ·        Table controls
    Tabular input/output fields.
    ·        Tabstrip controls
    Areas on the screen in which you can switch between various pages.
    ·        Custom Controls
    Areas on the screen in which you can display controls. Controls are software components of the presentation server.
    ·        Status icons
    Display elements, indicating the status of the application program.
    ·        OK field
    Every screen has a twenty-character OK_CODE field (also known as the function code field) that is not displayed directly on the screen. User actions that trigger the PAI event also place the corresponding function code into this field, from where it is passed to the ABAP program. You can also use the command field in the standard toolbar to enter the OK field. To be able to use the OK field, you need to assign a name to it.
    All screen elements have a set of attributes, some of which are set automatically, others of which have to be specified in the Screen Painter. They determine things such as the layout of the screen elements on the screen. You can set the attributes of screen elements in the Screen Painter - either for a single element, or using the element list, which lists all of the elements belonging to the current screen. Some of the attributes that you set statically in the Screen Painter can be overwritten dynamically in the ABAP program.
    with regards,
    sowjanyagosala

Maybe you are looking for