Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Rhode&Schwarz FS300 driver, "0xBFFC09F9 Data not available"

Hello,

 

i'm developing an application that remotly controls Rhode&Schwarz FS300 spectrum analyzer.
I'm using LabVIEW 2011 Student Version and official VXI Plug&PLay drivers.

 

To make it more flexible i'm using state machnine structure with event handler inside.
When user press Start button, program goes from IDLE state to INIT state (where I use Initialize.vi among others) then to MEASUREMENT state, and if special conditions occur program automaticly end measurement by entering CLOSE state (Abort.vi, Flush Error Queue.vi, Close.vi etc) and then IDLE.

 

Measurement state provides posibility to change basic measurement parameters (here i use event handler) from application front panel, and if no user event occured - user didn't press any button (timeout case) - it should collect data from device.
The problem is that RSSIFS Read Complete Sweep Data.vi returns this error:
"(Hex 0xBFFC09F9) ERROR Data not available"

 

It doesn't matter how long is the timout, because issue started when I added case stucture (that chooses next state).

What do I do wrong? Is this a faulty architecture use, or a driver issue?

 

Thanks,
rabarbar

0 Kudos
Message 1 of 7
(4,038 Views)

Hi rabarbar,

 

It's a bit difficult to answer your question. Have you ever managed to make the R&S FS3000 and LV work together? If yes, please post some VIs about both the working and the not working configurations to see what's with it.

 

Regards,

Norbert

0 Kudos
Message 2 of 7
(4,023 Views)

you may be waiting too short before you ak for the data.

What timeout are you using and what do you see on the screen of the instrument?

or post your vi's

greetings from the Netherlands
0 Kudos
Message 3 of 7
(4,009 Views)

Thanks for your replies!
I can't post my whole project, but I managed to simplified main vi to the boundries (event structure in my original vi contains much more cases, but I didn't want it to be "messy" here).
Simplified without state machine.vi works fine - collects data every 150 sec without errors (it's not a fault of too short timeout).
Simplified with state machine.vi doesn't work, and RSSIFS Read Complete Trace.vi returns error I mentioned before...

0 Kudos
Message 4 of 7
(3,999 Views)

Hi,

 

I have some suggestions to your state machince code:

 

- Design the state machine in a way that if you push the 'Stop' button, the loop does not stop immediately, because it has to go the 'Abort' state (where you terminate the process) before.

- Check the error status after every loop iteration, and if there was an error, go to the 'Abort' state.

- Put the 'error in (no error)' input out of the While loop, and initialize the error shift register with it.

- Put some timing to the 'Idle' state to save CPU resource.

 

I am not sure if these will solve this particular problem, these are rather some general advices.

What I am suspecting is that there are some problems when you initialize the connection with the instrument.

 

Regards,

Norbert

0 Kudos
Message 5 of 7
(3,969 Views)

Hello,

 

Do you've any luck in controlling the FS300?

 

If yes, can you please help me outt? Thanks!

0 Kudos
Message 6 of 7
(3,626 Views)
The original poster has not been on the forum for a couple of years and has probably graduated and long gone. It would be better if you explained the exact nature of the problem you are having with the provider driver.
0 Kudos
Message 7 of 7
(3,619 Views)