LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polar pict background for x-y graph

Solved!
Go to solution

Hi,

Want to use a polar plot as background for an x-y graph.  Will use x-y cursor to identify coordinates and convert to polar (r, theta).  I can't seem to find a way to 'co-locate' the origin of the plot pict with the origin of the x-y graph. Picture controls are 'kinda' confusing it seems.

 

Please see my attempt so far.

 

Thanks,

Chris

0 Kudos
Message 1 of 5
(2,563 Views)

I'm guessing that you "ported" this from an earlier version of LabVIEW.  When I opened it in LabVIEW 2018 (I don't have 2017 installed here and looked at the Help for the Polar Plot vi on your Block Diagram, I saw "LabVIEW no longer supports this VI.  Use the Polar Plot with Points VI instead."  So I went to the Graph Palette, opened the Controls sub-Palette, dropped a Polar Plot on the Front Panel, and found "Polar Plot with Points" VI now in my Block Diagram!

 

Try deleting your Polar Plot and its Helper, then putting a new Polar Plot on your Front Panel and see if that fixes this problem.

 

Bob Schor

0 Kudos
Message 2 of 5
(2,539 Views)

Thanks Bob,

Actually that was kind of a red herring; that VI was simply masking the vi you mentioned (Polar Plot with options) as a sub-vi.  I have corrected the example and re-attach below.  Still has issues.

 

Regards,

Chis

0 Kudos
Message 3 of 5
(2,534 Views)
Solution
Accepted by bonnerupc

Finally decided to tear down and see exactly what the sub-vis were doing.  Seems the 'Get Ready.vi' sub was doing all sorts of scaling and manipulation; good for a very specific action but not general at all.

Anyway, attached is the code i eventually came up with.  Does exactly what I want.

I do wish there was more documentation on the Picture Control vi's.

 

All done here.

Thaks,

Chris

0 Kudos
Message 4 of 5
(2,493 Views)

Hello Bob Schor,

 

How to write the polar plot graph into word or excel for documentation purpose. I'm using the polar plot to represent the Antenna Radiation Pattern which is having the Magnitude (dB) and Phase (deg).

 

Kindly help me for documentation.

 

Regards,

S Nagaraju

0 Kudos
Message 5 of 5
(2,474 Views)