Forums

Using the 86F8xx SDK PCMaster ActiveX with JavaScript

Started by Roberts, Drew July 20, 2001
Using the 86F8xx SDK PCMaster ActiveX with JavaScript

I'm trying to implement a demo using the pcmaster and an DSP86F807 eval board. I have implemented part of the demo using VBScript, but I need to change to JavaScript. The problem is getting the JavaScript to pass references(pointers) to the read and write functions to retrieve the values or return messages. I've tried the following:

var v = new Array();
var tv = new Array();
var retMsg = new Array();
succ = pcm.ReadVariable("xyz",v,tv,retmsg);
The function is getting called, but v, tv and retmsg are empty. Has anyone tried using JavaScript with the pcmaster? Anyone have any solutions?

Thanks in advance