Web API - Anybuss CompactCom module

Hello,

Where can we find the unoptimized javascript version of the abp.js and editor.js, that’s used by the module to generate the web interface.

Kind regards,
Kris

Hello,

I will look into this further and get back to you, thanks!

Nick

Hello Nick,

We are trying to get a custom webinterface to work using the abp.js to decode a datastructure, but I doing something wrong.

Hereby a code snippet.

var obj1 =$.getJSON(dev.jsonURL("/metadata.json"),{offset: a, count: b}).done(function(data)
{
$.each(data, function(index, d){
var split = [];
html.push(“Number of elements :”, d.numelements, “

”);
var obj3 =$.getJSON(dev.jsonURL("/data.json"),{offset: index, count: 1}).done(function(data) {

	<!--split = abp.parseStruct(b, c, e, d);-->
	});

for ( i=0; i< d.numelements;i++) console.log(d.elementname[i] + " = "+ split[i].toString());							

});

Kris

Hello Kris,

Unfortunately it will be difficult for me to help troubleshoot custom web files as they are application specific and it can be time consuming to troubleshoot. However, I did get the starting point files for you to look at. I am going to make a private message and share them there.

For more in depth embedded support I recommend reaching out to your local support office by making a ticket at the following link,

https://www.anybus.com/support/contact-support

Best regards,
Nick