Hp 4192 a instrument driver doesnt have a frequency output

Hello friends
I am using Hp 4192 A impedance analayzer and I am using the drivers given in the Ni website. I am able to control the instrument with it ,but as the instrument driver has only two outputs for display A and display B i am not able to record the corresponding frequency measurements (which is the 3rd display) . Also with the same vi (the one which i wrote) it sometimes sweeps slowly , sometimes does it quickly but the sweep doesnt restart at 1000 kHz(sweep is supposed to be in loop), and sometimes it works perfectly.Its driving me nuts.
Please help me as my research needs measuements from impedance analyzer.
Thanks

This shows the nuts and bolts of every driver for every instrument out there.  This is a query, which means you are expecting an answer.  Some commands just tell the equipment to do something, so you don't need the VISA read part of it.
This picture is intended only to show you how nice and clean it could be to make your own drivers in LabVIEW.  I highly recommend reading some sort of LabVIEW for Dummies kind of book AT LEAST.  That will show you how to do basic stuff in LabVIEW.  And of course, read the equipment manuals.  If you know how to use the instrument, you can concentrate on the programmer's guide.  If you don't know how to use the instrument... whew - usually HP/Agilent manuals are several hundred pages of boring reading, but they are very thorough about how to perform measurements!  After that, you are ready to ask questions here!
In fact, poke around your instrument's programmer's guide to see just what I told it to do.  If you can figure it out, then you are starting to understand the programming flow and it will be no time before you are writing your own stuff.
Good luck!
Bill
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.

Similar Messages

  • "Import CVI Instrument Driver" doesnt work when parameter is viSession pointer

    Why does "Import CVI Instrument Driver" menu selection generate a LLB that has VIs which have not been generated correctly when a VI function parameter returns a ViSession pointer. The only one generated correctly was "initialize", however, "autoConnectToFirst" was not. They both have similar prototypes in the .FP file. When I look at the block diagram of the init VI, there is a "IVI New Session" control, but in "autoConnectToFirst", there isn't. Therefore the session returned in Labview is 0, but the session returned in C (through debugging) is a valid session.

    The strict answer to "Why?" is because we only implemented the special initialization code for the Initialize function. "autoConnectToFirst" is optional in VPP 3.2, and we chose not to implement it as a special case.
    You'll just need to fix the Call Library Node in your VI wrapper to use the proper prototype. I'm not sure how best to handle the "IVI New Session" call; it really expects both a name and viSession, and "autoConnectToFirst" doesn't seem to return the name of the resource it chose. The "IVI New Session" function is what tells LabVIEW how to connect the VISA (or IVI) resource names with your viSession. You could call "VISA Find Resource" to get the first name and see if it's a supported device; this is supposed to match what "autoConnectToFirst" does.
    Along those lines, you might be better off implementing "autoConnectToFirst" yourself in LabVIEW. I.e., call "VISA Find Resource", and loop through the results calling your "Initialize" function until you don't get an error.
    Let me pull up a soapbox for a moment...
    There's a common misconception that "Import CVI Instrument Driver" creates a perfect LabVIEW wrapper around a VXIpnp WIN or IVI-C driver with no manual intervention. The reality is that you will almost always have to do some manual fixups of the converted driver.
    In LabVIEW 7, we improved the converter somewhat, and converting an IVI-C driver is now a three-step process: pre-processing the IVI-C driver, importing into LabVIEW, and then doing some programmatic fixups of the results. The resulting wrapper is better than earlier versions of LabVIEW, but it's not uncommon that you will still have to manually fix something up to make it a good, usable wrapper.
    That's why we consider "Import CVI Instrument Driver" to be a tool for instrument driver developers. If a vendor creates an instrument driver for an instrument in C, it doesn't make sense for each end user to have to create the LabVIEW wrapper, including all the manual fixups.
    Of course, if a vendor wants the best LabVIEW connectivity, they should write a LabVIEW-based driver. But if they're going to only write C- or COM-based drivers, they should create and distribute high-quality LabVIEW wrappers and not force end users to figure out how to do it on their own.
    My two cents.
    Brian

  • Import CVI Instrument Driver in LabView 8.6

    Hi,
    I am working on Instrument Driver and have code developed in LabWindow/CVI. I have got the information of importing those code in LabVIew through Import CVI Instrument Drive option in Tools»Instrumentation but can't able to see such option on the stated menu. We are using LabView 8.6 Evaluation Version and about to get the License of the same. Does such option unavailable in 8.6 version or am i missing somewhere??
    Please help me !!
    Thanks in Advance,
    Vivek
    Solved!
    Go to Solution.

    Hey Thanks Alot Dennis. I didn't know we need to perform such things. But Why we reaaly need to install those Wizard. If possbile would definitely like to know the reason.
    Thanks,
    Vivek

  • How to save changes to downloaded instrument driver

    I am using downloaded Tk278x drivers. The default address is different from my what I want. I tried to change the address in the VIs. But I am not lucky. How can I do it? Many thanks.

    It looks like this is a driver that Tektronix wrote and donated to the Instrument Driver library. The VIs on the palette are a mix of examples and instrument driver VIs, and the examples hard-code the GPIB address. (The instrument driver VIs have the white background on the icon, and the examples have a gray background.)
    So, if you are interested in using one of the examples in your application, I would make a copy of just that example VI. Be sure to rename the VI when you make a copy. (E.g., "My TEK 278X.vi". Otherwise, since LabVIEW only allows one VI of the same name in memory at a time, your application might link to the original VI in instr.lib.) Ensure that all of your VIs reference the new copy, and not the VI with the original name in instr.lib.
    In these examples, it appears that there's a string constant on the diagram that you just need to change from "1" to whatever your GPIB address is.
    I hope this helps.
    Brian

  • Itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?

    itunes is copying/converting 500gb of music from .wma to .m4a files that are on an external drive onto my laptop which doesnt have enough room. how do i reroute these newly converted files somewhere with enough space for them?
    new to itunes, used windows media player before that and always ripped music directly to an external hardrive and accessed it through the player. now that i downloaded itunes it is taking from the external hardrive and copying a second file for each song onto my lap top hard drive which does not have the capacity for all my music. as itunes converts music files i want them saved back onto my external drive or another location i have space for rather than the lap top. how do i change the setting to move the itunes media folder to another location. assuming that hitting copy and past and dropping it in a random location will cause a few errors.

    When I have done this, all I did was network the two machines and copy the contents of the iTunes folder to the other machine, and that's it.
    My understanding (which may not be 100% correct) is that the one file that is absolutely necessary is iTunes Library, and that the XML file is actually a copy auto-generated from the iTunes Library, appearing in a different format only for non-iTunes apps that take advantage of the iTunes Library data.
    As far as I know, if you simply have the Library (database) file and all your original music files, iTunes on that computer should operate as it did on your old computer. I believe that the Album Artwork, Genius Data, and XML files can be regenerated from the Library file. Not sure about the Extras file.

  • I purchased Photoshop cs5 a while back in disk form for my old imac. Now my new laptop doesnt have a disc drive... can I get the program onto my new computer? I don't have the box, but have the old computer it's on...

    I purchased Photoshop cs5 a while back in disk form for my old imac. Now my new laptop doesnt have a disc drive... can I get the program onto my new computer? I don't have the box, but have the old computer it's on...
    also had a friend place inD and Ai on my old laptop and am curious to know how to get it to my new one

    As long as you have your serial number, you may download and install
    OLDER previous versions http://www.adobe.com/downloads/other-downloads.html

  • How do i download my adobe photoshop & premiere elements 7 onto laptop that doesnt have disc drive?

    so basically years ago my family bought me the duo pack of adobe photoshop & premiere elements 7 for christmas.
    i downloaded it onto the family computer back in the day.
    i finally got my own laptop.
    but of course it doesnt have a disc drive.
    i still have everything adobe, including the discs and serial numbers.
    how can i download my favourite thing in the whole entire world onto my laptop?????

    you could use a computer with a disk drive to copy the installation files to a usb stick and transfer the usb stick to your new computer.
    or if you follow all 7 steps you can directly download a trial here:  http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml/comment-page-1#comment-2174
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • I have a mac OS 10.8.2 and I want to download office mac 2008 however it is a cd rom and my comp doesnt have a cd rom. Is there any way to still download it without buying an external disk drive?

    I have a mac OS 10.8.2 and I want to download office mac 2008 however it is a cd rom and my comp doesnt have a cd rom. Is there any way to still download it without buying an external disk drive?

    Yes, if you have access to another computer with an optical drive. You can connect the two computers via your home network and use File Sharing to transfer the installer to your HDD. You can also use:
    DVD or CD sharing- Using Remote Disc
    Remote Disc, Migration, or Remote Install Mac OS X and wireless 802.11n networks

  • New imac doesnt have a dvd drive, how do i ...?

    so, since the new imac doesnt have a dvd drive what is an alternative way to watch mymovvies and download cd's ? i think apple messed up removing the dvd drive and people that have/will buy thew imac deserve a refund or something to connect to the imac that reads discs or something.

    If you bought an AV on DVD, then it's you who failed to buy the correct product.  You can buy lots of different AVs through download.
    If you needed a computer with a built in DVD drive, then it's you who failed to buy the correct product for your needs, if you weren't willing to buy the seperate DVD drive.
    Keep in mind, you also never payed for a DVD drive in the first place, since the computer's price would have been adjusted accordingly.  So you don't get something for free that you never payed for in the first place.

  • I have an in-house instrument driver written in labwindows, is it possible to use this driver in labview?

    If this is not possible, how do you go about converting it for use in labview?

    Just go to Tools>Instrumentation>Import CVI Instrument Driver. In LabVIEW 5, it's under the File menu and is called Convert CVI FP File.

  • Do you have an instrument driver for E4418 Power Meter

    I am trying to find an instrument driver for one of our power meters so as to be able to add a datalog capability to it to store time stamps and readings

    Hi Moe,
    I was able to find a driver for you on Agilents site. You can check out http://we.home.agilent.com/cgi-bin/bvpub/agilent/e​ditorial/cp_MiscEditorial.jsp?LANGUAGE_CODE=eng&LA​NGUAGE_CODE=eng&COUNTRY_CODE=ZZ&NAV_ID=-11956.5368​80169.03&ID=1000000710:epsg:sud&JPID=/find/xbv_sud​_vxipnp for the details.
    Hope this helps out Moe!
    Best Regards,
    Aaron K.
    Application Engineer
    National Instruments

  • I am trying to continuously switch images on the VI, but it freezes when I try to access an oscilloscope through its instrument driver.

    I am drawing 2 different colored rectangles contiuously on the screen using a while loop. I try to get information from an oscilloscope while this is switching, but the loop stops while the instrument driver aquires the measurement. The oscilliscope value depends on the switching of the rectangles, so I need them to occur simultaneously.

    First you should have the two operations in different loops so one doe snot stop and wait for the other.
    This should get you closer to what you are asking if you are not doing this already.
    Next, look at the code you are using to get at the scope. If it opens/reads/closes, you can sped things up by opening once, repeatedly reading and only close at the end.
    If you have covered all of the above, then provide more info (i.e. post code) So we can be of further assistance.
    FWI There was a version of VISA that code "Lock-up the CPU" when doing reads. Are using VISA and do you have the latest version?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I would like to know which instrument driver works for the Tektronix TDS 544A

    I am trying to use TDS544A with CVI and downloaded the driver for TDS 540 and it didnt seam to work... should it? If not, which one will???

    Hello,
    Well, it appears that you are correct in that it must be somewhat different since you are getting the errors you described. Since that is the case and we don't have an instrument driver for that particular instrument, I would recommend one of two things. Try to modify the existing instrument driver to send the commands that your instrument expects, or make regular Visa calls to communicate with your instrument.
    Also, I would encourage you to submit a request for the specific instrument driver you are interested in. I cannot guarantee when or if it will be created, but they will evaluate what can be done and get back to you. You can submit that request here:
    http://zone.ni.com/idnet97.nsf/instrumentdriverrequest/
    Good luck
    with your Application!
    Regards,
    Steven B.
    Applications Engineering
    National Instruments

  • "undefined symbol" error while using a custom instrument driver

    Hello all, I'm facing a problem related to instrument driver creation.
    I want to pack a part of my code to a .FP to be able to reuse it in other applications of mine. This part of code includes calls to Windows API and a third party dll. I have included both windows.h and the include for the dll in the header file for the instrument. I developed the source code and next a little application that simply calls one function to test the result of my work, but I get some 'undefined symbol' errores while linking the test application with the instrument. The instrument header file is included in program source file.
    Situation is as follows:
    I can run the test application if I include the source file for the instrument directly in the project (without loading the instrument)
    I created a static library and can have the test program up and running if directly including the library in the project (again without the .fp file)
    I get linker errors when trying to use the instrument I created based on the same code, both when including the instrument at source code level and when including at library level. Adding the .fp to the project makes no difference
    Linker errors are all related to WinSDK and third-party dll functions.
    Question is: where and how I have to declare the symbols apart including the appropriate .h files in the instrument header file?
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

    Being waited on to log on... how flattering
    I wish I had a simple and obvious solution, but I don't.
    The problem in this case is that, whereas DLLs (via their import libraries) carry no additional build-time dependencies to their clients, that is not the case with object files and static libraries: any project that uses those .obj and .lib files must satisfy all of their dependencies when that project builds.
    There is a mechanism, with .fp files, to advertise such dependencies to the clients of the .fp, and that is the auto-load list (Edit>>FP Auto-Load List, in the function tree editor). The caveat, however, is that these indirect dependencies must have a companion .fp that you can add to this list. And in your case, you don't have one. So the only solution I can think of is for you to create a very thin wrapper module where you would wrap all of the SDK functions that you need, then create a basic .fp for this wrapper -- you can do this semi-automatically, from the header file (Options>>Generate Function Tree) -- and then add this .fp to the auto-load list of your primary .fp. And then you'll probably have to create a second .fp wrapper for your other dependency (a non-SDK third-party DLL?).
    Once you have declared the dependency chain for this .fp, you should then be able to use it on any test application and CVI should know to link in these additional static libraries whenever it builds the test application.
    If you choose to go this route, you'll probably have to deal with a bunch of non-standard data types in the parameters of the SDK functions. I don't remember if these are automatically added to the .fp when you create it from the header file. If not, all you need to do is add them to the .fp  later (Options>>Data Types, from the function panel editor). Don't worry about providing the definitions for these data types. They're not necessary. You just need to make sure that their names are in the list.
    Luis
    Message Edited by LuisG on 05-19-2010 10:43 AM

  • I synced my phone lastnight and now it says my phone cant connect to computer the Apple Mobile Device USB Driver doesnt work?!? i deleted itunes and reloaded still not working.... Does anyone know how to fix??? i just want to upgrade to IOS6

    Does anyone know why my Iphone will not connect to my computer all of a sudden? I backed it up lastnight. Now it wont even register with my computer.... It says Apple Mobile Device USB driver doesnt work all of a sudden???? i tryed deleting and reloading and nothing is working!!! someone please help =)

    Have you done:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    What results do you get when you run this:
    iTunes for Windows: Device Sync Tests
    Do both the Home button and Power button work OK normally?

Maybe you are looking for

  • Need help with Olympus E-M1 and ACR 8.3 Results

    Hi: 1.  I'm fairly familiar with photoshop and ACR, but definitely not an expert.   I'm also very familiar with the Olympus RAW files since the E-5 (I've owned the E-5, E-M5 and several Pens);  I now recently purchased the E-M1 and I've been having p

  • Not connected in the internet?? after i updated my itunes to 10.5.3.3

    after i updated my itunes to 10.5.3.3 i cannot update my ipad to ios5. it says i cannot connect to the software update server because im not connected to the internet?! i already checked the firewall settings and still it cannot connect to the softwa

  • Help with Adobe Bridge CS6

    Before my Mac was updated my Bridge was working fine.  Now it won't open all the pictures I select for editing.  What can I do to fix the problem?

  • Doubt regarding File Content Conversion. File- RFC

    Hi Experts,     My scenario is File -> XI -> RFC, I am able to update the records in R3 when i get a fixed length file with a single record. RFC can process one record at a time (its 1 to 1 , its not 1 to unbounded), May i know what are the changes t

  • Illustrator CC crashes on start after 17.1 update

    My copy of Illustrator CC was working absolutely fine until I stupidly updated it to 17.1. Now it crashes on startup with the error dialog "Missing required plugins. PDF File Format". Now I haven't done ANYTHING to cause this, but my mission-critical