Showing results for 
Search instead for 
Did you mean: 

Spectrum Analyzer not getting full spectrum

Go to solution

I've been using labview to connect to an agilent 9320b spectrum analyzer except I am having issues with the initialize function. If I don't constantly reinitialize my spectrum analyzer my VI doesn't record the full spectrum. Ideally I only want to initialize at the start of my program. Example vi is below with pictures of the result initializing every time and with only initializing once. In the picture where I only initialize once I remove the first frame from the stack sequence

0 Kudos
Message 1 of 4

Anyone have any ideas? As you can see in the 2nd picture it only affects the larger frequency value (in this case 989-991MHz). If I continually run this VI the lower frequency graph continues to display the correct range. 

0 Kudos
Message 2 of 4

I think the issue is something to do with my traces from the spectrum analyzer interfering with each other. If I just run the higher frequency trace repeatedly I get no issues. I think the issue is in the subVI attached below.

0 Kudos
Message 3 of 4
Accepted by topic author Mickan

I think I've found a fix for this. The issue was in the driver where it wasn't properly writing the start and stop frequency for the trace, my work around was just to send the serial command that sets these frequencies twice which made it work correctly for some reason.

0 Kudos
Message 4 of 4