03-06-2009 12:17 PM
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.
03-09-2009 04:15 AM
hi,
this should work.
regards juergen
03-09-2009 10:50 AM
juergenstraub wrote:hi,
this should work.
regards juergen
Thanks I will give it a shot.
03-10-2009 10:59 AM
juergenstraub wrote:hi,
this should work.
regards juergen
hmmm it still returns a zero.
03-10-2009 11:44 AM
03-10-2009 12:43 PM
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.
03-11-2009 04:49 AM
hmmm... what do you want to do exactly, maybe there is another way to get to the same "result"?
regards
03-11-2009 10:55 AM
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.
03-11-2009 12:55 PM
>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
03-11-2009 01:08 PM