Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Default controller customized XML download error message

Hi,

I'm using RBX 13.1 with customized default controller download and I can't work out the cause of this error.

 

I am trying to download this line to create a program in xml for an Alema system:

<Block Type="TRAJONLY">

 

It refuses to download this line.

The offending line in motion configuration xml is:

<DownloadLayer>
<Line>
<Item Type="const">&lt;Block Type=&quot;TRAJONLY&quot;&gt;</Item>
</Line>
</DownloadLayer>

 

The error is:

"Note: Using selected program template "defaultAlemaXML.tpl".
Warning: Following tags were not defined in ASCII program template "defaultAlemaXML.tpl": "Block". They will be replaced by an empty string."

 

Why does it care what is written as a constant string with no keywords?

Should I actually define something in the program template?

Any ideas? 

Thanks

Martin

4 REPLIES
Solution
Solution
Accepted by topic author BF
‎01-23-2017 04:27 AM

Re: Default controller customized XML download error message

Only workaround is to use another syntax in your customization for the XML tags (ex: {Block Type="TRAJONLY"}) and plug a post download script that will convert the {} to <>.

Re: Default controller customized XML download error message

Hi Gilles, thanks for that  work around, I will do it this way.

Is the problem that the downloader is checking the downloaded result and finds it incorrect due to lack of definition in the xml document?

 

Out of interest, I notice that there is an XML option when selecting the download template, is there any documentation describing this option?

Solution
Solution
Accepted by topic author BF
‎01-23-2017 04:26 AM

Re: Default controller customized XML download error message

The problem is that the download assumes the <tag> to be tags to be replaced.

 

XML based program templates are described in the RoboticsCustomizedUIManual.pdf under Help\Additional Reference Material.

Re: Default controller customized XML download error message

Hi,

I had thought that maybe the problem was because it expected to see a properly formed xml declaration in the header of the download template, but it seems the answer is simpler.

Best Regards

Martin