NI VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Solved!
Go to solution

Custom Xml.jpg

0 Kudos
Message 1 of 10
(6,173 Views)

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.
National Instruments
Staff Applications Engineering Specialist
Message 2 of 10
(5,975 Views)
Solution
Accepted by topic author 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 of 10
(5,963 Views)

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 Kudos
Message 4 of 10
(5,291 Views)

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

无标题.jpg

0 Kudos
Message 5 of 10
(5,284 Views)

waiting!!!

0 Kudos
Message 6 of 10
(5,148 Views)

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 of 10
(5,115 Views)

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

Capture.PNG

0 Kudos
Message 8 of 10
(5,076 Views)

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

0 Kudos
Message 9 of 10
(5,044 Views)

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 of 10
(4,986 Views)