LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

polar plot modularity

Hi, 

 

How to run Entire Polar plot once at initialising stage of running the Vi.

Now my polar VI is placed in a while loop. and at every scan entire polar plot's angle lines, grids, lables are plotted.

After cirtain time exe gives error of i.e. drawmgr.cpp and exe abort its function.

So please share some ideas for modularity of Polar Plot VI.

 

This is the snapshot of Error. How can we solve this error?

 

Untitled.png

0 Kudos
Message 1 of 9
(3,715 Views)

Please include a Snippet of your code, or attach your VIs, so that we can better assist you. That crash doesn't seem to have any documentation from others having the issue, so the only way for us to help is if you supply the code causing the crash.

Cheers


--------,       Unofficial Forum Rules and Guidelines                                           ,--------

          '---   >The shortest distance between two nodes is a straight wire>   ---'


0 Kudos
Message 2 of 9
(3,683 Views)

James is right, we'll need more information about what your code is doing to better assist you.

 

From your description of what the code is doing, it seems likely that you could be exceeding the allowed number of GDI objects which is known to cause a crash that points to drawmgr.cpp:

 

http://digital.ni.com/public.nsf/allkb/ED23C965B6F2BDA586257AB5007880F7

 

Try that out and let us know how many GDI objects you're working with.

 

Regards,

 

Collin D.
Software Product Manager
0 Kudos
Message 3 of 9
(3,668 Views)

Hi James, Here I have attached code related to Polar plot for convince of solution regarding same.

Basically Analog values read from PLC using modbus ethernet communication and stored in database.

Plot catches the records from database via DB tools as per defined scan rate &  simultaneously polar design attributes also running.

possibly this makes issue for drawmgr.cpp error.

 

 

Download All
0 Kudos
Message 4 of 9
(3,632 Views)

What is the (missing) sub-VI "Polar Plot with Point Options1"?  Could that be the culprit?

 

Bob Schor

0 Kudos
Message 5 of 9
(3,582 Views)

"Polar Plot with Point Options1" is the VI of library of Polar plot

I have attached Polar library "PolarModified.llb" & path to place this library is "C:\Program Files\National Instruments\LabVIEW 2014\vi.lib\picture\polar"

This library is made in LabVIEW 2014 SP1.

0 Kudos
Message 6 of 9
(3,571 Views)

@bageshri wrote:

"Polar Plot with Point Options1" is the VI of library of Polar plot

I have attached Polar library "PolarModified.llb" & path to place this library is "C:\Program Files\National Instruments\LabVIEW 2014\vi.lib\picture\polar"

This library is made in LabVIEW 2014 SP1.


  1. Does your PolarModified.llb library with "Polar Plot with Point Options1" differ in any significant way from the PolarPlot.llb library found in C:\Program Files (x86)\LabVIEW 2014\vi.lib\picture folder?  
  2. Are you running LabVIEW 2014 64-bit?  I noticed that your LabVIEW files are in the Program Files folder, not Program Files (x86).  Are you running on Windows 7?  [For the record, I'm on Windows 7 x64 Pro, with LabVIEW 2014 (SP1) and LabVIEW 2015, both 32-bit].
  3. When I put the existing Polar Plot with Point Options (from the "normal" library) in place in your VI, I noticed that there were coercion dots on the dimensions (w, h) input to the function.  The function wants a cluster of two I16s, and you passed in a cluster of two U32s.  Could this be part of the problem (as you "lose information" going from U32 to I16)?

Bob Schor

0 Kudos
Message 7 of 9
(3,542 Views)

Hi Bob,

 

Thank you for suggestion of coercion dots. I will check further for the same.

My LabVIEW 2014 SP1 is running on windows 7 32bit OS & have only Program Files folder.

0 Kudos
Message 8 of 9
(3,511 Views)

Windows 7 32-bit has only Program Files, as you noticed.  Windows 7 64-bit has both, using Program Files for native 64-bit code and Program Files (x86) for 32-bit code, including 32-bit LabVIEW.

 

Bob Schor

0 Kudos
Message 9 of 9
(3,485 Views)