annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

[Custom Device][XXX Initialization VI.vi] how to use "Custom XML" termal?

Résolu !
Accéder à la solution
0 Compliments
Message 1 sur 10
10 028 Visites

What custom device are you using here? Was it something from the Community, or something you, or someone you're working with made? Most community devices have a feedback and support page. Also it would be helpful if you posted a screenshot of the block diagram. We cannot tell from just the front panel what this control is connected to downstream in your program.

Miles G.
Emerson Test & Measurement Group
Senior System Support Engineer
Message 2 sur 10
9 830 Visites
Solution
Accepté par hm7
The content of that string is whatever is inside the customxml tag inside the custom device xml
http://zone.ni.com/reference/en-XX/help/372846G-01/veristandmerge/cd_xml_tags/
Stephen B
Message 3 sur 10
9 818 Visites

thank you fou your help.

I have another question about this "customXML"tag. I want to get some information from the 'customXML' terminal in the "custom device initialization VI.vi" . I change the custom device XML file manually, when I load the SDF file, I get an error.

If I use the names that the custom device xcd file contained, there is no error, but I still can't get the information.

无标题.jpg

0 Compliments
Message 4 sur 10
9 146 Visites

I do a test as below. It shows that when the initialization.vi is runnig, the customXML termainal was wrote.

无标题.jpg

0 Compliments
Message 5 sur 10
9 139 Visites

waiting!!!

0 Compliments
Message 6 sur 10
9 003 Visites

Latecomer to this discussion, so I apologize if this is stupidly out of context . . . 

 

hm7, I believe that you need to have valid XML tags inside that Custom XML section (not just text).

 

For example you could put in the following:

 

<Popup Text>Hello</Popup Text>

 

I'm fairly certain that what you currently have is not valid per the XML Schema (Custom Device.xsd).  I've used this tool before to validate XML: http://www.freeformatter.com/xml-validator-xsd.html

 

 

Chris
Project Engineer
Certified LabVIEW Architect
Certified TestStand Architect
Message 7 sur 10
8 970 Visites

the tag between the last two tags of <CustomXML> should be enter as "<Dummy>" as follows

Capture.PNG

0 Compliments
Message 8 sur 10
8 932 Visites

Can you give me an example for this? I try many times but failed.

0 Compliments
Message 9 sur 10
8 899 Visites

you could refer to any xml file of custom device example at C:\Users\Public\Documents\National Instruments\NI VeriStand 2013\Custom Devices as attachment.

 

if it doesn't work for you ,  I think you had better to rebuild the custom device from the custom template tool step by step.

Message 10 sur 10
8 841 Visites