Instrument Control HP 5062A Via GPIB

Hi ,
         Im having problem with markers , when i set it on signal , its ok , but when i query the Yaxis of markers , a query interrupt the other . I tried delay with serveral values , but didnt work . PS : When i read only 1 mark , its work , but im using a for loop , to take all 9 markers automatic . 
I think that i m using the right SCPI command .... :CALC[ i+1 ]:MARK[ i+1 ]:Y?           [ i ] = NUMBER OF ITERATIONS OF FOR LOOP (BEGIN ON ZERO, THEN I ADDED +1 )   
Thx =)  

Hi ,
 Here , im adding the code and the image of it .... Has a delay between the wirte and read ... i didnt added on image this part ...
Thx for the help =) 
Attachments:
TRYING READ.vi ‏32 KB
here.JPG ‏63 KB

Similar Messages

  • Pxi-8176 controller to read data from an instrument controlled by another controller

    can i use pxi-8176 controller to read instrument data on the gpib bus from an instrument controlled by another pc gpib controller?

    Thanks.
    I understand what you're saying, but I'm also trying to understand why the following is not possible or is not more readily available:... Just as NI IO Trace (NI Spy) listens/eavesdrops to the GPIB real time, one would think that Labview would be able to do it also. One would think that just as NI IO Trace (NI Spy) publishes to a window/file/memory it shouldn't be impossible to publish to a string so that it can be processed real-time by some VI algorithm. If I think about NI IO Trace as a VI, I would think that it is already in a string format before it is published to the NI IO Trace window... why isn't that string available to Labview VIs block diagram?

  • N6705B connectivity via GPIB interface in UNIX

     Hi
    i had an N6705B device my requirement is like below
    I need to control this device via an GPIB interface in linux PC.
    for the above i am using an GPIB to GPIB cable and connected the N6705B and amy linux device.
    Now i have to connect/login in to the N6705B device and do the settings like setting voltage for the DUT (IC chip) and collect measurement for various test scenarios of DUT.
    For example i have to set the input voltage as 3.7v to my test device(which is an wifi device) and connect it to an access point(connection will be done manaully) so during the connection stage i have to measure the current consumed by the device (taken across power amplifer). 
    I think there are SCPI commands whcih i notice in the AGilent 14585 control software which do the same (the software support is there in windows 7 via an GUI), is there any posibility now this commands i can send to the agilent N6705B device by logging into it from a linux PC.
    Thanks
     Varun.P

    Duplicate: http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/SCPI-commands/m-p/2959241#M65332

  • Instrument Control Build Specifications

    Dear Sir:
          I am trying to build a working *.exe instrument control program.  This is a simple program which only queries my test instrument with a *IDN? command. 
          The program fails to call my instrument driver and the program also runs on boot up when (running under normal conditions) it should wait for me to input the GPIB address of my test instrument. 
          Let's begin with the failure of Labview to communicate with the instrument driver.   This is some background information.
           When I run the program as simple *.VI in the Labview environment, the program runs perfectly.    No issues.
           When I use Agilent Connection Expert or MAX to communicate to the test instrument, communication is established and there are no issues - I receive a reply, connectivity is established. 
            After I build the *.VI into a *.EXE program, this is where the program's issues arise. 
           The *.EXE program fails to initialize correctly and fails to establish connectivity with my test instrument.
            Here are some issues that I have noticed about the program running in *.EXE mode
    1)  The program runs on "boot up" when you click on the *.EXE program.   In *.VI mode, the program does not run on boot but waits for the user to input the GPIB address of the test instrument - program run is designed to be enabled by the user.
          I do not believe this is the source of the problem but only an incidental consequence of the problem.   If I stop the program and input the GPIB address, I receive a message about not being able to communicate to the driver. 
    2)  Once the *.EXE program runs, there is a condition whereby the operating system cannot close the program and WINDOWS itself cannot shut down itself unless I manually close all the programs associated with the *.EXE program in the WINDOWS operating environment. 
    3)  If the labview program and *.EXE program are closed but the operating system is still running,  Agilent Connection Expert and MAX can no longer communicate with the test instrument.   They no longer see the test instrument.
    It is obvious that the *.EXE program is making a change which is causing the operating system to "hang" on shutdown and is also preventing the other programs from operating as they should. 
    I believe the source of my problem may be how I programmed my build specifications.     In reply,  can you please tell me what are the minimum requirements for the build specification so that my test instrument can reply to a simple *IDN? query?   What files are normally required for a successful build?
    Other information as to the source of my issues are welcome as well.
    Thank you.
    Solved!
    Go to Solution.

    Thanks for you advice.
    I think this problem is a lot easier than you might think.   I just started using Labview and the *.VI is super simple.  I am away from my development computer right now so I can't post it.  
    The information I need to know right now are the typical files that are needed to be added in the build.  
    I found this quote that I found on a webpage to be interesting, (although I am not building an installer):
    "  Do I need to include NI-488.2 2.7.3 module if I use only basic GPIB Write.vi and GPIB Read.vis in my project?
    Yes, if you are making an installer ..."
    This is a link to the webpage:
    http://forums.ni.com/t5/LabVIEW/Uninstalling-LabVIEW-after-an-application-EXE-build/td-p/1553310
    My program involves only simple reads and writes using NI-488.2 calls to a test instrument.   A simple list of files specified with filename extensions to get me started would be appreciated.

  • Multiple instrument control

    Hi,
    Is it possible to use listbox to control multiple instruments, in which, I would like click on a instrument I want to control and it will bring up front control panel for particular one I selected? Thank you very much for your help.

    It is possible to control mulitple instruments on some buses (like GPIB). As for bringing up a GUI for each instrument, this is something that should be done in the programming language.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Connecting PCs via GPIB in Labview

    Is there a way to connect two PCs via GPIB, both running a Labview program? I just want to excange text files between them. The GPIB cards are PCMCIA-GPIB cards from NI.

    You can, but you might not enjoy it.
    I don't have the specifics for your GPIB cards, so I don't know how to do it for them, but in a previous job we put one of the GPIB cards in a non-System Controller mode. Then we could make it look like an instrument. Sorry I can't provide more details as it has proprietary code in it. But hopefully it gives you a place to start.
    Les Hammer

  • Any one having the knowledge of communicating Agilent 81250A via GPIB

    any one had done interface b/w Agilent 81250A via GPIB
    I am working on Agilent 81520A
    If anyone can provide me driver, it will be great help for me.
    Anyone having some important document used for GPIB communication with Agilent 81250A please provide me.
    thanks,
    anurag

    What do you have it connected to? Doesn't the optical head you are refering to require an actual instrument like the 8153?

  • How to save a waveform from TDS3000 series oscillosco​pe to PC via GPIB?

    Hi, I'm a summer intern and I've been recently assigned the task to transfer a telecom pulse mask waveform from a TDS3054 to the PC via GPIB. My question is, is there anyway that I can save the waveform on the scope and transfer the file onto my PC? Or even better yet, save the waveform directly onto my PC in a spreadsheet format?

    First, download the instrument driver for the TDS3054 scope from National Instruments' Instrument Driver Network. Depending on what software you have installed on your system, you may need to download additional software (look at the "Required Software" section). If you have Measurement Studio 6.0 and the NI-GPIB driver, you should have everything you need.
    Once you've installed the instrument driver, look at the instructions that came with the instrument driver for how to save and read from your oscilloscope, and look at the instructions here for how to use that instrument driver with Visual Basic 6.0.
    TonyH
    Measureme
    nt Studio

  • I am doing one Labview project. so my project is about design a interface in labview which one collect the data from keithley 2400 via GPIB connection.

    i am doing one Labview project. so my project is about design a interface in labview which one collect the data from keithley 2400 via GPIB connection. any suggestion please

    Your first task should be to just be able to send commands to the instrument.  Do as Dennis suggested and download the drivers for the instrument and get familiar with them.  Build up small VIs that do little tasks with those drivers so you can get used to them.  Then worry about your main interface.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Transfer files from scope to PC via GPIB

    I want to transfer my hard-copy files from scope to my PC via GPIB link. I am using TDS684B. Is there any possible way. Thanks.
    Saw

    In terms of saving the data, forget that it's coming from a particular instrument (at this point that's an unnecessary bit of detail). There are just so many things you can do with data that comes into LV. You can plot it, analyze it, save it to disk, or print it out.
    Save it however you, or your customer, wants to save it. There's nothing special with this data.
    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

  • Control PXI devices via PyVisa?

    Is it possible to control PXI devices via PyVisa in the same way as USB, and GPIB devices?
    Solved!
    Go to Solution.

    Hi k-rhyme,
    It should be possible to do. You can definitely control PXI devices using NI-VISA and since PyVISA is just a Python wrapper, it should be possible. It also depends on the version of VISA that PyVISA is using. I would recommend looking at the NI-VISA User Manual for more info PXI specific functions. 
    Using the NI-VISA Driver Wizard and NI-VISA to Develop a PXI(e)/PCI(e) Driver in Windows
    http://www.ni.com/tutorial/4713/en/
    NI-VISA User Manual
    http://www.ni.com/pdf/manuals/370423a.pdf
    Thanks,
    Frank
    Application Engineer
    National Instruments

  • Problem with register event callback in use of instrument control

    now, i use the register event callback to register a value change of a boolean control on the front panel, and wire the cluster's ref of the instrument control parameters to the user parameter input, then create the callback vi. In the callback vi, i select the pump-control subvi, and pass the user parameter to the subvi. The problem is that,  when i press the boolean control, the instrument (here is pump) can act, but immediately, the code crashes.
    I use labview 8.6
    Attachments:
    callback vi.png ‏8 KB
    register event callback.png ‏8 KB

    You would wire the event registration wire that comes out of the Register for Events node into an event structure.  You will need to right click on the event structure and check off "Show Dynamic Event Terminals" and it into that.  Then you can create a new Event Case that uses the dynamic event.  You can place your subVI in that event in whatever way you want.  (Just drop the subVI in or do a Call by Reference there, or whatever.)  Look in the Example Finder for "Dynamically Register for Events.vi".

  • User-specified DAQ interruptions, instrument control through serial communication

    I'm working on an instrument control program, and I've run into a structural problem that I cannot figure out.
    The instrument in question is effectively a thermostat.
    The program has two functions:
    1.)  Background sampling to record temperature in a log over time.
    2.)  Adjust temperature according to user input
    The issue is that the instrument uses EIA-232 serial communication to talk to the PC.
    This prohibits simultaneous execution.  Attempting to send a command while the program is taking a sample will result in serial blockage errors.
    So the program must interrupt background sampling until the specified command has been completed.
    I can't figure out how to do this.
    My best idea was to create a manual pause control.  If the user wants to adjust the temperature, he hits a switch to pause the sampling, sends the appropriate command, then hits the switch again to reinitiate sampling.  This method will suffice, but is not ideal.
    Beyond that, I really have no idea how to prevent the two functions from running into each other.
    Help structuring this program would be greatly appreciated,
    Thank you

    Look into Semaphores (icons with traffic light glyphs)
    Set up a Semaphore resource to the COM port that is wired to two parallel structures.
    One structure would do the background polling, the other would handle setting changes.
    Prior to background poll, lock the resource, then unlock it after the poll. Likewise for the setting change command.
    When a resource is locked, the other process cannot access it until it is unlocked. Be sure to dispose of the Semaphore when ending the program.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attachments:
    SempahoreExample.jpg ‏256 KB

  • Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?

    Greetings,
    Can I download the instrument Control and Data Aquisition Device Driver CD for 7.1?
    I'm trying to find out if I can download
    the instrument Control and Data Aquisition Device Driver CD for 7.1. Instead of downloading all the upgrades?
    Is there a link to the image file for this CD?
    TIA

    Sam,
    Unfortunately, the Device Driver CD is not available for download. However, your Technical Sales Representative should be able to send it to you (Contact Information).
    Spencer S.

  • Instrument control fundamentals

    Hi,
          I need some help regarding instrument control.I want to control instruments uing labVIEW8.6.I'm new to the job.can
    anybody tell me what are all the requirements(like installing instrument divers, labview 8.6) inorder to control an
    instrument programatically?
                                              In short what do I need to install before writing code to control insruments.can you give me
    step by step procedure right from scratch to control an instrument?
    Thanks
    kiranmayi

    Hi,
    for R&S CMS54 LabVIEW drivers are available at http://www2.rohde-schwarz.com/file/rscms54_lv7_2_0.zip, the R&S NRT driver is available at http://www2.rohde-schwarz.com/file/rsnrt_lv8_1_6.zip.
    A brief instroduction into driver is available at http://www2.rohde-schwarz.com/en/service_and_support/Downloads/Drivers?rckb=1&type=25&downid=5343
    Hope that helps?
    Regards Juergen
    Message Edited by juergenstraub on 07-08-2009 03:57 PM

Maybe you are looking for

  • How to include both items and service on Sales Orders

    Hello experts, I have a client who wants to include extra handling charges such as gift wrapping charges on their sales order in addition to regular items that is on the sales order. If I create the sales order as a Item/Service Type ='Service'. I ca

  • TC connected to PC through Ethernet

    I have my Time Capsule up and running, but I can't get my PC to connect to the Internet (I have an ethernet chord running from TC into PC). The booklet said to set up the TC as an Airport BaseStation, and I think I did that, but I'm not sure. Can any

  • Vandor crdit memo, subsequent debit memo and subsequent crdit memo

    Hi,   what is the difference between subsequent debit, credit and credit memo in MIRO transaction.    In case of vendor had given us credit note with relevant to particular for which we had already completed the invoice verification and payment also

  • Can't see my complete folder names.

    I am unable to see the complete names of some of my folders on the desktop.  Can someone offer any assistance with this problem?  It will be greatly appreciated.

  • What's become of the oil paint filter?

    I'm not sure what I expected when CC '14 came out the other day but suddenly having an entirely new version of PS installed wasn't exactly it. That's of no moment but I have to ask, where did Filter... Oil Paint ... in PS CC 14.2 get to in PS CC 2014