12-17-2015 02:53 AM
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?
12-17-2015 10:40 AM
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> ---'
12-17-2015 11:17 AM
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,
12-18-2015 05:49 AM
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.
12-19-2015 10:15 PM
What is the (missing) sub-VI "Polar Plot with Point Options1"? Could that be the culprit?
Bob Schor
12-19-2015 10:35 PM
"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.
12-20-2015 09:22 AM
@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.
Bob Schor
12-21-2015 12:16 AM
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.
12-21-2015 07:23 AM
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