System Sun, SunOS 5.8
LabView 5.1
Color preference toggles between 125 and 216 color palettes.
My application needs 60 colors at most.
This application works together with other ones, that assumes sharing
colormap.
For the perfomance reasons, used visual is pseudocolor (8 planes).
Among the applications running at the same time, there is one that
allocates colormap entries for 128 colors. Accounting default allocation
for ~12 colors, we have a conflict that is confirmed at runtime when
starting labview's application:
>./labview-app
See /tmp/LabVIEW_Failure_Log.file.txt for more information.
Failure : "color.c" line 365
For assistance in resolving this problem, please record the preceding
information and navigate to www.natinst.com/failure, or co
ntact National
Instruments.
Abort
Here is /tmp/LabVIEW_Failure_Log.file.txt
####
#Date: Tue, Nov 13, 2001 02:08:59 PM
#Desc: Failure : "color.c" line 365
For assistance in resolving this problem, please record the preceding
information and navigate to www.natinst.com/failure, or contact National
Instruments.
#RCS:
#OSName: Solaris
#OSVers: 5.8
#AppName: ./tools
#AppKind: AppLib
0x001b9ae0 - DumpStdStackCrawl + 0x154
0x001b98e0 - DBSetDebugStrings + 0x18
0x001b98b8 - DBAssert + 0xb4
0x001ea4bc - DAllocAppColor + 0xae8
0x001ea950 - DSetAppColors + 0x28
0x0009e85c - GetFlagRes + 0x118c
0x0009cae8 - InitApp + 0x330
0x000a16f0 - WMain + 0x4
0x001e14ac - main + 0x68
0x000482c4 - _start + 0xdc
An idea to use another visual doesn't work, i.e.
../labview-app -visual truecolor
yields always the result above.
Q: Is it possible for labview to allocate less than 125 colors?
Q: Is it possible to customize color features of the labview
applications?
Thanks in advance,
Alex