LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Good Communication, but Error in Example Manufacturer VI

Hi All,

just yesterday I did my local LAN between my Network Analyzer and my PC.

My Network Analyzer is Rohde Schwarz ZVB 8 (untill 8GHz).

It seems OK because PING was OK and also MAX finds my Network Analyzer (see annexed picture).

 

 

Check01.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I installed drivers also and it seems OK again.

 

At the end I tried to RUN a very example VI taken from a more example manufacturer complex VI (see annexed Test.VI). But I got the following error:

 

Err01.jpg

Can you help me to solve the problem?

I want just to communicate by LabView with my Network Analyzer.

 

Thanks,

Luana.

< The Quiter You Become, The More You Are Able To Hear >
0 Kudos
Message 1 of 8
(3,333 Views)

Hi,

 

As a quick thought, have you tried using the proper IP address instead of Alias in the coneection string.

i.e. instead of using TCPIP0::ZVB8-101554::inst0::INSTR, try  TCPIP0::192.168.0.2::inst0::INSTR.

 

 

LV 8.0, 8.6, 2011,2012,2013 WinXP
0 Kudos
Message 2 of 8
(3,322 Views)

Thanks subbzz.

 

No I didn't try to use the proper IP address instead of Alias in the connection string.

 

1) But do you mean that I have to change (in the MAX window) in the "Hostname or IP address" field the string "ZVB8-101554" with the string "192.168.0.2"?

 

2) When I change the string in this field, is there also same auto-changes in the LabView VI running?

 

Thanks again,

Luana.

< The Quiter You Become, The More You Are Able To Hear >
0 Kudos
Message 3 of 8
(3,316 Views)

Hi, which version of the driver are you using? See chm help file - section "what's new".

Which version of the instrument firmware is running on your machine? j

0 Kudos
Message 4 of 8
(3,305 Views)

Hi,

the rszvb driver works fine, see below

 

 

I gave it a try with your example. The different use of hostnames instead of IP adresses should not be an issue.

 

Are you able to send SCPI Queries, like *IDN? to the instrument using the NI "VISA Interactive Control Tool"?

 

br j.

0 Kudos
Message 5 of 8
(3,304 Views)

Thanks juergenstraub,

 

I don't know how to send SCPI Queries, like *IDN?, to the instrument using the NI "VISA Interactive Control Tool".

 

First of all I have LabView 2012. I have tried to do what you wrote by:

 

- opening "VISA Interactive Control";

- choosing my instrument and, then, File -> Open Selection.

 

At this point it appears the following window:

 

Check03.jpg

 

 

- Click on "Query" button;

- you can see in the previous picture what was the result.

- I have also find the "NI I/O Trace" (it looks like your annexed picture):

 

Check04.jpg

 

 

- I have re-clicked the "Query" button and the result was shown in the following picture:

 

Check06.jpg

 

 

After the first click on the "Query" button the real monitor of my network Analyzer showed an image "REMOTE CONNECTION".

So, since I was thinking that the connection was OK, I tried to RUN the "RSZVB Application" example included in the "Programming Examples" and the result was:

 

Check05.jpg

 

That is... again the error.

 

Have I done correct operations to asnwer your question?

For me... it seems that the connection is OK.

 

If NO, can you help me by writing step-by-step operations to answer you?

If YES.... How can I solve the problem?

 

Thanks again in advance,

Luana.

< The Quiter You Become, The More You Are Able To Hear >
0 Kudos
Message 6 of 8
(3,284 Views)

In the last example there is no value for the VISA Resource String (fill it with TCPIP::ZN...), futhermore the Error-In is not ok (make it "green"). This should do the trick.

0 Kudos
Message 7 of 8
(3,280 Views)

Thanks juergenstraub,

 

can you tell me where I have to write this value? Here (see the figure below)?

 

Check07.jpg

 

 

 

 

 

 

 

What I did by trying to answer your question was correct?

 

Thanks again,

Luana.

< The Quiter You Become, The More You Are Able To Hear >
0 Kudos
Message 8 of 8
(3,274 Views)