10-28-2019 03:13 AM
Hello All,
I should automatize laboratory.
Actualy, i need to create VI that have all major functions of specrum analyzer.
Spectrum analyzer is Rhode&Schwarz FSP. Doc in att.
Communicatin should be done via Profilogix GPIB - USB controller. Doc in att.
Because this area is compleatly new for me, i would like to ask you, if somebody can advise me how i can start with this?
I already asked Rhode&Schwarz for some example, but they hdon't have it...
Also, because PC will communicate over USB, is it ok to use VISA functions?
Thank you very much for support.
10-28-2019 06:41 AM
10-28-2019 11:23 AM
First, try using this Prologix front-end that I created. Next, If the Rhode & Schwartz system is SCPI compliant, then you should be all set.
10-29-2019 07:21 AM
Hello,
I tried your front-end, and device respond on *idn? . This is OK.
I created new one, to enter some query, but VI throus an error.
VISA: (Hex 0xBFFF0015) Timeout expired before completion of the operation.
Part of code with *idn? works just fine.
Can you please check, what I made wrong, and give me some directions?
Thank you.
10-29-2019 08:04 AM
Assuming that you followed the direction in the Prologix setup, did you set the language to SCPI for the spectrum analyzer?
SYST:LANG "SCPI"
Search for SCPI in your attached manual. This should allow the everything to work properly and permit your query to respond properly as defined in section 6.8 of the manual.
10-30-2019 07:39 AM
Hello,
I manage to set up basic parameters of spectrum analyser. in att.
Now, i need to get measurement signal from analyser to PC as CSV file. Can someone advise steps regarding this?
Is it possible to get measure signal on scope in VI?
Best regards.
10-30-2019 09:50 AM
If the spectrum analyzer is now setup properly, now comes the easy part.
How would you manually manipulated the instrument to arrive at the desired results? Compare those steps with the available SCPI commands/queries to get the necessary results. Once the commands/queries are set now you need to arrange the data into the desired output format.
11-13-2019 12:31 AM
Hello again,
i definitly stuck here...
yes, analyser is set correctly, but how i understand, my prologix controller should pass control to analyser, and then analyser is capable to send measurment data.. This i didn't manage to do.
Can someone tell me how to do this...?
Thakns.
11-13-2019 07:39 AM
Actually, you need to perform the following:
11-19-2019 04:05 AM
Hello,
thanks for the procedure... this is very helpful to me..
But I stacked at point 4.
When I send *OPC? I should read value 1 if previous task is completed.
Instead of this, I get error in read...Please check attachment.
Additional, analyser should show captured scope, and it doesn't show anything.
Can you advise how to solve this?
Also, when I send just *TRG it works fine, 1 is read...And there is also captured scope on analyser.
In att. HP Analyser test.vi
Best regards.