LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-USB HP3562a...

Here's the error eraser in 8.0 format? Performed a save for previous versions...
0 Kudos
Message 21 of 31
(1,841 Views)
Hmm, no reading response yet. :-(.  I will try the HP3562a driver from NI website. Maybe I will have some  progress with this code.



0 Kudos
Message 22 of 31
(1,837 Views)
I think I got some progress with the reading. It appears that in order to read  the data a new query is required  after the writing sequence to the analyzer.  I used the NI provided  driver which was written by another student.



Message Edited by RSibagatullin on 05-29-2008 01:52 PM

Message Edited by RSibagatullin on 05-29-2008 01:52 PM
Download All
0 Kudos
Message 23 of 31
(1,832 Views)
OK, so I was not able to figure out how to use RDMK command (read marker) and I have decided to calculate power at particular frequency by means of LV rather then marker apparatus in HP3562a.  Numerous experimennts showed that software acquasition results in less then 0.01% error compared to the marker value hardware based measurement.  I have atthached the code which shows how  to pool the whole plot from the analyzer and disretize it in 800 bins. I used the NI driver with a few changes to it. Thanks.

Download All
0 Kudos
Message 24 of 31
(1,807 Views)

Does anyone know how to get the x-axis data?  When I do the Coordinate Transfer Dump it gives me y-axis data and the also some valuse from 0.99999 to 5.99999.  Can some HELP!!!!

0 Kudos
Message 25 of 31
(1,502 Views)

Wow, this thread came back alive!

 

I think the number you're missing is 801.  I believe there are 801 samples, so the frequency goes from A to B in 801 samples with so many samples at each frequency.  You also have to figure out what the units are from one of 35 possible enumerated types.

 

Good Luck! 

0 Kudos
Message 26 of 31
(1,490 Views)

I apologize but I have no idea what you wrote on your reply.  I am completely lost with this instrument.  I have attached what I am using to collect dat from the instrument.  The date I receive is y-axis data (801 samples) and also another data points which range from 0.99999 to 5.999999.  I am doing a frequency response from 1Hz to 100kHz.  Please help me to understand what does 0.99999 to 5.999999 numbers mean and how I can convert them to frequency.  The code is in LV8.2

0 Kudos
Message 27 of 31
(1,482 Views)

Okay, I have access to "Contents of the Data Header" for Binary and ASCII data dump formats.

 

What index are you using? Binary or ASCII/ANSI?

 

What indecies are giving you the 0.9999 to 5.99999 numbers?

 

This has been done before, it will be okay.

0 Kudos
Message 28 of 31
(1,467 Views)

I got bored...

 

Okay, I looked at the code a bit, get it? and I believe that the code is using the ASCII data dump,

 

0.9999 is the starting frequency or "Start Freq Value" and

 

5.9999 is the "Delta X-axis" or difference between each reading, however, there is a note that says 10deltaX for log-x axis, and since you're going from 1hz to 100kHz, I'm assuming the display is in log, so the delta is really 10 times 6 for each y.

 

So the code needs to be modified to multiply the delta times 10 in the For Loop in the Get Trace.vi, I think.

 

Good Luck. 

0 Kudos
Message 29 of 31
(1,462 Views)

 

Once again I am not familiar with HP's device driver code, so please bare with me.

 

Yes, it is using ASCII data dump.

 

I have attached the raw data file which I collected through the HP3562A.  If you don’t mind can you please show me an example how I can convert the data to frequency.

 

I really appreciate your help.  Thank you

 

0 Kudos
Message 30 of 31
(1,455 Views)