Need an example to acquire an Agilent E5071B waveform

Hi all

As a new user, I need one or several examples to get on the right track to acquire a waveform (or read an analyzied result) of Agilent E5071B. I installed the driver-"agena".

See you soon

I managed to read data of 5071B with the rountine of 'find the bandwidth', and also found the sample application included in the pilot of the aircraft has not completed and would not read the data without tracking setting.

Thanks Den.

Tags: NI Hardware

Similar Questions

  • need an example of the compareFunction Date-sort

    Hi all

    I just need an example of the compareFunction (dateCompareFunc) on how to sort an ArrayCollection collection on a date (StartDate is of type Date).

    var sort: sort = new Sort();
    var sortField:SortField = new SortField ("StartDate");
    sortField.compareFunction = dateCompareFunc;
    fate. Fields = [sortField];

    dateSortedAC.sort = oSort;
    dateSortedAC.refresh ();

    Can someone give an example?

    Thnx!

    http://books.Google.com/books?id=7fbhB_GlQEAC&PG=PA399&LPG=PA399&DQ=Flex+3+ArrayCollection + sort + comparefunction + dates & source = bl & ots = HU_ibkqE_D & sig = psitgos96PAf1o8I1Ruh7nl2nLA & hl = en & ei = 6KNpStSgEIjkNa3e8c8M & a = X & oi = book_result & ct = result & resnum = 9

    If this post answers your question or assistance, please mark it as such.

  • Cannot access a HID device get code 5 error please let me know how to access a HID device, I need an example of code to access a HID device in windows 7.Thanks.R.M. Kiran

    /*******************************************************
    Simplification of Windows HID

    Alan Ott
    Software signal 11

    22/08/2009

    Copyright 2009, all rights reserved.
     
    The contents of this file can be used by anyone
    for any other reason without conditions and can be
    used as a starting point for your own applications
    that appeal to HIDAPI.
    ********************************************************/

    #include
    #include
    #include
    #include
    #include "hidapi.h".

    The headers needed to sleep.
    #ifdef _WIN32
    #include
    #else
    #include
    #endif

    int main (int argc, char * argv)
    {
    int RES;
    unsigned char buf [256];
    #define MAX_STR 255
    WSTR wchar_t [MAX_STR];
    hid_device * handle;
    int i;

    WIN32 #ifdef
    UNREFERENCED_PARAMETER (ARGC);
    UNREFERENCED_PARAMETER (argv);
    #endif

    struct hid_device_info * devs, * cur_dev;
       
    devs = hid_enumerate (0x0, 0x0);
    printf ("id=%d\tsproduct id = %d\n",devs-> vendor_id provider, devs-> product_id ");
    cur_dev = devs;
    so that {(cur_dev)
    printf ("detecte\n device type: % 04hx %04hx\n path: %s\n Serial_number: %ls", cur_dev-> vendor_id, cur_dev-> cur_dev-> path, product_id, cur_dev-> Serial_number);
    printf ("\n");
    printf ("manufacturer: %ls\n", cur_dev-> manufacturer_string ");
    printf ("product: %ls\n", cur_dev-> product_string ");
    printf ("output: %hx\n", cur_dev-> release_number ");
    printf ("Interface: %d\n", cur_dev-> interface_number);
    printf ("\n");
    cur_dev = cur_dev-> next;
    }
    hid_free_enumeration (devs);

    To implement the command buffer.
    Memset (buf, 0x00, sizeof (BUF));
    buf [0] = 0x01;
    buf [1] = 0x81;

    Open the unit by using the VID, PID,
    and possibly the serial number.
    handle = hid_open (0x4d8, 0x3f, L "12345");
    handle = hid_open (0 x 0461, 0x4d81, NULL);
    If (! handle) {}
    printf ("cannot open device\n");
    Return 1;
    }

    Read the manufacturer string
    WSTR [0] = 0x0000;
    RES = hid_get_manufacturer_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("could not read the manufacturer string\n");
    printf ("string of the manufacturer: %ls\n", wstr ");

    Read the product chain
    WSTR [0] = 0x0000;
    RES = hid_get_product_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("cannot read string\n product");
    printf ("string of product: %ls\n", wstr ");

    Read the serial number string
    WSTR [0] = 0x0000;
    RES = hid_get_serial_number_string (handle, wstr, MAX_STR);
    If (res<>
    printf ("could not read the serial number string\n");
    printf ("string of serial number: (%d) %ls', wstr [0], wstr");
    printf ("\n");

    Read the indexed string 1
    WSTR [0] = 0x0000;
    RES = hid_get_indexed_string (handle, 1, wstr, MAX_STR);
    If (res<>
    printf ("could not read the string indexed 1\n");
    printf ("indexed 1 string: %ls\n", wstr);

    Define the function hid_read() as non-blocking.
    hid_set_nonblocking (handle, 1);
       
    Try reading from the device. It is and must be without
    given here, but enforcement should not block.
    RES = hid_read (handle, buf, 17);

    Send a report on the device
    buf [0] = 0x2;
    buf [1] = 0xa0;
    buf [2] = 0x0a;
    buf [3] = 0x00;
    buf [4] = 0x00;
    RES = hid_send_feature_report (handle, buf, 17);
    If (res< 0)="">
    printf ("cannot send a feature report. \n") ;
    }

    Memset (buf, 0, sizeof (BUF));

    Read a report of the device
    buf [0] = 0x2;
    RES = hid_get_feature_report (handle, buf, sizeof (buf));
    If (res< 0)="">
    printf ("failed to get a feature report. \n") ;
    printf ("%ls", hid_error (handle));
    }
    else {}
    Print the buffer returned.
    printf ("function Report\n");
    for (i = 0; i< res;="">
    printf ("% 02hhx", buf [i]);
    printf ("\n");
    }

    Memset (buf, 0, sizeof (BUF));

    LED toggle (cmd 0x80). The first byte is the report number (0 x 1).
    buf [0] = 0x1;
    buf [1] = 0x80;
    RES = hid_write (handle, buf, 17);
    If (res< 0)="">
    printf ("could not write () \n");
    printf ("error: %ls\n", hid_error (handle));
    }

    Status request (cmd 0x81). The first byte is the report number (0 x 1).
    buf [0] = 0x1;
    buf [1] = 0x81;
    hid_write (handle, buf, 17);
    If (res<>
    printf ("impossible to write() (2) \n" ");

    Read the requested State. hid_read() has been set to be
    non-blocking by the call to hid_set_nonblocking() above.
    This loop shows the non-blocking of hid_read() nature.
    Res = 0;
    While (res == 0) {}
    RES = hid_read (handle, buf, sizeof (buf));
    If (res == 0)
    printf("waiting...\n");
    If (res<>
    printf ("could not read () \n");
    WIN32 #ifdef
    Sleep (500);
    #else
    usleep(500*1000);
    #endif
    }

    printf ("read data: \n");
    Print the buffer returned.
    for (i = 0; i< res;="">
    printf ("% 02hhx", buf [i]);
    printf ("\n");

    hid_close (handle);

    / * Free of static objects of HIDAPI. */
    hid_exit();

    WIN32 #ifdef
    System ("pause");
    #endif

    return 0;
    }

    Hi KIRAN RM,.

    Given that you need example code to access a HID device in windows 7, the question you have posted is better suited for the MSDN Forums. Please post your query in the link next to the support of the MSDN forum for further assistance.

    Windows hardware development

  • Do you need more examples of Configuration?

    We want to know! Tell us what areas of technology need several configuration examples.

    What do you mean exactly?

  • Need Application example ATG

    Hello

    I started to learn oracle atg (repository, component, form, FormHandler). I need to work some example application. How to start a sample application? I know that the QuincyFunds. It is so vast it seems. For

    Beginners how can I understand? Is there any document for specifically for the development of sample code?

    Hello

    Have you had a glance at the store reference trade (SIR)?

    You can download the installer from edelivery.oracle.com

    The documentation is available here

    Oracle trade platform Online Documentation Library

    Oracle trade store of reference documentation

    Thank you

    Gareth

    Please indicate any update as "Good response" or "Useful answer" If this update help and answers your question, so that others can identify the correct/good update between the many updates.

  • Need an example on labview Yokogawa 7651 VI

    Hi, very respected gurus:

    I'm a new type of labview, and now I need to use Yokogawa 7651 and Keithley 196 to I - V curve for the measurement of the resistance. IE, I need to tell my 7651 Yokogawa to produce a voltage sweep of volt-2 to 2 volts, the voltage is 0.1 volt and the time between two stages of suceesivly is 100 ms.

    Tried to download the driver for labview Yokogawa 7651 website EITHER, but it seems a lot of Subvi. And I cannot use these tiny vi to reach my scan of tension. Are there anybody have experience of using labview for Yokogawa control?

    Thanks in advance.

    Best regards.

    This is the VI, I use to control the 7651. With VI ' 7651 Test", you can control with a virtual front 7651 2 instruments.

  • Need an example of script for the waiting time expected

    Hello

    Does anyone have an example script that they can send me that indicates how and where to use statistical control of get and how to generate a prompt to read a message to a caller who says what is the waiting period?

    Thank you

    Chuck

    [email protected] / * /.

    There is a position in the queue thing.

    First you stor in the parameter value and then read it...

    My modified script which should explain is attached. You can actually use, but must change that I deleted my customer info.

    Please note so useful.

    Thank you

    Barnes.

  • I need an example script Powershell in Windows 7

    I can repeat this request I presented during my "subscription", but he doesn't know if it took.

    I would be recognizing an example of a Windows Powershell Script that looks up a record in a file and displays the content of this record on my screen. Records are scanned from Documents. They are scanned by user 'XX' within the Date.

    The path is: C:\Documents\DailyPosting

    I've programmed in a distant past, but did not use scripts. If I had an example I could go from there. I don't read very well of manuals.

    I am 78 years old. Would be grateful yourhelp!

    Thank you

    Cmawsquaw

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the link below.

    http://social.technet.Microsoft.com/forums/en/category/scripting

    Hope this information helps.

  • Need an example of loop with sql statement in shell script values

    Hello

    I have to present a simultaneous program to each line of the table through script shell (only).

    The table has all the parameters required to pass to the concurrent program.

    I have trouble in a loop with the lines of sql statement results.

    Could someone give me an example of a shell script with a loop with the sql statement values.

    appreciate your time and your help.

    Thank you

    Ganesh

    Hello

    Here is a guide using 3 parameters:

    {

    sqlplus-s $OA_USR / $OA_PWD<>

    SET THE OFF POSITION;

    SET FEEDBACK OFF;

    SET LINESIZE 300;

    SELECT param1, param2, param3

    Of your_param_table;

    ENDOFSQL

    } | while reading line

    do

    If ['$line'] # line non-NULL

    then

    set $line

    param1 = "$1."

    param2 = "$2."

    param3 = "$3."

    # Pass parameters to a script, sql more

    sqlplus-s $apps_usr / $apps_pwd @SUBMIT_CONC_PROG.sql $param1 $param2 $param3

    FI

    fact

    }

    In your SQL * more script you run 3 parameters into variables:

    declare

    VARCHAR2 (10) param1: = ' & &1';

    VARCHAR2 (10) param2: = ' & &2';

    param3 varchar2 (10): = ' & &3';

    .....

  • Need code examples for the use of the PL/SQL and popup areas

    Hi all

    I looked at the documentation, but it does not explain how to use it.
    I need to create a region using PL/SQL to retrieve data from the tables and print it on a plain HTML page/region I use APEX 4.0.2 and DB Oracle 11i

    Thank you!

    Hello

    You can do like this:

    DECLARE
    NUMBER OF V_SAL;
    BEGIN

    SELECT NVL (SUM (salary), 0)
    To emp_sal WHERE the emp_id =: P170_emp_id
    IN V_SAL;

    HTP.p (')





    Salary
    '|| LTRIM (TO_CHAR (NVL(V_SAL,0), 'FML999G999G999G999G990D00')) | »
    ');
    END;

  • Need c# example on how to get TaskDescription

    If I have the descriptionID of a recent mission, how can I retrieve the label and the contents of the said task?

    Right, I forgot that the WSDL does not operations property accessor. I use VI Java, whose proxies include accessors.

    If programming down on naked WSDL, you must get the TaskManager reference and use RetrieveProperties. Something like:

          public void GetTaskDescriptions()
          {
              ObjectSpec oc = new ObjectSpec();
              oc.obj = _sic.taskManager;
              oc.skip = false;
              PropertySpec ps = new PropertySpec();
              ps.type = "TaskManager";
              ps.pathSet = new string[] { "description" };
    
              PropertyFilterSpec pfs = new PropertyFilterSpec();
              pfs.objectSet = new ObjectSpec[] { oc };
              pfs.propSet = new PropertySpec[] { ps };
    
              ObjectContent[http://] ocs = _service.RetrieveProperties(_sic.propertyCollector, new PropertyFilterSpec[http://] ocs = _service.RetrieveProperties(_sic.propertyCollector, new PropertyFilterSpec[] { pfs });
              TaskDescription td = (TaskDescription) ocs[0].propSet[0].val;
              ElementDescription[] eds = td.methodInfo;
              for (int i = 0; i < eds.Length; ++i)
              {
                  Console.WriteLine("Key: " + eds[i].key);
                  Console.WriteLine("Label: " + eds[i].label);
                  Console.WriteLine("Summary: " + eds[i].summary);
              }
    
          }
    

    I plugged it in the SimpleClient.cs sample in the c# part of the SDK, and it seemed to work.

    Edited to remove stuff randomly / .

    This line should be:

    ObjectContent [/] ocs = service. RetrieveProperties (sic.propertyCollector, new PropertyFilterSpec [http://] ocs = service.) RetrieveProperties (sic.propertyCollector, new PropertyFilterSpec [http://]%20ocs%20=%20_service.retrieveproperties(_sic.propertycollector,%20new%20propertyfilterspec[/]);

    Deity save us smart web pages

    I just can't win here, what would you say if I enclose the code snippet instead?

  • Need an example of code bulkupdate

    Hi all

    I'm new to collections,
    Can you please help me write a piece of code to bulkupdate lines?

    My requirememt is that I have updated to suddenly batchid by plsql for script below.



    create table test_bulkupdate (Expenditure_id Number, number Batch_Id)


    insert into test_bulkupdate values (1, null)

    insert into test_bulkupdate values (2, null)

    insert into test_bulkupdate values (3, null)

    Commit


    Select * from test_bulkupdate

    Concerning
    RN

    sb92075 wrote:

    Jac says:
    You'll easily by Googling

    Why should he OP be bothered to GOOGLE, similarly when solutions spoonfed here?

    It's an off-day here... Not working...

    A boring day... So, just refreshing myself...

  • Need to draw a few lines on the waveform plot and arrow

    any suggestion, thank you.

    If you want to draw you can draw pictures by using one of the images of the plot. There are three: front, middle and back. Look around, as many examples exist on how to do this, including a couple that ship with LabVIEW. Help-> find example.

  • Example of Agilent U2000 series acquire measure - LabVIEW gets stuck

    Hello!

    Chasing LabVIEW evaluation in order to take a decision on the purchase of our company. At the moment I encountered the following problem.

    When I try to use the example of the NOR measure to acquire by Agilent power sensor U2000A, the program takes 2-3, sometimes even 10 consequitive measures and then freezes for a very long time (a few minutes). After this program returns an odd error message:

    "Error - 1073807360 is is produced at VISA Read STB to Agilent U2000 Series.lvlib:Wait for the Acquisition of Complete.vi-> Measurement.vi Series.lvlib:Read Agilent-Agilent U2000 series > U2000 acquire Measurement.vi.

    Possible reasons:

    VISA: (Hex 0xBFFF000) (various error) unknown system error. »

    I tried to replace the sensor, it has not helped. The error recurs on any sensor that I tried. Agilent's own utility (Power Panel) works very well with any one of the sensors. The different versions of instrument drivers download is also no effect.

    Please suggest something!


  • I need a link to examples of '' process, calculations, branches. ''

    db11gxe, apex 4.0, firefox 24,

    I need a link to examples of 'process, calculations, branches', there is only one example in the documentation for each,

    I need more examples, where can I find it?

    Thank you

    There are a few in the documentation

Maybe you are looking for

  • How can I update my ipad1 to an ios7

    How do I have my iPad update ios5.1.1 to ois7

  • Wake on Lan for HP Envy laptop m4

    I have a HP ENVY laptop m4 running Windows 8.1 (64-bit).  The laptop has a Ralink RT5390R 802.11bgn Wi - Fi adapter. I can't get to respond to any package of Wake-On-Lan.  The computer is connected wireless to 90% of the time.  At this point, I have

  • E3000 use RV Park

    I have the E3000 and want suggestions on how it would work with a dual Repeater Hawking 300N... There will be about 100 users

  • Flag: My laptop keeps freezing

    I have my phone for a long time, it was great at first, then all of a sudden it has stopped working, it freezes when I connect and will take about half an hour to go to the homepage when I finally reach the homepage it wont let me click anything whet

  • Group Policy client could not start

    Hello I have a problem of Group Policy Client on a stand-alone computer with Windows 7 SP1. When the computer starts, the main account can be accessed as usual, but once the office is reached, a notification bubble appears indicating that Group Polic