Streaming (record) data of Agilent 6674 interface GPIB-USB powered

Hello

I would like to save the output in more than 200 HZ to my power supply CC 6674 A Agilent with LabVIEW 8.2. Agilent 82357 A GPIB-USB interface is used to connect the power to the computer. And I used the instrument for Agilent 66XX driver I downloaded from OR.

For reading continuous data, I put the read.vi in a while loop and data saved by writing in the file lvm. (just for the starter, not a good sense, though) Please see the attachment.

The problem I have is that I can only save data in ~ 10 HZ then that what I need is at least 200 HZ.

It's my first time to the instrument control and I just had a little experience in the acquisition of data before. I had some confusion as below: no I have gained a point each time the while loop is executed? If so, I guess that the time for each loop (and therefore my data rate) depends on my operating system and the computer I have.

How many points will be acquired whenever the read.vi is run? That depends on the set 'count bytes' in vi or a single point anything? Are there other ways to get the data more efficiently? (want to write your own driver etc...) Any help would be much appreciated.

See you soon,.

Bohan

The rate at which you can run the VI is dependent on the instrument/GPIB bus and use of Scripture on a Measurment file. Yes, you get a voltage reading and a current reading with each iteration and the number of bytes read is so that you can get a complete reading.

I suggest you delete the entry in the file of the measurement of the loop to see how long takes of the instrument. That would be your maximum rate. If it's fast enough, use a different method to save the data. Architecture of producer/consumer if you pass the data to another loop via a queue would be a way.

Tags: NI Hardware

Similar Questions

  • Agilent 82357 B GPIB/USB, problem with distributed applications

    Hello everyone,

    I am developing software that communicates with an instrument, with USB, RS232, Ethernet and GPIB interface

    On my development PC, I can communicate with my instrument using a 82357 B Agilent GPIB - USB converter, without any problem. (and other interfaces as weel)

    I have deployed the application using the Installer application on the target computer Builder. The application works with USB, RS232 and Ethernet interfaces, but I don't see the GPIB interface in the control of VISA resource name.

    I followed the advice given by OR when you use a converter USB GPIB of Agilent (Tulip active...)

    I did the following tests on the target computer:

    -J' installed MAX, and I can communicate with the VISA test panel using the GPIB-USB converter.

    -J' made a small application with the VISA resource find included

    -If I unplugged the converter USB/GPIB instrument, the VISA to find the function return resource: GPIB0::INTFC, COM3, COM4, LPT1 COM7

    -If I plug the converter to the instrument, the function of resource VISA finds return nothing.

    -If I run the interactive command of VISA, I got the following error:

    Cannot find the resource by using expression? " »

    error: BFFF003A

    Name of the State VI_ERROR_INV_SETUP

    I'm using LabView 8.5 under windows XP.

    I have included in the installer

    -Run LabView 8.5

    -VISA 4.4 duration

    The target computer is running Vista.

    Thanks for your help and your support.

    Hello everyone,

    For your information, I have solved the problem in desinstalling then reinstalling my installation software on the target computer.

    I still don't know where the problem was, but it's working now. (even with the version of the driver 15.0 agilent)

    Thanks anyway for your help.

  • Connectivity of VISA GPIB/USB Agilent 82357 B

    Hello

    I'm under LabVIEW 8.5 on a 8106 PXI controller.  I connect to an Agilent E3632A DC Power Supply via an Agilent 82357 B GPIB/USB cable.  I installed the Agilent IO 15.5 Library Suite and have NI-VISA 4.4.1 installed as well.  All my gear of PXI chassis and NEITHER appear in MAX.

    LabVIEW is currently not able to see my 3632 on the bus A VISA, but the Agilent connection Expert he sees very well.  I am at a loss as to why NI-VISA do not.  Help, please!

    Thank you

    Sean

    Thanks for the replies, but I found it finally.  The Agilent IO 15.5 Suite library helps:

    ----------------------------------------------------

    Activation of the NI-VISA for Tulip Passport

    For software OR recognize the Agilent material, you must activate the Passport NOR VISA for Tulip. It is a software module that is included with NI-VISA for support of Agilent material and is not enabled by default. Use the NI Measurement and Automation Explorer (MAX NOR) to activate the passport for Tulip.

    In versions 3.0 and later of NEITHER MAX, you can do:

    Beginning NOR MAX
    Click Tools > NI-VISA > VISA Options...
    In the tree, select passports.
    Select the passport for the Tulip checkbox.
    Click Save to save the settings
    Output OR MAX, wait a few seconds and restart NI MAX (you must restart NI MAX for your changes to take effect).

    For details specific to your version of MAX to OR see documentation of NOR.

    ----------------------------------------------------

    It worked like a charm.

    Thank you

    Sean

  • Agilent E3640A PSU with GPIB-USB-HS

    Hello all, I created an Agilent E3640A power control software standard interface GPIB. It works very well. Now, I want to replace the standard GPIB interface (with GPIB card) with GPIB-USB-HS adapter cable, so that I can send commands via USB connection, eliminating the need for GPIB card. How can I use my existing application to work with GPIB-USB-HS adapter cable? Is this a change? or I completely rewrite the code, and if so, are the drivers available for GPIB-USB-HS adapter cable? Thanks Jeet

    More information please.

    Have you removed the PCI interface before you try the USB interface? If this is not the case, your program may still try to access the E3640A on the PCI card.

    What is the USB HS recognized in Explorer measurement and automation as GPIB0?

    The E3640A knows if scan you for Instruments to MAX?

    What (number) error is raised during the execution of your program with USB HS?

    It would also help if you could show us NI SPY logs saved when executing your program with PCI and USB-Interface Card

    Usually you don't need to install different drivers, because the package NOR-488. 2 installs drivers for all variants of the NI GPIB hardware.

  • I need to query the name of Board/controller/interface 488.2 (GPIB-USB mainly)

    Having an application that communicates with HP8510 & HP8720 NWA. Can I ask what kind of test set is connected, but how I ask not what model of GPIB-USB is connected? A model interface using 'A' requires some State read to complete, but the "HS" crashes (for what seems like the expiration time). If I comment out the code to read state, "HS" works very well. Sort programs NOR that come with 488.2 software can get all kinds of info on the controller. Please tell me the web/manual/whatever page that shows how to do this.

    Thank you

    Hello

    The properties of all of the GPIB cards that you have connected to your computer are found in a GPIB.ini file.  The location of this file may be different, based on the version of NOR-488. 2 you have.  "" "" I have version 2.52 and on my system, it is located in C:"Documents and Settings" all users "Application Data" National Instruments "NOR-488. 2' gpib.ini.  It is imporant to note that this file should not be changed under any circumstances, because it could cause a lot of problems able & Automation Explorer (MAX).  Once you open this file, you can see under "BoardName" what Board GPIB is attributed to GPIB0, GPIB1 and so on.  You can analyze programmatically then this file (in read-only mode) to see what card is connected to your instrument.  Have a great day!

    Kind regards

    Todd v.

  • my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    my Apple Watch does not record the data of my activity on my iPhone. The application of the activity is implemented on my watch and twinned with phone and not yet to record data.

    HI - try the following steps:

    On your iPhone close application of activity and also, if it runs in the background, the health app (you can close open apps, including the app shows):

    -Double-click the Home button, and then drag upward on each of the app previews to close.

    It can help to restart your iPhone and your watch. Turn on both devices off the power together first, and then restart your iPhone before restarting your watch:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To switch on: press and hold the side button until you see the Apple logo.

    If this does not resolve the problem, try next disconnect and rematching of your watch:

    -L'app shows on your iPhone shows backups automatically, including a new when the unpairing via the application.

    -Choose to restore the watch (backup restore) when provided the opportunity during the whole.

    -Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code).

    - Pairing your Apple Watch and Support Apple - iPhone

    - Set up your Apple Watch - Apple Support

  • After a time when the data added to the interface user blocked - WPF

    I am currently using WPF graphics.

    I have created a simulation that describes the problem that I have experienced in my application (attached).

    I have two sons, we generate data (in my application gets the material data every second) and the other copies the data in the user interface (copy the data to a variable, which bind to the data source).

    Every second I get 1000 points and adds them to the data. The first seconds it works well, after a while it gets stuck.

    I added a listbox control that displays the time, need to add the variable data and gradually increases.

    I have two questions:
    (1) did whenever I have add data, it attracts all the existing data again? If so, theres a way to improve or prevent this behavior?
    (2) how many points can represent the graph at a glance? (which is the limit of the graph)?

    Thank you

    HODAYA Shalom.

    Your example updated debugging, I think that the question is the Dispatcher.Invoke calls that you use to communicate with the user interface thread. Since you use the delegate only, all calls are sent with Normal priority, which means that events of low priority (as made graphic, or updated on day of data binding to scales) can get transformed. Using a lower as priority Render four Invoke calls not glued to the UI in my tests.

  • Connection of GPIB USB HS TWO agilent instrument (power)

    Hello

    I'm fighting to control two power supplies (E3631A) Agilent using GPIB USB HS connection.

    But they are not detected as TWO different power supplies regardless of STAR or linear connection.

    However, when I try to set up a power source and a Tektronix oscilloscope, they are considered TWO different instruments.

    Single power supply control is also OK.

    So, I'm wondering how to set up TWO power supplies.

    I enclose the code VI to not control than a single power supply and want to extend to the version of the two instruments.

    you have configured the power to two addresses different gpib?

    This is needed!

  • Interface and installation of my instrument with lab view and keithely, GPIB-USB-HS

    Hai...

    We have 236 Keithleu and software vision lab and GPIB-USB-HS. I had the GPIB software installed is OR-488. 2 3.1.1

    Now, I had the indication like that.

    1. in Kethely no indication

    2. in GPIB +'s got orange led in ready icon.

    3 but if I runt the program I found no results.

    So can you me the interfacing of the keithlye and alo for the GPIB and also computer.

    Regads.

    The pilot here can help you. I suggest you first learn how to set up the action manually. Then study the programming guide to understand what commands you need and the settings for them. Good luck.

  • How to record data using a while loop?

    Hello

    I created a .vi I try to use to record several channels of data. I have implemented the user must be able to record data until the "STOP" button is pressed, then the data is saved in a spreadsheet file.

    Question No. 1: How to allow the user to store an indefinite amount of data?

    If you run the .vi as is, you will see that you are only able to collect 100 points, and registration takes place during Ms. I want to collect about 5 minutes worth of data and have a sampling frequency of 1 kHz.                 Any suggestions?

    Question 2: How can I change the worksheet file extension? Let's say I want than to save it as a .csv file?

    Thanks in advance for any pointers or suggestions!

    I have not looked at your code, but only based on your description I would implement a producer/consumer to save your data.  You must acquire your data in a loop (the producer) and send to your loop of logging (the consumer) using a queue.  Yes, you must save the data, then that is acquired.  In this way, you do not have to worry about storage who knows how much data in RAM.  It's just the disk as soon as he can.

    You can save the file with whatever the desired extension.  If you want it to be a CSV file, then do the extension a .csv.

  • How to configure the options of oracle community such as, I see the answers to the questions posted by myself in a separate stream of data/place?

    Hello

    Thank you for your initiative on the oracle community.

    I love the community and wants to play an active role.

    However, I see the discussions initiated by me in a separate stream of data/place rather than mix them in all the other debates.

    is it possible to search all discussions posted by me only in one place?

    Is it possible to configure the options so that only the answers to my questions will be displayed in the Inbox?

    It used to work before, however, I subscribed to a few communities and my Inbox is bombarded with all the discussions. I read and try to answer on the other discussions, but it is difficult to keep track of discussion initiated by me?

    Help, please.

    Its there in your profile

    user10163762

  • Insert data to tabe in interface web oracle

    Hello.
    I created and inserted the data from my database using SQL more.
    all tables created sucsefully and I can see them YES.
    but all rows in tables shown empety (this means under the lines, the column is empety not 0).

    now how to check the data that I inserted in the tables? I can see them in YES? (web interface)

    is not anyway to see the data in the web interface (web console in EM)?

    Don't know what your problem is... in EM you choose schema tab, in "Data objects" you select Tables, and then select a schema, and you can see the list of tables: you choose a table and in Actions, you choose 'view data '. It does not work?

  • GPIB instrument legacy Microlink 4000 using GPIB-USB-HS

    Hi all

    I face three recorders of older data, Microlink 4000, connected through GPIB and interfacing with my PC through GPIB-USB-HS.

    There is no drivers for data loggers...

    Their main in MAX addresses are displayed and I am able to send commands, but I'm not sure what to do now to begin to read the data recorded by each module.

    I think that I am just not access to the secondary address of each module or using the wrong commands. I've scoured the web for the manuals and orders 488,1 but they do not work in the interactive control of VISA.

    that is (Hex 0xBFFF0015) Read error occurs whenever I ask devices...

    Specification of the system:

    • power supply 3 x 4301
    • control units 3 x 4300
    • basic unit of time 1 x 4010
    • 34 x 4030 (12 Bit A - D converters)

    I apologize if I have not attached enough information still very new to LabVIEW and MAX.

    Please advise!

    Thank you very much

    JChan


  • OR GPIB-USB-HS + NI GPIB-USB-HS vs

    I have a visual basic program 6 which measure IR using a meter of high resistance of agilent 4339 B.

    The existing work PC running Windows XP and use the NI GPIB-USB-HS and works very well.

    The original code uses the 32-bit Visual Basic Language Interface Version 1.7 of National Instruments with the DLL of NOR-488.

    When I try to use the NI GPIB-USB-HS + controller it does not work. I installed the new driver for the NI GPIB-USB-HS +.

    I uninstalled the driver and returned to the NI GPIB-USB-HS controller and re-installed the driver appropriate for her and the program works.

    I tried to implement the same program on another PC and could never get the program to communicate with the tester using the

    OR GPIB-USB-HS + controller.  That is when I decided to check the controller has worked on the original PC and discovered that it is not.

    I also had the same problem with communications with the bridges of cap and had to re - write programs using NI-VISA that the

    OR GPIB-USB-HS + works fine when with.

    I would have thought the NI GPIB-USB-HS and the NI GPIB-USB-HS + both work on the same application without any

    code changes just and necessary update the driver.

    I thank in advance for any help, you can provide on this subject.

    Thanks - I made some progress on that yesterday.

    It turns out that the initial program had the primary address of the hard coded device.

    I added logic to get the main address of the device and I have replaced the hardcoded with a variable value.

  • Connection of an instrument with GPIB-USB connection.

    I am trying to use a GPIB-USB adapter to control a unit of Source of LabView. However, I have problems my instrument drivers to recognize the GPIB address specified for the device. I have attached an image below the address specified by IO Keysight connection Expert. I am currently trying to initialized the EMS with the GPIB driver I have attached below. Because of my knowledge limited in LabView instrument control, how should I approach of collecting the correct address of GPIB and recognize it in my VI?

    Hi wyattcurtis824,

    Before we dig into the LabVIEW code, I would recommend a Test Panel of max aperture and trying to communicate with. Are you able to send orders via Keysight connection Expert or NI MAX and see the valid data?

    In addition, when you run the vi in LabVIEW, is pilot it returns an error in the error on the box? If so, what the error is?

    This shoule information help us to the root of the problem.

    Best,

Maybe you are looking for