취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

Show control representation using export string

해결 완료!
솔루션으로 이동
I've noticed that when I create a .vi or .ctl and go to tools > advanced > export strings the created XML file does not list what the representation of the controls are.  I create the attached .txt file using this method for the attached .vi.  The XML data does not display what representation the control is.  Where is this information stored?  Is there another XML Schema (or other format) that can be used to export the representation information for controls?   It amazes me that it seems impossible to change or view the representation of a control or indicator without having to right click on it and go to representation.

 

0 포인트
1/8 메시지
4,186 조회수

Hi PhilipJoeP,

see this link please. If this not helps, then please explain in more detail what you want? Maybe you can attach your files.

 

Mike

2/8 메시지
4,170 조회수

MikeS81 wrote:

Hi PhilipJoeP,

see this link please. If this not helps, then please explain in more detail what you want? Maybe you can attach your files.

 

Mike


Mike, I looked at the link and the question was raised about changing the data type from one type to another.  The answer on the first page was this was not possible.  Still, I'm interested in figuring out why when i export a string with the technique above, the resulting XML file does not display the data type of the control.  Here are the files i forgot to attach.  Note how the representation of the controls does not appear in the XML data.

 

Message Edited by PhilipJoeP on 05-27-2009 09:29 AM
모두 다운로드
0 포인트
3/8 메시지
4,160 조회수
The representation is not supposed to be listed in the file. The export strings and import strings are used for localization and the representation is not at all relevant. Look up the help topic 'localizing VIs'.
4/8 메시지
4,157 조회수
Quite likely this is just a different way of asking this question or an attempt to see if this solves that question.
0 포인트
5/8 메시지
4,153 조회수

smercurio_fc wrote:
Quite likely this is just a different way of asking this question or an attempt to see if this solves that question.

 

Not exactly... although related.  I'm looking at different possibilities and all the options that go with it.  I've been able to auto-generate clusters two different ways now.  The solution at the link you provided me was one way, but I found a better way for my application.  Stay tuned and I’ll update that post with the other solution.  In this post, I’m trying to find a way to then take that cluster and export it into some format so that I can then parse through it and know the type of control, name, and representation.  Doesn't seem like that is possible... or at least i can't find a way.  Auto coding might be a solution, but an XML file would be ideal.
0 포인트
6/8 메시지
4,150 조회수
솔루션
승인자 PhilipJoeP

The Flatten to XML function will provide information as to datatype.

 

7/8 메시지
4,135 조회수
This is great!  Thanks! 
0 포인트
8/8 메시지
4,125 조회수