12-18-2012 05:01 AM - edited 12-18-2012 05:04 AM
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).
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:
Can you help me to solve the problem?
I want just to communicate by LabView with my Network Analyzer.
Thanks,
Luana.
12-18-2012 05:31 AM
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.
12-18-2012 06:12 AM
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.
12-18-2012 07:07 AM
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
12-18-2012 07:19 AM
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.
12-18-2012 09:02 AM
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:
- 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):
- I have re-clicked the "Query" button and the result was shown in the following picture:
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:
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.
12-18-2012 09:09 AM
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.
12-18-2012 09:36 AM - edited 12-18-2012 09:42 AM
Thanks juergenstraub,
can you tell me where I have to write this value? Here (see the figure below)?
What I did by trying to answer your question was correct?
Thanks again,
Luana.