LabView - Agilent 34970A initializer error

i am using LabView 6i connect with GPIB-PCII (ISA) to Agilent 34970A
i downloaded VISA software and use it to control my device. However,
the initializer for the 34970A sent an error message "old visa occur
with my device". LabView can still run, but didn't trigger the device
to start taking measurement.
the error message number is 107380743
i would be appricated if anyone can help on this issue

Here's a copy of my modifed VI.
Attachments:
HP34970A_Initialize.vi ‏113 KB

Similar Messages

  • Errors 410 and 420 with Agilent 34970A

    Hello, all. I'm helping a colleague with an application measuring ten channels each of temperature, frequency, and current using an Agilent 34970A DAQ switch (GPIB) and LabVIEW 7. We keep getting errors 410 and 420 from the switch. When the error occurs, then the switch doesn't report all 30 pieces of data. I'm looking for ways to a) clear the error; and b) prevent the errors.
    Thanks in advance,
    -Dan A

    According to the manual, 410 is Query Interupted and 420 is Query Unterminated. The first can happen when you send a query but there is still data in the output buffer. If you've requested a certain number of bytes during a read, you probably need to increase that number in order to sure that all data is retrieved. A Device clear command will clear the error. Query Unterminated happens when the instrument is addressed to talk but there is no command pending that will place data in the buffer. The example in the manual cites sending a CONFIG command which doesn't generate data and then doing a read.
    Are you using the drivr from NI or have you written your own?

  • Agilent 34970A External Reference Configuration via Labview 8.2

    Hello
    I am trying to scan up to 12 channels with the Agilent 34970A. My goal is to measure the temperature using channel 101 as the external reference using 4-wire RTD whereas all the other channels are supposed to use Thermocouple (k-Type). I know that the Agilent is able to do so, because you can configure it on the manual display. My problem is that every time I have configured Channel 101 ( CONF: TEMP FRTD,85, (@101)) and then the other Channels 102:1XX ( CONF: TEMP TC,K, (@102:1XX)) it seems that the configurations for Channel 101 are lost. I tried everything I could come up with to seperate the inputs, but nothing usable comes up. Any Advice?
    Thanks Neja

    There are two different drivers sets for the 34970, but they're not from Agilent. They're available from the NI Instrument Driver Network. Since you said you had it working under 7.1 you're probably using the older "hp34970" drivers. The error codes you indicated are -138, which is "Suffix not allowed", and -113, which is "Undefined header". Both of these basically mean a syntax error, which is likely incorrect code with the drivers. There are numerous configuration VIs. Which one are you using, and how are you calling it? Can you use the updated project-style drivers available from the link I posted?
    I'm not quite sure I understand what you're saying with the COM ports. You said you get nothing when using COM1 or COM2. How many devices do you have connected to your COM ports? What communication parameters (baud rate) are you setting?
    It would probably be worthwhile to see what happens if you try to talk to instrument via MAX to see if this is a communication problem or a LabVIEW problem. With the LabVIEW drivers you can see what command is being sent out to the instrument by simply putting a probe on the string that's being fed to the VISA Write. Then, you can enter the same command in MAX (as well as confirming the command from the user manual) to see what happens.

  • Communicating with agilent 34970A using labview.

    Hi,
    I'm using labview to control agilent 34970A DAQ. I was using VEE and
    now I'm planning to use Labview. I downloaded the necassary drivers. I
    want to know how i can get started. i.e. generating sub vi's like
    initialize.vi etc.
    -Satya

    When you do what Dennis has suggested you'll also find that there will be one or more high level examples included with the Instrument Driver that use the lower level functions. The document on how to write LabVIEW Instrument drivers is pretty useful in getting an overview:
    http://zone.ni.com/devzone/devzoneweb.nsf/Opendoc?openagent&D318B79F473D3C838625680A005AC409
    Regards,
    Kamran

  • How do you setup a fixed reference in LabView when gathering temperatur​e data with Agilent 34970A

    Hi I am using Agilent 34970A to gather a lot of thermocouple data. Until now I was using it soley with the internal reference. I was hoping to switch and set this to a fixed reference. In Lab View, how do I select which thermocouple is the fixed reference thermocouple?

    19rachael91 wrote:
    Hi I am using Agilent 34970A to gather a lot of thermocouple data. Until now I was using it soley with the internal reference. I was hoping to switch and set this to a fixed reference. In Lab View, how do I select which thermocouple is the fixed reference thermocouple?
    Could you show us some code?  Your question is a bit open-ended and we could considerably narrow down the choices based on what we see. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Trying to update channels in real time while controlling Agilent 34970a

    Hello all,
    I've gotten such valuable help on these forums and I am hoping that someone will be able to point me in the right direction with this issue. I'm still pretty new to LabVIEW so please bear with me.
    I am working with the LabVIEW driver for the Agilent 34970A connected over a GPIB-ENET 100/1000. The device was detected and works just fine. The reason I am writing today is that I am trying to update the channel list in real time. Currently I need to stop the whole process in order to edit the channel list but due to the nature of the tests we will be performing it is important that I can add more channels as I go without interrupting the testing going on.
    I've searched the forums and tried modifying the channel string control to "Update value while typing," and "Limit to single line." The motivation behind the latter change was so that I could modify the channel list and use the ENTER key to execute. I've also tried creating a while loop with shift registers but the construction ws so clumsy that it did not work either.
    I am pretty sure that the modification should occur right at the string control but cannot be certain since the pint is for it to reinitialize what channels to scan and that occurs further down in the VI. I've attached the VI I am working with; it is an only slightly modified version of the driver's Advanced Scan Example. 
    Thank you all in advance,
    Yusif
    Solved!
    Go to Solution.
    Attachments:
    HP34970A Advanced Scan Example_YN_5-16a-12.vi ‏77 KB

    You may have added a shift register, but you're not actually comparing anything. You need to compare the value of the control to the value of the data coming from the shift register to see if it changed. If so, change the scan list.
    If you need to have a delay after changing the scan list, then you should add the delay inside the case structure that calls the VI to reconfigure the scan list. You can use the Time Delay VI to cause the delay to occur after configuring the scan by using the error wires to force execution order.
    P.S. Your naming scheme for VIs implies that you are probably not using a source code control system. If so, you would be well served in taking the time to learn about source code controls systems and installing one. It's very easy, and there have been numerous threads in the LabVIEW forum on recommendations of source code control systems.
    Attachments:
    changed.png ‏15 KB

  • Problème carte 34901A sur Agilent 34970A

    Bonjour,
    J'ai un problème sur l'acquisition en impédance de mes cartes 34901A des centrales d'acquisition Agilent 34970A. Lorsque j'utilise mon programme labview, la centrale me retourne une valeur d'impédance fausse. (pour une résistance connue 351Ohm, la centrale me renvoie 351 +/- 40Ohm).
    Ce problème est récurrent et cela arrive sur plusieurs de mes systèmes utilisant les cartes 34901A.
    Quelqu'un a t'il déjà recontré ce problème la?
    Merci,

    Bonjour Tomaks,
    Il semble en effet d'après votre retour que le problème soit matériel et non pas logiciel si celui-ci n'apparaît qu'avec certains systèmes.
    Peut-être serait-il plus bénéfique de vous tourner Agilent pour vérifier ces points et vous assurer qu'il n'y aurait pas de problèmes au niveau de vos systèmes.
    Par ailleurs, si en effet un autre utilisateur venait à avoir rencontré ce problème, son expérience pourrait être qu'appréciable.
    De mon côté, je ne peux malheureusement apporter plus d'aide car il ne s'agit pas de nos systèmes.
    Cordialement,
    Antonin G. Associated LabVIEW Developper
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Communauté francophone des développeurs LabVIEW et des enseignants en STI2D
    Si vous souhaitez partage...

  • Labview.ex​e generated error

    "I am using LabVIEW 6.1 in windows 2000. I downloaded the Agilent3499A IVI from the website and configured the driver and everything. When I run the Initialize.vi, I have this following problem.
    LabVIEW.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created.
    I don't know where this error log is getting created.
    Any help will be appreciated. Thanks"

    I have the same problem/ error when I try to run my VI controlling R&S CMU200, and it was due to wrong GPIB Address on the equipment.
    Would it be the same problem? How about checking that the equipment's GPIB address set is same to that the Initialize.vi is wired to.
    It may not be the problem but no harm to try.
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • MAX Reports-Initialization Error, Editing Components missing?

    Using a NI PXI-1042Q and an 4472B Daq card to capture data.  Running LabVIEW 8.2 on a Windows XP system.  The program controls an MID7604 which controls a motor.  Using a program that was written and is now an executable.  To run the program minor file related inputs are required, the motor moves to calibrate its' position, then a test piece is requested to be adjusted.  After the adjustment, file request information is acknowledged (location for data to be placed is ok'd). 
    After pressing OK, the following error message is generated: 
    [ ERROR-200428 occurred at DAQmx Start Task.vi, Possible reasons: Value passed to the Task/Channels In control is invalid.  The value must refer to a valid task or valid virtual channels, Then it identifies the Task Name: __________.] 
    This of course refers to the Task/Channels IN input of the DAQmx Start Task.vi, which points to the task that was setup, not being setup properly or not there.  In our case, it was there and has somehow been removed.
    When going to MAX and trying to setup a new Task:  Data Neighborhood --> Right Click --> Create New NI DAQmx Task,
    the following message is generated:
    !INITIALIZATION ERROR
    Some components required for editing are missing.  Please contact National Instruments for more information. 
    We have already viewed the NI-DAQmx Error-200428 message, and also tried the "How Do I Recover From MAX Database Corruption?" procedure, no change. 
    Please respond. Thanks.

    Typically with an executable you only have the run-time versions and I don't think you can create a task with just the run-time. Somehow the hardware configuration has been corrupted. If you can find the original .nce file that was used on the development system, you can just import that I believe. Otherwise, you may have to install full versions of DAQmx.
    The reliance of existing tasks in MAX is one reason that I avoid them and create everything in the LabVIEW program. Just one thing to keep in mind.

  • How do I set the NPLC on a Agilent 34970A then keep it set when I do a Temp measurement on the channels

    I have an Agilent 34970A DAQ that I am trying to set the NPLC to 10 and keep it set when I issue a temp measurement command to the channels.  Right now I can issue the NPLC 10 command to set the channels and it works but when I send the measure channels command the NPLC gets set back to 1. What am I missing to keep this from happening?
    Thanks in advance for your help.
    Charles

    JimmyJin wrote:
    Hi Charles,
    Was your problem solved? I have run into a very similar situation but instead of HP 34970A, I have a HP 3852A and I want to set NPLC small so that it speeds up the data acqusition.
    I tried Measurement and Automation Explorer and use "communicate with Instrument" under GPIB folder and issue the command "NPLC 0" before running labview. But I did not see any change when I run my LabVIEW again. Since this command was working under VEE Pro, I am guessing the setting for NPLC was somehow reset. I am not sure why.
    I will try use "GPIB write" vi to see if it does anything but I'm not sure if I should set NPLC value everytime. Please let me know what you think if by any chance you see this message.
    Thanks,
    Jin
    I don't think you can set the NPLC to 0, the minimum value is 0.02. Maybe VEE automatically set it to the minimum value. Instead use NPLC MIN.
    Now if you use the MEAS? command to read the value the instrument will use the default value for the type of measurement if you don't specify the resolution (not the integration time, if you look at the 34970A documentation you will see how they relate) which is probably set to NPLC 1.
    If you want to speed up things you may look at the ROUT: SCAN and READ? commands to define a scan list.
    Ben64

  • Analog close channel for agilent 34970A

    Hello,
    I am a new user of labview.I need some help programming my Agilent 34970A.
    I can initiate communication with my instrument and take data,but I want to close a particular channel and read channel several times and average.
    I was looking for a VI something like "Analog close channel" using which I can close a particular channel,read it several times,average the data and then go to the next channel.
    Could you please help me in this issue,eagerly waiting for a reply.
    Thanks,
    Harinadh. 

    First you need to convert your string to a binary datatype and calculate as needed.
    Ton
    Message Edited by TCPlomp on 11-12-2009 07:40 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    reads 10 samples by closing a channel_BD.png ‏10 KB

  • Compatabil​ity with Agilent 34970a Model

    I need to check if the Agilent 34970a Data Acquisition/Switch Unit is compatible with DASYLab. I know it functions with Labview, but the company I am performing a project for prefers DASYLab. The unit uses the VISA language. Thank you for your help.
    Josh

    How are you connecting it?
    It's not quite as easy as the LabVIEW VISA drivers, but DASYLab has both GPIB and RS232 inputs which can be configured with the appropriate SCPI commands.
    - cj
    Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.

  • Erro open agilent 34970a

    Hello, I'm very new on Labview, I'm using an agilent 34970A. (I'm french, sorry for my english).
    I've made a small program with agilent drivers to get temperatures and it does work. 
    I would like now measure a voltage. I can read it directly on the front panel of the agilent, BUT when i try to read it with the labview programm with the function monitor, the front panel indicate that the channel is open, which is not because I could read it one minute before with the front panel.
    I don't understand the problem because my program is very simple and excutable, there is no communication trouble between the computer and the agilent, so i'm really asking with does the agilent indicate that the channel is open ?...
    I'm sorry for bad explications, I hope your understand my trouble, I've give you some picture to illustrate my purposes.
    Thanks a lot  in advance 
    Attachments:
    progamme monitor.JPG ‏105 KB
    Voltage measure by the front panel.JPG ‏421 KB
    Front panel when I tried to measure by labview.JPG ‏458 KB

    duplicate
    LabVIEW Champion . Do more with less code and in less time .

  • I would like to convert a matlab file into a .dll and use it in LabVIEW. However, when I run the .dll in LabVIEW I get an error stating "... Procedure not found". What could this be? Can anyone help me...

    I wish to convert my Matlab files into .dll's so that I can use them in LabVIEW. I am using 'mcc' and 'mbuild' of Matlab to convert my .m files into .c and .dll.
    When I try to run the .dll's in LabVIEW, I get an error message in a modal window stating some required .dll or procedure is not found.
    How should I resolve this issue. Should I add any other Matlab .dll's in course of making my .dll?
    Please help in solving this issue... Thankyou very much.

    KJV wrote in message news:<[email protected]>...
    > When I run the matlab generated dll, it is stating 'matllb.dll not
    > found'. Is it that I should set the path for matlab\bin to include
    > all the dll's before I compile? When I make dll from C, it works fine
    > in LabVIEW. The problem is from .m to .dll. The problem also arises
    > when I convert my .m to .exe. The same error of 'matllb.dll not
    > found' comes over. Should I change my matlab compiler options or
    > something else? Please help me?
    I have the same question,I don't know how to use the matlab DLL file in labview,
    I hope someone can descripe the procedure in detail.

  • Initialization error [-70012] in Mavericks

    Have a MBP 15”, Early 2011 with a 2 GHz Intel Core i7, 8 GB 1333 MHz DDR3, 1 TB 72000 rpm HD fused with a 120 GB SSD, running OS X 10.9.1 (12B42) the original CD/DVD SuperDrive is removed for the SSD, but installed into an USB case and connected external via USB.
    After installing the SSD and fuse it with the HD, the original, now the external CD/DVD SuperDrive, via USB connected, worked fine under Mountain Lion but now, since upgraded to Mavericks, OS X 10.0.1, it works only with CD’s and even opens DVD’s but the DVD Player does not work at all (initialization error [-70012]) and prevents to watch any DVD movie.
    I researched the Apple discussions boards and others but found not any helpful solution. There are not any DVD or iDVD files on my system. Checked visible as well as invisible files and documents. The Terminal also indicates that there is no such CD or DVD (iDVD) “No such file or directory”.
    However, the System Profiler shows clearly that there is a MATSHITA DVD-R   UJ-8A8: connected with “ Firmware Revision:          HB14 / Interconnect:          USB / Burn Support:          Yes (Apple Shipping Drive) / Cache:          1024 KB / Reads DVD:          Yes / CD-Write:          -R, -RW/ DVD-Write:          -R, -R DL, -RW, +R, +R DL, +RW / Write Strategies:          CD-TAO, CD-SAO, CD-Raw, DVD-DAO.”
    Resetting NVRAM/PRAM did not resolve the issue either. Tried to use 0xED Editor but the command at the “DVDPlayback.framework: /System/Library/Frameworks/DVDPlayback.framework/Versions/A”, brought no indicators of “Internal” or the equivalent hex code. Any smart individual out there, which can help, step by step to get the DVD Player working?
    Thank you.

    Logical or not, and that is your opinion, it is how it works and doesn't work. Sorry but the built in DVD Player App only works with the Superdrive installed inside the system.
    Maybe you applied the HACK in Mt Lion, and don't recall you did it, and when you upgraded to Mavericks is got overwritten.
    Been like that for years with many different versions of OS X and DVD Player App.
    If the Superdriove is installed inside the system you can use the DVD Player App with another DVD drive connected by USB but the Superdrive must be installed inside the case, and or connected to the secondary SATA connector.

Maybe you are looking for

  • My account is blocked

    hello Norman, I saw a post with subject "Blocked account posted by BlackForest". My case is similar to that one.. My skype account is blocked, although I still can use skype to skype call and IM feature is all ok. However, I cannot make outside call

  • Runtime.exec on Linux

    Hi, I'm having some difficulty getting Runtime.exe() to work on Linux. I was trying to run "make oldconfig" from my Java program. public Action()    Process p = Runtime.getRuntime().exec ( "make oldconfig" );    InputStream processStream = p.getInput

  • Is there a way to revert back to Kit Kat on the G3?

    The Android L (5.0) update has made my phone fairly unreliable.  Is there anyway to roll the phone back to Kit Kat until some of these issues are worked out with lollipop on this device?

  • Anyone else had success with Kodak 5100 printing from Time Capsule?

    So I recently bought a Time Capsule and until now have been happily printing from USB port on PC and now on Mac. We were going to buy a wireless printer but found out that the Time Capsule supports that capability by connecting a printer to the USB o

  • Exporting CLOB

    While exporting a table containing a CLOB field I am getting the following error on Oracle 8.1.7. The length of the CLOB is more than 4K. EXP-00056: ORACLE error 24801 encountered ORA-24801: illegal parameter value in OCI lob function anybody knows h