LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pull Data from Spectrum Analyzer

I have the following vi written to pull data from an HP3585 Spectrum Analyzer.  Unfotunately my current application only pulls the frequency and signal level where the marker is local (which I can position manually).  I would like to be able to pull all the data values displayed on the screen, however, I am having a little trouble finding the commands necessary to create this vi.  Any help or suggestions would be greatly appreciated.
 
Thanks in advance,
Travis
Message 1 of 13
(6,121 Views)
Have you checked the instrument driver to see whether the commands you need are in it? Also, when you post a VI, that does not include any subVIs. The subVI that you're using to talk to the instrument is missing and that seems to be the most important one. Either use Save with Options>Development Distribution to create an LLB with all files or zip up your main and subVIs and post that.
Message 2 of 13
(6,096 Views)

There should be some vi's available to do that.

I've mostly worked with Rhode & Schwarz S.A.'s.  Both mfgr's have a nice library to work with.  They typically group vi's by functionality.  HP (now Agilent) provides a list that you need to search through.  I also worked with some HP S.A.'s but did not spend that much time doing automation with them.  I did work with many other HP products, and they tend to follow a similar approach. 

JLV

Message 3 of 13
(6,091 Views)

Hello,

 

   I have dowloaded the latest drivers from the NI website and I could not find a vi that used the "D3" data dump command. Has anyone gotten this to work on the HP3585?

 

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 4 of 13
(5,801 Views)

Hello,

 

   I have make some progress on the data dumps, however, I have discovered that I have the HP3585A, that works a little differently than the HP3585B, the difference is that the HP3585A does not assert EOI with the last byte to indicate the end of transmission. So I need to figure out a way to configure the read routine to use a termnation character to detect/determine the end of a message.

  I have used NI spy to observe the transactions with the HP3585A and ibconfig is used to set the termination character to a 0X0A. How can I do this in Labview?

 

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 5 of 13
(5,781 Views)

Hello, I have figured it out, GPIB Receive with a mode of 10, does it. I am a happy camper

 

Regards,

 

Kaspar

Regards,


Kaspar
Message 6 of 13
(5,777 Views)

Hello,

 

 

   I am making good progress with the screen/data capture of the HP3585A scope. Right now I am trying to understand how to manipulate the XY graph as follows

  1. Programmatically manipulate the start and end values of the X and Y axis
  2. fix the grid matrix of the Graph to always be a 10 by 10 box graph so that it looks like the actual display of the HP3585A.

Any ideas out there on how to do this?

 

 

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 7 of 13
(5,740 Views)

  1. Programmatically manipulate the start and end values of the X and Y axis

If by "end values" you are referring to the range, create property nodes.
You would have to create 4  in total : x-max, x-min, y-max, y-min.
These properties only need to be written once, and in the beginning of your code. 

 

Cory K
Message 8 of 13
(5,737 Views)

Hello,

 

   Thanks, I will try that. The next step will be a see how the grid is affected. I would like to have a 10 by 10 box layoout in the grid

 

Regards,

 

Kaspar

Regards,


Kaspar
0 Kudos
Message 9 of 13
(5,731 Views)

Hello,

 

   I have used the property nodes for the start and stop values of each axis. In order for them property nodes to work I had to disable the "autoscale" checkbox of each axis in the chart to get the property node to function. Is there a way to programmatically disable the autoscale feature of each axis?

Regards,


Kaspar
0 Kudos
Message 10 of 13
(5,705 Views)