LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Status Register Rohde&Schwarz ESIB

Problem: I can not get the ESIB to send me the status register so I can determine if it is sweeping.

 

I'm not sure how else to get labview to do it. I even looked at the NI SPY and the analzyer isn't even replying aside from going into remote mode.

Download All
0 Kudos
Message 1 of 10
(4,014 Views)

hi,

this should work.

 

regards juergen

 

Download All
0 Kudos
Message 2 of 10
(3,984 Views)

juergenstraub wrote:

hi,

this should work.

 

regards juergen

 


Thanks I will give it a shot. 

0 Kudos
Message 3 of 10
(3,978 Views)

juergenstraub wrote:

hi,

this should work.

 

regards juergen

 


hmmm it still returns a zero.

0 Kudos
Message 4 of 10
(3,962 Views)
hmmm, what are you expecting?
0 Kudos
Message 5 of 10
(3,958 Views)

juergenstraub wrote:
hmmm, what are you expecting?

a 3 weather it be a hex value for the register or not. The value 3 represents the register for Sweeping. The way I tested this is I started a sweep on the analzyer and then ran the vi which returned a zero which is cleary not the case since it was sweeping a 0 represents calibration. I am not even sure the commands are being read correctly.

0 Kudos
Message 6 of 10
(3,948 Views)

hmmm... what do you want to do exactly, maybe there is another way to get to the same "result"?

regards

0 Kudos
Message 7 of 10
(3,938 Views)

juergenstraub wrote:

hmmm... what do you want to do exactly, maybe there is another way to get to the same "result"?

regards


Well simple really. I make the analzyer sweep for x amount of seconds I want the analzyer to finish sweeping completly once its finished I can capture a screenshot. I can do a work around by adding a delay which would provide enough time for the sweep to finish. However this method has a small problem, on the analzyer there is a status register which will display a red star on the plot when you capture a screen of the analzyer where the sweep isn't finished. This doesn't always happpen but when it does you must repeat the sweep; its no problem when your sweeps are 20 seconds but I tend to run sweeps of about 500-1200 seconds which is about 5-12 minutes which can be a bit of a pain.

0 Kudos
Message 8 of 10
(3,932 Views)

>I make the analzyer sweep for x amount of seconds

 

use  SWEEP: SWEEP COUNT: {10} ENTER] (manual page 412)

via viWrite (...)

 

 

 >finish sweeping completly o

 

use  rsfsex_waitOPC(...)

 

this should work. regards

 

 

 

 

0 Kudos
Message 9 of 10
(3,926 Views)
I will try that method and see how it turns out I will also update you on the results as well.
0 Kudos
Message 10 of 10
(3,921 Views)