Intermittant response from spectrum analyzer

I have LabVIEW 8.2, NI 488 v.52. I am having problems talking to an old HP 8568A spectrum analyzer. 
I can write to it OK, but reads are intermittant. 
It takes a carriage return on the end of commands. On some reads, the response is fine using VISA in LabVIEW or using the NI-488.2 communicator, but on other reads, I get a timeout error EABO.
The funny thing is, the response is actually there from the analyzer...It's like VISA or LabVIEW isn't seeing the response every time.  And this happnes with every command written to the analyzer that generates a response..
Here is the NI-SPY capture where the first read went perfectly:
2.  ibrd(UD0, "-13.50..", 2000 (0x7D0))
Process ID: 0x000008A8         Thread ID: 0x00000F1C
Start Time: 22:10:05.664       Call Duration 00:00:00.010
ibsta: 0x2900       iberr: 0             ibcntl: 8(0x8)
Here is another where the read timed out, but the correct response was actually read:
>8.  ibrd(UD0, "-13.50..", 2000 (0x7D0))
>Process ID: 0x000008A8         Thread ID: 0x00000F1C
>Start Time: 22:11:41.672       Call Duration 00:00:16.774
>ibsta: 0xc900       iberr: 6             ibcntl: 8(0x8)
Thanks in advance for your time and help.
Viv

ALSO:
I forgot to mention that we ended up with the HP8568A having to specify the to specify the number of characters that were read on each read request in the VISA Read VI due to the 8586A’s not sending an EOI.
The read request would time out if we requested the read to end on an EOS character. 
Viv

Similar Messages

  • Obtaining Screenshot from Spectrum Analyzer - Not able to view the image created

    Hello,
    I am using the following code snippet in my program to get the screen shot from  Agilent Spectrum Analyzer , I am able to get a gif image created in the location specified but when i opened it I could not see any result.
    Please help out . I also tried with Interactive Utility still the same result , Am i missing something here or is there anything for me understand . please let me know.
    ibwrt(DeviceHandle,":MMEMTORCR 'CICTURE.GIF'",30);
    ibwrt(DeviceHandle,":MMEMATA? 'CICTURE.GIF'",28);
    ibrdf(DeviceHandle,"C:\\PICTURE.GIF");
    Thanks
    Meeran

    Dear Bala,
    I have got about 8 to 10 DC's out of which only this one is showing the missing structure and as this dc is being used by other dc's I am getting the error like missing component.  Previously we were using the client desktop and doin the work now we have shifted it to our individual systems.  Now any project I am creating whether from same track or different same problem comming the structure is missing.
    Regards,
    Ganesh
    Edited by: Ganesh Sawant on Sep 8, 2009 9:42 AM

  • GPIB readout from spectrum analyzer HP4195a

    Does someone know how I can readout a HP 4195a spectrum analyzer with GPIB? I have a GPIB-USB cable. I can't readout the flopy disk from the spectrum analyzer in my PC.
    Thanks, Ruben

    Hi
    I have a very old "generic" driver for this one
    see attachment
    greetings from the Netherlands
    Attachments:
    hp_network_analyzer.zip ‏408 KB

  • Trying to acquire from Spectrum Analyzer CATV measurment​s.

    I am using an Agilent E4402B Spectrum Analyzer and can't seem to find any code that would help on the path of acquiring data from the Spectrum Analyzer. Need to acquire Carrier level and frequency, Depth of Modulation, and aural deviation. Currently using Techtronix Spectrum Analyzer and CSS 500 software with GPIB interface. Techtronix no longer makes the software and the scope I am using is not supported any longer for calibration or repair.

    Just have to go to the Instrument Driver Network and download it. An IVI driver is available here.

  • Slow report response from Portlet Analyze link

    Hi,
    We make a lot of use of Oracle Portal Discoverer portlets. We are noticing that it takes a long time for reports to respond when the Analyze link is selected in a Discoverer portlet. There seems to be a few seconds delay before the anything happens then the Viewer Query progress page appears and sits for a few seconds before the actual query is run. The time taken to run the SQL on the server seems to be a small fraction of the total response time.
    We are using OracleBI Discoverer Version 10.1.2.54.25 with Oracle Application Server Portal Release 2 (10.1.2) on Solaris. Has anyone else experienced similar performance issues? Are there any suggestions for where to look to improve the response times?
    Thanks in advance.
    Dave

    Hi,
    Do you have the query prediction enable?
    Take a look at the pref.txt file (path: $ORACLE_HOME/discoverer/util/) at the value of
    QPPEnable
    To disable it change the default ( 1 ) to 0
    after editing the pref.txt file you'll need to run the applypreferences program (same path).
    You can disable it so that it will save you time while running a worksheet.
    Tamir

  • How to write data which i am reading from spectrum in excel using Report Generation toolkit.

    Hello All,
     I wrote code for reading data from Spectrum analyzer and also for writing in excel using report generation toolkit. When i run program values get read and excel sheet opens also but i cant see anything written in it.
    So if anyone can help me in this i will be very gald. I am attaching screenshot of my program and also attaching .vi file. As i am using drivers you can see some of vi.
    Thanking You,
    Pallavi 
    Solved!
    Go to Solution.
    Attachments:
    Channel_Power.jpg ‏123 KB
    Channel Power_Toolkit.vi ‏64 KB

    Hi Palavi,
    you try to select a specific worksheet what is not existing, therefore just select "Channel Power" (and not Power Channel) and it should work for you.
    Regards,
    Tobias

  • Communications between LabVIEW and spectrum analyzer

    hi, im a beginner in LabVIEW and spectrum analyzer, and im now trying to let LabVIEW captures signal coming from spectrum analyzer. i have all the required components needed but i have totally no idea how to get started, is there any exercises or labs available here?

    It will depend on your method of communication with the device.  If it is RS232 you can go to the example finder (Help > Find Examples) and search for RS232 or however you plan on communicating with the device.  Or you can browse the catagories for examples on various topics. 
    Depending on the device the manufacturer may have LabVIEW drivers on their web site.  But anybody will need more information on the analyzer and the signals before you can be helped. 

  • Can I view spectrum analyzer (HP 8562A) output on LV signalExpress

    Hello guys ..
    Just wondering if I can get my graphs from spectrum analyzer on LV SignalExpress? Is there a special driver I should download?
    Thank you

    Hi,
    You can view your data from the HP 8562A in LabVIEW SignalExpress by creating a user-defined step.  This applies to any instrument not supported by the native SignalExpress steps.  To do this, you need to follow the Creating SignalExpress Plug-ins with LabVIEW DevZone.
    On a side note, National Instruments has developed some plug-ins, such that a few 3rd party instruments can be controlled through SignalExpress.  The plug-ins can be found on this KnowledgeBase.  Unfortunately, the HP 8562A is not one of the instruments on this list, nor could I locate a supported driver for the HP 8562A on ni.com/idnet.  To communicate with your device, you could use low-level VISA commands or utilize the Instrument Driver Development Wizard.
    Let me know if you have any more questions.
    Regards,
    Sara Lewandroski
    Applications Engineer | National Instruments
    http://www.ni.com/support

  • How to capture a .gif file from a spectrum analyzer and save the file in PC

    I want to capture a .gif file from a spectrum analyzer and save the file in PC, but I've got a problem when read data from the instrument. I'm not sure how to format the string got from the instrument , When I use "%s" or "%t" as the read string format the data got from the instrument is truncated.
    my code are as follows, could anyone tell me where i am wrong?
    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
     viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%t", resultsArray);
     printf("%s", resultsArray);
     getchar();       
    Solved!
    Go to Solution.
    Attachments:
    readResult.docx ‏50 KB

    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
    viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%b", resultsArray);

  • Programming an application to communicate to an anritsu spectrum analyzer.

    Hi, i'm trying to create an application to communicate with the MS2601B, Anritsu Spectrum Analyzer through the GPIB port.
    I'm using a new GPIB card from National Instruments, model: 183617"k"-01, and the NI488.2 protocol.
    I have a problem when i send instructions as IBWRT or IBRD, the device doesn't make anythig, but it works when i send IBCLR or IBLOC, so i don't know what happens to it.
    I know it works perfectly with an old HPIB card, and using instructions as IOOUTPUTS or IOENTERS,
    Maybe to communicate with this Spectrum Analyzer it's necessary to compile the program with a special file or library that i don't have.
    Also when i start the MAX 2.0 (Measurement & Automation Explore
    r) NI program, doesn't answer to the *IDN? query or to the especific commands (to control de instrument) i send to it.
    Need your help, please. Thanks

    Hello guillem,
    Thank you for contacting National Instruments.
    Open up MAX again, expand the Devices and Interfaces tree, right click on your GBIP card and select Scan for Instruments. Make sure that it successfully finds your instrument and does not give you any errors. If it is unable to find your instrument, check your cabling and connections.
    If MAX finds your instrument, right click on the instrument and select Communicate with Instrument to open the NI 488.2 Communicator. In the Send String field, type "*IDN?". You do not have to precede it with IBWRT to send the command. Click the Query button. If your instrument does not send a response, check to ensure that your instrument is 488.2 compliant. If it is not, you will need to obtain the
    specific command set for that instrument from the manufacturer.
    If everything checks out up to this point, open up LabVIEW. Instead of using the 488.2 functions to communicate with your instrument, try using the VISA functions. I have written a small VI that illustrates how to use the VISA functions to send a command to your instrument and receive data back. I was able to locate a driver set for the MS2601 in our Instrument Driver Network. You may also want to consider trying these. They may work for your instrument.
    If you are still experiencing problems, inspect your pins and cables. It is possible that one or more of your data pins may be damaged. Also, try communicating with a different instrument using the same card. Likewise, try communicating with the same instrument using a different card, if possible. All of these steps will help isolate the problem.
    I hope this helps! If none of this works and you are still having problems, let me know.
    Matthew C
    Appli
    cations Engineer
    National Instruments
    Attachments:
    VISA_Communication.vi ‏33 KB

  • Spectrum Analyzer using Swept Frequency

    Using the AWESOM example foundhere:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/433c2cbc5a1c4a49862569500035f715?OpenDocument
    Give the person who wrote that an A+. I want to replace the FIR filter with a REAL device. I want to send a swept sin wave (just like the original) and then read the response from the Analog Input channel. I put a vi in place of the vi called :IIR Filter for 1 Chan.vi. Go to the NI ftp site to ge t the file named ZZDMKSin.zip (I could not get the file attachment to work within this post) The symptom is the Frequency Response does not get any data that can be seen...
    In the end I simply want to put a REAL UUT in place of the FIR filter. This would turn the VI into an equi
    v of a $30,000 spectrum analyzer! Sooooo cool!
    Any help would be greatly appreciated. My e-mail is [email protected]
    Thanks,
    Dave

    Dave;
    I'm not quite sure if I understood your application, but by my understanding you want to replace one of the Filter VIs by a VI that does data acquisition from a real external device.
    The first thing you might want to double check is the data acquisition VI by itself. Set up the system with the external device and with the data acquisition VI only. Make sure the VI is acquiring data as expected.
    After that done, make sure that the data acquisition VI output is outputing the same data type that is expected at the output of the IIR Filter.vi.
    I believe that either one of the previous issues might be the answer.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Spectrum Analyzer with Tracking Generator - do I have what it takes?

    Hi Guys and Gals,
    I need to profile the response of some filters in an ultrasonic bit of hardware. I've been told that a Spectrum Analyzer with a Tracking Generator will do what I want in a short space of time, but I don't have one. Problem is I don't know what a spectrum analyzer is (beyond the obvious - analyses the frequency spectrum response).
    I have a 100MHz Arbitrary Function Generator under LV control and I have a LeCroy 600MHz Oscilloscope under LV control and I know a bit about writing LV.
    The question is, can I use the AFG, the Oscilloscope and LabVIEW to make myself a Spectrum Analyzer to do the job?
    Any suggestions or pointers gratefully received.
    Dr Phil

    I believe a Network Analyzer will be of use to you, and fortunately you have the makings of one.  A NA will tell you the amplitude and phase response.  The easiest thing to do is to split the signal from the AFG (use a T) and send one signal straight to the scope and the other to the input of the DUT (device under test).  Connect the DUT output to the second channel of the scope.  Simply measure the ratio of the amplitudes and the relative phase of the two channels and you are all set.  The scope probably has these functions built in, otherwise acquire the time series and let LabVIEW do the work (you can also take the power spectrum if you really want a spectrum analyzer).   If you want to be careful, make sure that the cable lengths in the two paths are equal, but at ultrasonic frequencies I wouldn't worry about it at all.
    -Darin

  • Timed Out Error while waiting for response from DB Procedure

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

    Hi Gurus,
    We are encountering a problem in our production environment. The system is implemented using AIA foundation pack 2.5 on SOA suite 10.1.3.4.
    We have a BPEL process A which calls an ESB Service which inturn calls BPEL Process B. In process B, we have a DB procedure call which waits for a response from
    a DB procedure. The procedure doesn't reply on time and Process B remains in waiting state to get the response from DB Procedure wherein Process A errors out by showing as "Timed Out Error".
    This issue is intermittent and we have already increased transaction-time outs in transaction-manager.xml to 7200 and ejb-orion-jar.xml to 3600.
    When we encountered this problem, we found out that there are too many connections open and when we bounced the server, everything was restored to nornal but as it is a production env. we can't do it over and over again.
    We have 2 nodes each having max connections as 100 and min. as 0.
    Is there a limit to max no. of connections or can we do something in DB side to ensure that it doesn't happen again ?
    Please suggest.
    Thanks,
    Vikas Manchanda

  • How to read the data in spectrum analyzer (Anritsu MS2661C) and put it in Excel using Labview

    Hi all, I'm new to using the labview, and I have some trouble doing my project using the labview software.
    I have been trying to use the spectrum analyzer (Anritsu MS2661C) which connect to computer using the GPIB connection.
    I have got the instrument driver which can write and control the instrument using Labview 2010.
    and my Question is how do read the data or result from the spectrum analyzer and send it to the microsoft excel?
    Do I need to use other software or programming to do this step?
    If anyone know how is this done, please let me know.
    Regards,
    Ery

    Hi ery,
    In order to send data that you have read in from an instrument to Excel, the most convenient way to do this would be to use our Report Generation Toolkit.  The Report Generation Toolkit is a very useful tool that allows you to interface to Microsoft Office software from LabVIEW, including Word and Excel.  I am not sure if you are familiar with this, but I have attached a link that explains more about the Report Generation Toolkit below.  
    Another way would be to use the Write To Spreadsheet File VI.  While this will store your data to a spreadsheet data file, it will not allow you to programmatically perform any Excel formatting like the Report Generation Toolkit offers.  I have also attached a link to some information on the Write To Spreadsheet VI below.  
    Also, be sure to check out the Example Finder in LabVIEW for a number of examples on how to write data to a spreadsheet file.  From LabVIEW, you can go to Help»Find Examples to launch the Example Finder.  From there, you can search for "spreadsheet," which should populate examples for use in different applications.  I hope this helps, ery.  Please let me know if you have any further questions about these!
    NI LabVIEW Report Generation Toolkit for Microsoft Office
    Write To Spreadsheet File VI 
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • How to get response from an asynchronous BPEL process in Java

    I'm experimenting with BPEL and doesn't seem to be able to get response from an asynchronous BPEL process. Here's the deal:
    I have a BPEL process that takes a string as input, and gives another string as output. This is a asyncronous process.
    I want to initiate this BPEL process as a web service so I generate a Webservice Proxy in JDeveloper 10g (10.1.3.0.4). The function to call the process is now called "initiate" and takes three arguments: the input string, a "org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo" and a
    "org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID".
    HTTP-Analyzer shows that invoking the BPEL process with initiate("somestring", null, null) results in sending a SOAP message to the BPEL process, which returns a "202 Accepted". How do I get the response from the process? My intuition tells me that I have to use that second argument, that EnpointReferenceType thing. How do I use that?
    Another question: If a asynchronous BPEL process does not exists (so the endpoint does not exist) the Java proxy does not throw an error when runned. It does not even sends a message. It exits with status 0! (This happens for example when deploying a new version of a process and when the "old" version is undeployed). Calling a non-existing synchronous BPEL process, the Java proxy DOES throw an error.

    Clemens,
    That all sounds logical. But somehow it is still a mystery for me ... Somehow I don't see what should be done.
    To call the async BPEL process I have the following procedure:
    initiate(String input, org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo, org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID)
    The first argument is the input for my BPEL process. The second is the address to a webservice that should handle the callback, right? The third is a messageID (makes sense, but why of the type AttributedURI?).
    Here lies my problem. It is not clear to me how these EndpointReferenceType & AttributedURI work. I can't find anything on the net about it. The AXIS examples as where mentioned earlier use other types (namely the "org.xmlsoap.schemas.ws.addressing.MessageID" and "org.xmlsoap.schemas.ws.addressing.ReplyTo") which are completely different.
    What I did so far:
    - I created an webservice proxy that listens on the onResult endpoint of the BPEL process.
    - I created an webservice proxy that calls the BPEL process through the initiate procedure, but it is not completely clear to me how to construct the EndPointreferenceType replyTo, and the MessageID. I did something like this:
    EndpointReferenceType replyTo = new EndpointReferenceType();
    // callback service running on local machine
    // This URI class is the java.net's version
    URI replyToURI = new URI("http://vaccinatie:8988/syncro-callback-context-root/stringconcatCallbackBindingPort");
    // This AttributedURI is the org.xmlsoap.schemas.ws._2003._03.addressing's version
    AttributedURI address = new AttributedURI();
    // the only public methos that made sense to me:
    address.set_value(replyToURI);
    replyTo.setAddress(address);
    // call the BPEL process
    myPort.initiate("test123", replyTo, address);
    But the above doesn't work (largely because I don't know what I'm doing here prob.:-) ) It does send the "test123" message, and the BPEL process does process it, but I don't seem to get the callback right.
    I hope this makes my problems somewhat clearer. I hope someone can help me, because I'm just a beginner in this whole "web service area" and seems to do something terribly wrong here, because it should be very simple. Thx.

Maybe you are looking for