<div dir="ltr">Yes, I got it working. It was a simple repeat_command="1" which was missing. What does that do if I may ask? Does it call the getselection function repeatedly whenever there is an update? Thanks anyway!<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 August 2014 15:21, Girish Ramesh <span dir="ltr"><<a href="mailto:rgirish28@gmail.com" target="_blank">rgirish28@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, now it is not segfaulting but it is also not loading the DataArraySelection functions as none of the debug macros are triggered when the plugin is loaded and any output statements that i have in the functions are not printed out. This is confusing! <br>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 August 2014 15:16, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think the segfault is happening in SetUserEPK().<br>
<div><div><br>
On Thu, Aug 21, 2014 at 8:42 AM, Girish Ramesh <<a href="mailto:rgirish28@gmail.com" target="_blank">rgirish28@gmail.com</a>> wrote:<br>
> The Plugin loads fine according to the debugger, so it is something to do<br>
> with the loading of the vtkDataArraySelector. I'm completely lost on where<br>
> my code is messing up. I hope you can help Utkarsh. Thanks.<br>
><br>
> Regards,<br>
> Girish<br>
><br>
><br>
> On 21 August 2014 14:35, Girish Ramesh <<a href="mailto:rgirish28@gmail.com" target="_blank">rgirish28@gmail.com</a>> wrote:<br>
>><br>
>> This is the error that is printed out. I dunno what the problem is. I<br>
>> think it is to do with the vtkDataArraySelection being returned. It was<br>
>> atleast loading the ServerManager GUI before I added the function for<br>
>> returning the Selection. Any thoughts? Thank you and sorry for being a<br>
>> bother.<br>
>><br>
>><br>
>><br>
>> -------------------<br>
>><br>
>> *** glibc detected ***<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview:<br>
>> double free or corruption (!prev): 0x0000000000b6f720 ***<br>
>> ======= Backtrace: =========<br>
>> /lib64/libc.so.6(+0x76808)[0x2b6ce2c97808]<br>
>> /lib64/libc.so.6(cfree+0x6c)[0x2b6ce2c9c84c]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/libReadUALGrid.so(_ZN11ReadUALGrid7SetUserEPKc+0x21d)[0x2b6ced506fdb]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/libReadUALGrid.so(_Z18ReadUALGridCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x8ae)[0x2b6ced5088c1]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter19CallCommandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientServerStreamRS4_+0x158)[0x2b6cd58551c8]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x192)[0x2b6cd5859102]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x2b6)[0x2b6cd5858746]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)[0x2b6cd585880d]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN13vtkSIProperty14ProcessMessageER21vtkClientServerStream+0x3b)[0x2b6cd1e751bb]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN25vtkSIStringVectorProperty4PushERKNS_18vtkVectorOfStringsE+0x247)[0x2b6cd1e8aad7]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN25vtkSIStringVectorProperty17ReadXMLAttributesEP10vtkSIProxyP15vtkPVXMLElement+0x2c1)[0x2b6cd1e8b431]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN10vtkSIProxy15ReadXMLPropertyEP15vtkPVXMLElement+0x1a2)[0x2b6cd1e77832]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN10vtkSIProxy17ReadXMLAttributesEP15vtkPVXMLElement+0x18f)[0x2b6cd1e7649f]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkSISourceProxy17ReadXMLAttributesEP15vtkPVXMLElement+0x19)[0x2b6cd1e87809]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN10vtkSIProxy16CreateVTKObjectsEPN17paraview_protobuf7MessageE+0x6b2)[0x2b6cd1e76e12]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkSISourceProxy16CreateVTKObjectsEPN17paraview_protobuf7MessageE+0x65)[0x2b6cd1e89765]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN10vtkSIProxy4PushEPN17paraview_protobuf7MessageE+0x1d)[0x2b6cd1e7609d]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionCore17PushStateInternalEPN17paraview_protobuf7MessageE+0x1f2)[0x2b6cd1e5ae32]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionCore9PushStateEPN17paraview_protobuf7MessageE+0x37)[0x2b6cd1e592e7]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1(_ZN16vtkPVSessionBase9PushStateEPN17paraview_protobuf7MessageE+0x2d)[0x2b6cd1e56b2d]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1(_ZN10vtkSMProxy16CreateVTKObjectsEv+0x363)[0x2b6cd195b663]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1(_ZN16vtkSMSourceProxy16CreateVTKObjectsEv+0x15)[0x2b6cd199b7e5]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1(_ZN24vtkSMSessionProxyManager13RegisterProxyEPKcS1_P10vtkSMProxy+0x532)[0x2b6cd19908f2]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1(_ZN15pqObjectBuilder19createProxyInternalERK7QStringS2_P8pqServerS2_S2_RK4QMapIS0_8QVariantE+0x3bb)[0x2b6ccf16451b]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1(_ZN15pqObjectBuilder12createSourceERK7QStringS2_P8pqServer+0x99)[0x2b6ccf160d09]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1(_ZN21pqSourcesMenuReaction12createSourceERK7QStringS2_+0xfa)[0x2b6cce6ec38a]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf)[0x2b6ce213d9bf]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1(_ZN23pqProxyGroupMenuManager9triggeredERK7QStringS2_+0x27)[0x2b6cce7042a7]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1(_ZN23pqProxyGroupMenuManager9triggeredEv+0x117)[0x2b6cce6db9a7]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf)[0x2b6ce213d9bf]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32)[0x2b6ce116bda2]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x70)[0x2b6ce116bf90]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(+0x64b3b3)[0x2b6ce15a23b3]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(+0x6517c9)[0x2b6ce15a87c9]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x929)[0x2b6ce11c1a99]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN5QMenu5eventEP6QEvent+0x5b)[0x2b6ce15a9b0b]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xac)[0x2b6ce1171fac]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x3eb)[0x2b6ce11766db]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8e)[0x2b6ce21284de]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb+0x14b)[0x2b6ce1172deb]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(+0x29677c)[0x2b6ce11ed77c]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xaf1)[0x2b6ce11ec651]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(+0x2bb322)[0x2b6ce1212322]<br>
>> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x24a)[0x2b6ce8dad60a]<br>
>> /usr/lib64/libglib-2.0.so.0(+0x3ee88)[0x2b6ce8db0e88]<br>
>> /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x6c)[0x2b6ce8db103c]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x66)[0x2b6ce2156ac6]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4(+0x2bafae)[0x2b6ce1211fae]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x2f)[0x2b6ce21270df]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x138)[0x2b6ce2127368]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x88)[0x2b6ce212c248]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview(main+0x185)[0x407ac5]<br>
>> /lib64/libc.so.6(__libc_start_main+0xe6)[0x2b6ce2c3fc16]<br>
>><br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview[0x407879]<br>
>> ======= Memory map: ========<br>
>> 00400000-008bb000 r-xp 00000000 00:19 102783069<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview<br>
>> 00abb000-00abc000 r--p 004bb000 00:19 102783069<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview<br>
>> 00abc000-00abd000 rw-p 004bc000 00:19 102783069<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/paraview<br>
>> 00abd000-01fc4000 rw-p 00000000 00:00 0<br>
>> [heap]<br>
>> 2b6cce41f000-2b6cce43e000 r-xp 00000000 fd:01 16791<br>
>> /lib64/<a href="http://ld-2.11.3.so" target="_blank">ld-2.11.3.so</a><br>
>> 2b6cce43e000-2b6cce440000 rw-p 00000000 00:00 0<br>
>> 2b6cce63d000-2b6cce63e000 r--p 0001e000 fd:01 16791<br>
>> /lib64/<a href="http://ld-2.11.3.so" target="_blank">ld-2.11.3.so</a><br>
>> 2b6cce63e000-2b6cce63f000 rw-p 0001f000 fd:01 16791<br>
>> /lib64/<a href="http://ld-2.11.3.so" target="_blank">ld-2.11.3.so</a><br>
>> 2b6cce63f000-2b6cce640000 rw-p 00000000 00:00 0<br>
>> 2b6cce640000-2b6cce743000 r-xp 00000000 00:19 67479375<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1<br>
>> 2b6cce743000-2b6cce943000 ---p 00103000 00:19 67479375<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1<br>
>> 2b6cce943000-2b6cce94d000 r--p 00103000 00:19 67479375<br>
>> /pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1<br>
>> 2b6cce94d000-2b6cce950000 rw-p 0010d000 00:19 6<br>
>><br>
>><br>
>> On 21 August 2014 14:30, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>><br>
>> wrote:<br>
>>><br>
>>> I'd suggest looking at in the debugger and the tracking the segfault<br>
>>> down. Not sure where it could be going wrong.<br>
>>><br>
>>> Utkarsh<br>
>>><br>
>>> On Thu, Aug 21, 2014 at 8:25 AM, Girish Ramesh <<a href="mailto:rgirish28@gmail.com" target="_blank">rgirish28@gmail.com</a>><br>
>>> wrote:<br>
>>> > Dear Utkarsh,<br>
>>> ><br>
>>> > Thank you for the email. I tried modelling it along the example<br>
>>> > mentioned.<br>
>>> > This is the code that I have written but it segfaults for no reason<br>
>>> > that is<br>
>>> > apparent to me.<br>
>>> ><br>
>>> > C++ Code:<br>
>>> ><br>
>>> > ReadUALGrid::ReadUALGrid()<br>
>>> > {<br>
>>> > //this->FileName = NULL;<br>
>>> > this->SetNumberOfInputPorts(0);<br>
>>> > this->SetNumberOfOutputPorts(1);<br>
>>> > this->trial=vtkSmartPointer<vtkDataArraySelection>::New();<br>
>>> > this->trial->AddArray("hello");<br>
>>> > this->trial->AddArray("world");<br>
>>> > this->trial->EnableAllArrays();<br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > }<br>
>>> ><br>
>>> > vtkDataArraySelection * ReadUALGrid::GetCPOListSelection(){<br>
>>> ><br>
>>> > return this->trial.GetPointer();<br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > int ReadUALGrid::GetCPOListArrayStatus(char *name){<br>
>>> ><br>
>>> > return this->trial->GetArraySetting(name);<br>
>>> > }<br>
>>> ><br>
>>> > void ReadUALGrid::SetCPOListArrayStatus(const char * name, int status){<br>
>>> ><br>
>>> > if (status){<br>
>>> > this->trial->EnableArray(name);<br>
>>> > }<br>
>>> > else{<br>
>>> > this->trial->DisableArray(name);<br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > int ReadUALGrid::GetNumberOfCPOListArrays(){<br>
>>> ><br>
>>> ><br>
>>> > return this->trial->GetNumberOfArrays();<br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > const char * ReadUALGrid::GetCPOListArrayName(int index){<br>
>>> ><br>
>>> > return this->trial->GetArrayName(index);<br>
>>> ><br>
>>> > }<br>
>>> ><br>
>>> ><br>
>>> > XML:<br>
>>> ><br>
>>> > <StringVectorProperty<br>
>>> > name="CPOList"<br>
>>> > label="CPOList"<br>
>>> > command="SetCPOListArrayStatus"<br>
>>> > number_of_elements="0"<br>
>>> > number_of_elements_per_command="2"<br>
>>> > element_types="2 0"<br>
>>> > information_property="CPOListArrayStatus"<br>
>>> > panel_visibility="default"><br>
>>> ><br>
>>> > <ArraySelectionDomain name="array_list"><br>
>>> > <RequiredProperties><br>
>>> > <Property function="ArrayList"<br>
>>> > name="CPOListArrayStatus"/><br>
>>> > </RequiredProperties><br>
>>> > </ArraySelectionDomain><br>
>>> > <Documentation><br>
>>> ><br>
>>> > This property specifies the CPO on the UAL Database.<br>
>>> > </Documentation><br>
>>> > </StringVectorProperty><br>
>>> ><br>
>>> ><br>
>>> > <StringVectorProperty<br>
>>> > name="CPOListArrayStatus"<br>
>>> > information_only="1"><br>
>>> > <ArraySelectionInformationHelper attribute_name="CPOList"/><br>
>>> > </StringVectorProperty><br>
>>> ><br>
>>> ><br>
>>> > Any idea where I am making the mistake? Can I initialize a<br>
>>> > DataArraySelection that way? Thanks.<br>
>>> ><br>
>>> > Regards,<br>
>>> > Girish<br>
>>> ><br>
>>> ><br>
>>> > On 20 August 2014 22:49, Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>><br>
>>> > wrote:<br>
>>> >><br>
>>> >> Try modeling this on "Point/Cell" array selection properties provided<br>
>>> >> by readers (in readers.xml). You'd need to use the<br>
>>> >> ArraySelectionDomain, the StringListDomain won't work.<br>
>>> >><br>
>>> >> e.g.<br>
>>> >> <StringVectorProperty command="SetPointArrayStatus"<br>
>>> >> element_types="2 0"<br>
>>> >> information_property="PointArrayInfo"<br>
>>> >> label="Point Arrays"<br>
>>> >> name="PointArrayStatus"<br>
>>> >> number_of_elements="0"<br>
>>> >> number_of_elements_per_command="2"<br>
>>> >> repeat_command="1"><br>
>>> >> <ArraySelectionDomain name="array_list"><br>
>>> >> <RequiredProperties><br>
>>> >> <Property function="ArrayList"<br>
>>> >> name="PointArrayInfo" /><br>
>>> >> </RequiredProperties><br>
>>> >> </ArraySelectionDomain><br>
>>> >> <Documentation>This property lists which point-centered arrays<br>
>>> >> to<br>
>>> >> read.</Documentation><br>
>>> >> </StringVectorProperty><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On Wed, Aug 20, 2014 at 9:37 AM, Girish Ramesh <<a href="mailto:rgirish28@gmail.com" target="_blank">rgirish28@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >> > Hi,<br>
>>> >> ><br>
>>> >> > I would like to use the panel_widget option in the servermanager XML<br>
>>> >> > with a<br>
>>> >> > String Array, but whenever I try to do it, it doesn't display<br>
>>> >> > anything.<br>
>>> >> > So,<br>
>>> >> > I'm wondering how it can be done even though it works with a normal<br>
>>> >> > StringVectorProperty for the default widget. Thank you. The XML and<br>
>>> >> > screenshot is given below.<br>
>>> >> ><br>
>>> >> > XML:<br>
>>> >> ><br>
>>> >> > <StringVectorProperty<br>
>>> >> > name="CPOList"<br>
>>> >> > label="CPOList"<br>
>>> >> > command="SetCPOList"<br>
>>> >> > number_of_elements="1"<br>
>>> >> > panel_visibility="default"<br>
>>> >> > panel_widget="list"><br>
>>> >> > <StringListDomain name="array_list"><br>
>>> >> > <RequiredProperties><br>
>>> >> > <Property function="ArrayList"<br>
>>> >> > name="CPOListInfo"/><br>
>>> >> > </RequiredProperties><br>
>>> >> > </StringListDomain><br>
>>> >> > <Documentation><br>
>>> >> > This property specifies the CPO on the UAL Database.<br>
>>> >> > </Documentation><br>
>>> >> > </StringVectorProperty><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > <StringVectorProperty<br>
>>> >> > name="CPOListInfo"<br>
>>> >> > label="CPOListInfo"<br>
>>> >> > command="GetCPOList"<br>
>>> >> > information_only="1"><br>
>>> >> > <StringArrayHelper /><br>
>>> >> > </StringVectorProperty><br>
>>> >> ><br>
>>> >> > Screenshot of option working with default widget:<br>
>>> >> ><br>
>>> >> > <a href="https://imageshack.com/i/eyhM3mFKp" target="_blank">https://imageshack.com/i/eyhM3mFKp</a><br>
>>> >> ><br>
>>> >> > Regards,<br>
>>> >> > Girish<br>
>>> >> ><br>
>>> >> > _______________________________________________<br>
>>> >> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>> >> ><br>
>>> >> > Visit other Kitware open-source projects at<br>
>>> >> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>> >> ><br>
>>> >> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>>> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>>> >> ><br>
>>> >> > Follow this link to subscribe/unsubscribe:<br>
>>> >> > <a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
>>> >> ><br>
>>> ><br>
>>> ><br>
>><br>
>><br>
><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>