LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Multiplot Help

No problem, it'd be fine to have them in there then.

 

Cheers!

 

Marti C
Applications Engineer
National Instruments
NI Medical
0 Kudos
Message 21 of 23
(917 Views)

Hi,

 

We are working with the HP4195A network analyzer and are trying to display the readout information using a multiple x-y graph. We would like to display redaout from registers A and B (Y domain) in correlation with the readout from register X that contains frequency information (X domain). We succeeded in displaying A i B while the X domain was defined by sample number (from 0 to 400). We are not sure how to use the graph to show A i B in correlation with frequency that we are reading from the X register. Please see the 'NWAnalyzer Read Trace.vi' in the attachment.

 

Thank you.

Petra&Daria

0 Kudos
Message 22 of 23
(812 Views)

Hi Petra and Daria,

 

From my understanding it sounds like you want to be able two display two plots (A and B; Y values) correlated to a X axis (frequency values). I looked at your attached .vi. It looks like you need to send your XY graph x values. Right now you are only sending your chart Y values for 2 plots and by default the chart is using 0,1,2...400 (sample number) for the X axis. 


XY Graph.vi in the example finder should be of much assistance; this is for a graph but you should be able to convert these ideas to a chart (the difference between programing for charts and graphs is explained in this Knowledge Base). You need to Bundle your X values with both sets of your Y values, and cluster these together. I have downgraded the XY Graph.vi to LV 8.2 and attached it. Hope this helps.

Screenshot of XY Graph.vi

 

2010-12-16_104245.jpg

 

<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE> 

 

 

 


0 Kudos
Message 23 of 23
(800 Views)