Labview GPIB-USB-HS and Network Analyzer

Hi, I have a quick question; I am currently working with an older Vector Network Analyzer and Labview for controlling antenna array measurements. Currently, we have two Labview VI's that work independently, but we would like to combine them into one to further automate our process. What I am having trouble with is writting to the VNA with the two VI's combined. I have copied the working VI and have setup the same control logic for it in the combined module as it has in the working VI, but it does not seem to work when added with the other .VI.
I am new to Labview, so it is probably a simple error, but if someone could look over what I'll attach and see if there is a solution, I would greatly appreciate it! Currently, in the combined module, there are no errors, and the first part, writing the sequence to the parallel port works, but that writing to the parallel port does not seem to trigger the VNA to become active and write the data. I can provide more details if necessary, but here are the files. The calib1.VI is required to run the VNA_Try, but nothing needs to be changed there; the VNA_Switch_Combine is the one that is not currently working.
Thank you for your help!
Attachments:
VNA_Switch_Combine.vi ‏49 KB
VNA_TRY7.vi ‏27 KB
calib1.vi ‏29 KB

Now I was able to get the program working, but while it was running yesterday, it stopped in the middle of an experiment, and I have not been able to get it to work again.
The error that I am receiving is the following:
VISA: The connection for the given session has been lost.
Previously, when I received this error, I would try a combination of restarting the computer and re-calibrating the VNA, and this would fix it. Now, however, it has been almost two days that I have not been able to get this to work. I have tried using NI MAX to detect the instrument, and sometimes it does detect it, but when it does, I still get the same error. There are other times when NI MAX does not detect the GPIB controller, but there does not seem to be a consistent reason as to why the GPIB device is or is not detected by NI MAX.
What could have gone wrong? The code remained the same, and has not changed since it worked.
Thank you.

Similar Messages

  • GPIB-USB-B and Linux

    Can I use my GPIB-USB-B device under Linux with C++ programs?

    Hello,
    Thank you for contacting National Instruments.
    Unfortunately, you cannot use your GPIB-USB-B device under Linux. You have a couple of options here. First, you can use the driver developer's kit DDK to make your own drivers for this platform. Second, you can contact NI sales to upgrade from USB to ENET, for GPIB-ENET can be run under Linux. If you'd like to upgrade to ENET, please call #(800)531-5066 to speak to a sales representative."
    I hope this helps. Please let me know if I can further assist you.
    Best Regards,
    Joe Des Rosier
    National Instruments

  • Can I set up MF4770n with BOTH usb cable AND network cable to router?

    My MF4770n is connected to desktop pc with usb cable. Can I also add the network cable to router capability so that my laptops can access the printer through my home network? Or, do I need to uninstall the printer and run setup all over? I know that I can just "share" the desktop printer. But I would like access to it when the desktop pc is asleep. Thanks.

    It is possibile to have both.  It is not the best.  Pick one or the other.
    EOS 1Ds Mk III, EOS 1D Mk IV EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 70-200mm f2.8 L IS II, Sigma 120-300mm f2.8 EX APO
    Photoshop CS6, ACR 9, Lightroom 6

  • Windows 8 to windows 7. USB driver and network driver -

    i changed to windows 7 and now i dont have the network and the usb driver.
    i have pavilion touchsmart  14-b115ej sleekbook.
    tnk 

    Hi:
    Below is the link to the usb 3 driver you need...
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5359407&sp...
    If you need the ethernet controller driver (wired), below is the link to the driver you need for that...
    http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/psi/swdDetails/?sp4ts.oid=5359407&sp...
    In order for me to provide the link to the wireless card driver you need, please do the following...
    Go to the device manager, find the Other Devices category, and click on the Network Controller needing drivers.
    Then click on the Details tab at the top of the network controller window.
    Now you see a Property drop down list and it is defaulted to Device Description.
    Drop down on that and select the second item on the list (Hardware ID's).
    Post the top string of characters.

  • Can I use GPIB instruments via GPIB-USB-HS and NI-VISA on MacOS with Matlab somehow?

    I've just installed NI-488.2 (14.1) and I can see my GPIB instruments in the NI-MAX app. However I can not find them in the tmtool function in Matlab. Aparently Matlab on mac does not support GPIB (http://se.mathworks.com/help/releases/R2014b/instrument/supported-hardware.html) but it does support VISA. 
    Do you think there might be a way to connect to my devices in Matlab through VISA some how?

    Hi thanks for you answer.
    Yes, I installed this version: http://www.ni.com/download/ni-488.2-14.1/5090/en/ which says: "NI-488.2 for Mac OS X, Version 14.1, installs NI-VISA and NI-MAX by default". I can also see all the correct .framework-files in the "Library/Frameworks/"-folder:  
    And since I can see (and query) the GPIB devices in both the "/Applications/National Instruments/NI MAX.app" and "/Applications/National Instruments/NI-VISA/NI-VISA Configuration.app/
    HOwever Matlab does not want to detect any VISA drivers...

  • LabVIEWとGPIB-USB-HSを使用して.PCをリスナオンリーにするには

    お世話になっております。
    いつも参考にさせて頂いております。
    弊社製作のをコントローラとノートPCをLabVIEWとGPIBーUSBを用いリスナーとして
    GP-IB通信を行いたいと考えています。
    その前段階路して、ノートPC2台を用いて一台をコントローラもう一台をリスナーにして
    通信を試みました。
    仕様は以下の通り
    コントローラPC
    OS:Windows Xp
    ドライバー:NI488.2
    GP-IBインターフェース:GPIB-USB-HS
    LabVIEW7.1
    リスナーPC
    OS:Windows Xp
    ドライバー:NI488.2
    GP-IBインターフェース:GPIB-USB-B
    LabVIEW7.1
    リスナーPCに添付ファイルのプログラムで実行してみました。
    コントローラ側は単純にLabVIEWのGP-IBの”書き込み”
    を使用して、アドレスを3、デリミタをCR+LF+EOIで文字列を
    送ってみました。
    結果、リスナーPCでデータを受け取る事が出来ましたが、連続して
    アドレス3がリスナー指定されている為、エラーになり止まってしまいます。
    何か設定が足りないのか、よく解りません。
    IFCや別のアドレスをリスナ指定する等して、無理矢理回避する方法も有りますが、
    願わくば、正しい解決法が有ればと思いまして投稿させて頂きました。
    ご教授の程、宜しく願い致します。
    添付:
    GPIBListener.vi ‏25 KB

    岩見 様
    お世話になります。
    >1.現在エラーが発生しているとのことですが、このエラー番号や内容の詳細をご連絡いただけますでしょうか。
    エラーに付きましては、添付ファイルのエラー6のメッセージが表示されます。(VIの名前は違いますが同じ物です。)
    >2.コントローラからの最初のコマンドをリスナが受け取ってから、再度コマンドを送ろうとした際にエラーが発生するのでしょうか。
    言葉足らずで申し訳有りません。
    添付ファイルで実行するとコントローラからコマンドを送ると10秒後くらいにエラーとなります。
    その間操作出来ません。エラーで終了すると表示器にコマンドは入っています。
    ステップ動作で確認するとエラーが出る原因はリスナ指定された事を「GPIBステータス」VIで検出して
    「応答メッセージ受信」VIでデータを取得していますが、「応答メッセージ受信」VI実行後に
    リスナ指定が解除されないため、データが送信されない状態で、
    再度「応答メッセージ受信」VI実行してしまうため、GP-IBのタイムアウトで
    エラーとなる様です。
    今回の様な使い方の場合、「応答メッセージ受信」VIを使うのがおかしいのか、
    何か設定の不足や実行しなければならないVIが有るのかが判りません。
    ”リスナ指定”-”「GPIBステータス」VI実行”-”アドレス指定が解除される”
    と考えていたのですが、違っていた様です。
    >3.「GPIBステータス」VIで「アドレス文字列」に入力がありませんが、これは意図された処理ということで間違いありませんでしょうか。
    申し訳有りません。UPする際に手直しをかけて、誤って消してしまた様です。アドレスには”3”を配線しています。
    お手数をお掛け致しますが、ご教授の程、宜しくお願い致します。
    添付:
    エラーメッセージ.JPG ‏13 KB

  • What is the recommended length of the cable in between the GPIB instrument and GPIB-USB card.

    hi,
    we are planning to use GPIB-USB Controller in our application by replacing the existing GPIB-PCI controller. Our GPIB instrument doesn't have the standard IEEE GPIB Connector. So, we will have to connect one more cable in between GPIB-USB controller and the GPIB Instrument. I just want to know what is the recommended lenth of the cable that can be connected in between the GPIB instrument and the GPIB-USB card. Could anybody please help me?
    Thanks,
    Rajaram

    Page 730 in the 2001 catalog gives detailed cabling requirements for the GPIB bus. It's usually best to keep the length 2meters or less.
    Randy Solomonson
    Application Engineer
    National instruments

  • USB modem in network worked, but accidentaly deleted, and now can't replace it.

    I recently succesfully connected a Nokia 6120 cellphone to use as a 3G modem; the last time I used this was in 2009.
    The USB connection and network place in my network settings "migrated" to its proper place when I upgraded to Lion this year, and when I tried the Nokia again it worked, connected through USB.
    There was a second Nokia network choice on the list in my Network prefs, which I deleted, thinking that it was not necessary. After that deletion, the remaining Nokia setting would not connect the computer to the phone, and of course would provide internet access.
    I tried duplicating the old setting, but now I can't select a USB option when configuring it.
    All my research indicates that this is due to Lion no longer supporting USB modems. However, my Nokia worked just fine, and the old Network via USB setting was still present in Network preferences, and worked just fine until the deletion of one of the Nokia settings.
    Does anyone know of a work-around or a patch that will add USB connectivity to Network preferences in Lion?
    BTW... tried connecting through Bluetooth; I can pair the phone to the computer, but it will not make the modem connetion.
    Would the bluetooth transfer rate be too slow, anyway?
    Thanks in advance
    Glenn

    Found the problem!
    Check this thread:
    https://discussions.apple.com/message/4028119#4028119
    There are, in fact, modem scripts available, and they go into the Library/Modem Scripts folder.
    By deleting the extra configuration, I deleted the old scripts. I downloaded and installed the 3G Nokia scripts from the website shown in the above thread, and my configurations re appeared in Network prefs;
    I went one step further; I connected to the internet using the restored configuration, then selected and deleted (using the - at the bottom of the list) while the connection was working. It got rid of the second configuration but kept the valid one. Hopefully, It will still be available when I attempt to connect again.
    Glenn

  • Obsolete GPIB-USB-A problem again

    Hi , all, sorry to bother you but I really do not know how to deal with this,
    I have a obsolete GPIB-USB-A cable to connect with an instrument,
    this morning I installed NI488.2 V2.2 on WinXP,  it works,  the instrument responds to my commands.
    This afternoon I installed labview 2012, then the GPIB explorer is reporting error,
    I can no more communicate with the instrument! 
    I think there might be some newer versions automatically included in LV2012, which might not be suitable for the obsolete GPIB-USB-A,
    so I re install NI488.2 V2.2, it is still reporting error.
    I checked the VISA version is 3.0.1,
    What is the problem? Is that VISA version not compatible with LV2012?

    Hi Julia2013,
    Based on this chart: http://www.ni.com/white-paper/5326/en/, GPIB_USB_A is compatible with NI 488.2 Ver 2.2. However, based on this link: http://digital.ni.com/public.nsf/allkb/2BFCEE471BE​CB95F862574020059117E, NI 488.2 Ver 2.2 is compatible with LabVIEW 6.1, 7.0 and 7.1. Therefore, to begin with, I believe that the NI 488.2 Ver 2.2 is not compatible with LabVIEW 2012
    Based on this link: http://digital.ni.com/public.nsf/allkb/CF4279A34F8​55AB186257B1F00003B82, you'll notice that NI VISA 5.2, 5.3 and 5.4 are the only VISA versions that are compatible with LabVIEW 2012.
    Therefore in summary, GPIB-USB-A is not compatible with LabVIEW 2012. Based on the first link I have mentioned, GPIB-USB-B and GPIB-USB-HS
    uses NI 488.2 Ver. 3.1.1 which is compatible with the LabVIEW 2012 and thus is compatible with the VISA ver 5.2, 5.3 and 5.4.
    Hope it answers your enquiry.
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • GPIB-USB-HS//how to use in VC++?

    I have a GPIB-USB-HS,and want to use in VC++ with windows xp.
    question: I do not fine that are .h /.dll/.lib file.and who can give me??
    email;[email protected]
    thanks

    Hi again,
    As you can see in the image included, I think I´m doing something wrong in the simulation.
    First of all I have included the NI USB-6001 device, but an exclamation icon apeared --> ¿Is this correct?
    Then I simulate with the "Test panel" an analog signal in the first channel "Dev1/ai0".
    At least, I extract "DAQmx Global Channel" from this first signal (Dev1/ai0), and taken to a string visualizator.
    I think It should be very simple to manage this variables... Would you mind to help me again?
    Thank you.
    Attachments:
    Chanel1.PNG ‏43 KB

  • What kind of changes I have to do when I move from GPIB Controller to GPIB-USB Controller.

    I want to know some information about GPIB-USB Controller. We are using National Instruments GPIB Controller to read and write data in a Instrument called Diagnostic Readout Box(DRB III) which will hook up with the Engine controller of the car. Now we plug-in the GPIB card in to the I/O slots of the Computer. Now, we want to use GPIB-USB Controller instead of GPIB Controller because of its portability and other features. However, we have developed some C++ applications which are available in the form of DLLs that will interact with the DRB III. Do we have to do any modifications in the coding of these applications when we move into the GPIB-USB controller?.

    Once the GPIB-USB is configured, it behaves exactly like a PCI-GPIB board so you should not have to change your program. The GPIB-USB is only supported on Windows 95 and 98. If you are planning on using the GPIB-USB on 95\98 you would still use driver version 1.6 or 1.7. If you need to work on Windows Me or 2000, then you will need the GPIB-USB-A and driver version 1.0. The GPIB-USB is not supported on NT.
    The USB-A driver does not allow you to use GPIB device templates. This issue is covered in Knowledge Base 266CNP00 (see link below).
    http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/862567530005f09f862569ec006c8bef?OpenDocument
    Kim L.
    Applications Engineering
    National Instruments

  • BigPond USB Modem and Airport Extreme 802.11n

    Judging by the information I have found I do not think this is possible, but thought worth asking regardless.
    I have a Telstra BigPond Wireless USB Modem (7.2) - is it possible to plug this into my AE base station to share with other devices?
    Thanks
    tkoe

    If you are thinking about a plain USB-to-Ethernet adapter (the kind used to get Ethernet from a computer's USB 2.0 port), it is not going to work.
    It may work if you can find a special device similar to this one, providing that the adapter manufacturer can guarantee support for the exact mobile broadband USB modem and network that you are using. If so, it should be possible to connect the Ethernet output of the adapter to the WAN port of the AirPort Extreme base station. I should add that I have not tested this.
    Another way of handling a situation like this is to use a dedicated mobile broadband router with support for the USB modem/network in question (basically, something like these exemples). Telstra/BigPond may be able to suggest something suitable.
    Jan

  • How do I interface a computer to the HP8753D Network Analyzer (NA) via a GPIB cable using Labview?

    Hi,
    I am a new beginner to LabVIEW. Right now, I am trying to acquire data from the HP8753D Vector Network Analyzer (VNA). However, I don't think I even managed to get past the first step.
    I tried to create a simple VI with only a single READ GPIB and a WRITE GPIB both to the address 16 (default for HP8753D) with the command IDN?;. I output the result from the READ GPIB to the a string indicator but the front panel displayed boxes and unrecgonized characters.
    The NA didn't even showed that it was communicating to the computer at all (No LED lit up).
    I have also varied the byte size from 200 to 2000 but I still did not get the res
    ult.
    I really need help on how to interface the VNA and my computer together. I have a strong feeling that the VI I constructed is too simplified (attachment below). If you know the solution, please help. I really would like to get past this first stage of first getting the computer and the device to communicate first.
    Thank you.
    Attachments:
    LabVIEW_VI.gif ‏4 KB

    Hello,
    There are several things to check. First make sure that you are using the correct GPIB or VISA resource name. If you are using GPIB the name that you use should be something similar to:
    GPIB0::2::INSTR where 2 is the primary address and 0 is the device number.
    Then you need also to check which commands are accepted by your device. It is a good idea to start in MAX (Measurement and Automation Explorer) by right clicking in the device.
    Another thing you might want to try is to download the driver the instrument driver for this HP8753D that you have.
    You can find it in the following address:
    hp8753D Instrument Driver
    H
    ope this helps
    Ricardo S.
    National Instruments
    Message Edited by Support on 12-08-2006 01:36 PM

  • 2 Network Analyzer over a single GPIB-Enet

    I've some trouble using a single GPIB-Enet interface to control two different Network Analyzer simultaneously. It looks like to be not possible (commands are sent to both the instruments even if they have different gpib addresses!). I'm trying to do this with Labview 6.1 under Windows XP. The goal is to make two different measurements and collect data on two different PCs at the same time. Thanks a lot.

    This should be possible for you to do. Many GPIB-based applications do this type of thing. Here's what I imagine you would do to get this sort of thing setup.
    1. Send data to instument A and instrument B to get them setup to take a measurement. While doing this, you can usually get them setup to start the measurement when you send a Group Execute Trigger (GET) command on the bus.
    2. Send the group execute trigger. Note, because you're using two instruments here, you may want to use the TriggerList vi to trigger more than one instrument.
    3. Read data from the two instruments.
    While you won't actually be sending the data across the bus fully simultaneously, it should be sufficient for your needs. I'd recommend using the 488.2 style vi's in
    LabVIEW, as these may be safer for avoiding re-addressing problems that you could run into if you were using all board-level calls.

  • How to plot modulus and/or phase of S21 parameter by using Network Analyzer?

    Hi, I'm using Network Analyzer Rohde Schwarz ZVB 8 (untill 8GHz) and I have to do same manipulation on Modulus and Phase of S parameters. I control the Network Analyzer by PC and if I'm in front of the Network it is really easy to do operations by looking real instrument display.
    Is there some EASY way to show the real monitor on the PC desktop in order to do the operations in an other room?
    Thanks,
    Luana.
    < The Quiter You Become, The More You Are Able To Hear >

    SweetLuana wrote:
    Thanks juergenstraub,
    but I was searching the way to have a "copy" of real display in the LabVIEW Panel.
    Thanks for the advice, but is not was I'm asking.
    No easy way I can think of.  The main problem is real time screen updates.  If you didn't care about that, you could make a virtual button for each real button you are likely to use, then do manually triggered sweeps.
    Personally, I don't usually like the idea of remotely controlling a test setup because you aren't there in front of it.
    What if the unit shorts out and by the time you get there, it's just a slag heap?  A several thousand dollar slag heap?  (Worst case, the only way you might know it became a slag heap is because you suddenly have no gain and some runs into the room complaining that your unit is smoking.)
    What happens if you need to switch cables in and out all the time (i.e., have to check several ports for S22)?
    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.

Maybe you are looking for

  • Email server didn't recognize your user name

    Just lately - when trying to email a photo in iPhoto ~ I get this message: email server didn't recognize your user name/password combo. I have googled and checked Preferences. I have tried to reset each of the passwords in each email account I have s

  • Procedure to generate Salary slip in ECC 6.0

    Hi All How do we generate a Salary slip in ECC 6.0? what are the steps one needs to follow? Thanks in advance. Regards Mohammed Edited by: Mohammed1 on Nov 27, 2011 3:53 PM

  • Releasing production order using workflows from outlook.

    Hi  , i am working on workflows and my scenario is whenever production order creates it will send mail to approver in his/her outlook. And approver will approve/reject from outlook only by just clicking on approve or reject tab. As of now mail is com

  • Batch ABAP uses GET PARAMETER of the user

    Dear all, I have the following curious effect when I start an ABAP in Batch. There are some selection criteria with a GET PARAMETER which are blocked in the variant. In dialog everything works fine. In batch mode the variant in SM37 is also correct.

  • IPad Adobe Reader and LiveCycle Forms

    I have just created a form in Adobe LiveCycle Forms through Adobe Acrobat 9 Pro and cannot get it to work on my iPad Adobe Reader App.....  I would like to create a pdf form that works on the iPad Adobe Reader app. Please help. Cheers.