LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hp871x Measure.vi

Hi.
I'm programing the Agilent 8714 Network analyzer. It is quit old equipment.
I have two sets of drivers VXI & LabView.
I have a stacking problem with the VXI. So I have to use the Labview set.
Unfortunately this set miss the hp871x Measure.vi, which is critical.
This Sub Vi allow me to set channels (S21, S11 etc).
I tried to use Programming guide, but the command I've found there is not accepted by equipment.
 
Please help me with this issue. Maybe I have a grammary mistakes in the command?

SENS[1|2]:FUNC ‘XFR:S 1,1’;DET NBAN; *WAI

If so what is the right form?

0 Kudos
Message 1 of 13
(3,886 Views)

Hi underdog

on the  front panel you can access a sub menu to enable the GPIB commands to be echoed !

This means you can actually see when you press your menu buttons what the GPIB command is!!Smiley Wink

The GPIB echo access is,if I remember correctly, with the menu to set GPIB address etc.

Once you have enabled  feature , then play with it, for example carry out a full 2 port calibration !!Smiley Mad

You might have to keep repeating the buttons commands so that you can see record the actual GPIB command.

I have some vi's for the 8714, unfortunayely not at work  - i try and dig them up this eveningSmiley Wink

Well you should be able to come a little bit further now!!!

PS I recognise the command you are attempting to activate  I think you need to remove the [ ] brackets from the sense command... Could be wrong

as its several years since I've used 8714 Network analyser

 

chow

XSEADOG

 

0 Kudos
Message 2 of 13
(3,875 Views)

Xseadog,

Thank you very much for help.

If you have a sub Vi it will be great.

According the command - that is not a problem I've played a lot with Grammary there.Smiley Happy

I'll try to use your advice to monitor the command.

0 Kudos
Message 3 of 13
(3,874 Views)
As promised  the 8714 llb
Hope it helps
 xseadog
0 Kudos
Message 4 of 13
(3,866 Views)

Hi.

Unfortunatly, it doesn't help. This miss the "Measure" functions (steting channels to S measurements)- exactly the problem.

I've tried to monitor the VXI sub.vi using the NI spy & I received the command, but when I tried to give it in visa write it has no effectSmiley Sad.

0 Kudos
Message 5 of 13
(3,860 Views)
Hi Underdog
I don't quite understand your problem ?
Could you please clarify what you mean !
IF you can read the waveform(graph) from each mode then you can find your S parameters at desired frequency

Remember a picture reveals a thousand lines of code !!!

Upload a png / jpg of problem

chow
xseadog
0 Kudos
Message 6 of 13
(3,858 Views)

Hi xseadog.

I wasn't so clear I'm sorry.

The hp8714 network have two channels. Each channels can be set as S21 - Fwd Transmission, S11 - Reflection Port1, S12 - Rev Transmission and S22 - Reflection Port2.

My problem is to set it. In VXI drivers I have a hp871x Measure.vi, which is doing it. It is attached to this message. Howerver the VXI drivers made to me sevral problems  & I need to use NI Labview drivers. This function is missed in drivers that you sent.

Thank for all you are doing to help me.

0 Kudos
Message 7 of 13
(3,856 Views)
The hp8714 network have two channels. Each channels can be set as S21 - Fwd Transmission, S11 - Reflection Port1, S12 - Rev Transmission and S22 - Reflection Port2.

My problem is to set it. In VXI drivers I have a hp871x Measure.vi, which is doing it. It is attached to this message. Howerver the VXI drivers made to me sevral problems  & I need to use NI Labview drivers. This function is missed in drivers that you sent.

Thank for all you are doing to help me.

Hi Underdog

port 1       port 2
  *            *
  *>>>>   >>>> *
 
   S11       S21     


port 1       port 2
  *            *
  *<<<<   <<<< *

   S12       S22
First let us agree that if you have two terminals then there are only 4 solutions
You can connect from port 1 to port 2 and measure the forward gain S21 or the reflection S11
Connection from port 2 to port 1 measures 'reverse gain' S12 and reflection S22 Smiley Wink
---------------------
If you have the programming guide for the 8714 network analyser then it is possible to do what your C dll is doing!!!Smiley Surprised

If you have not got a hard copy then search  agilent's home page for 8714 network analyser.
In appropiate sub menu you'll find following:
Users guide Part No. 08714-90012 from June 2000
also programmers guide Part No. 08714-90015
chapter 6 has salient info
-------------
if you provide your emailaddress I can forward the pdf files if your having trouble

--------------
Please clarify what you actually mean with regard to 'my problem is to set it*

Do you mean total set up?
ie set up calibration,frequency parameters- power parameter, number of points,sweep time, markers etc
if necessary please provide pseudo code

we'll getthere in the end

xseadog
0 Kudos
Message 8 of 13
(3,850 Views)

O'K.

We are getting closer.

First, I do have the manual and the command I found there is wroten in the top message. It has no effect on the hp8714, or my gramary is wrong.

Now, the equipment has two ports (HW) & two channels (SW). For example to measure Gain I connect UUT input to port1 & output to port2, then I set channel1/2 to S21 (Transmission in hp8712). To measure return Loss I have to set channel1/2 to S11 (Reflection in hp8712). That is exactly the point. I can't set the channels, I still do it only manualy.

0 Kudos
Message 9 of 13
(3,847 Views)
Hi xseadog,
 
I'll try to be more clear.
In fact I look for something that can replace the VXI driver that I sent in previous message.
0 Kudos
Message 10 of 13
(3,846 Views)