admin:ad...@192.168.1.10/ioreg.js
var IO=new Array (0x00,0x00,0x00,0x008D,0x0126,0x00B7,0x008D,0x004F,0x0035,0x003F,0x0042)
var IS=new Array (0xFF,0xFF,0x00)
var N=new Array ("P3.1","P3.2","P3.3","P3.4","P3.5","P3.6","P3.7","P3.8","P5.1","P5.2","P5.3","P5.4","P5.5","P5.6","P5.7","P5.8","ADC.1","ADC.2","ADC.3","ADC.4","ADC.5","ADC.6","ADC.7","ADC.8","Port 1","Port 2","Port 3","Port 4","Port 5","Port 6","Port 7","Port 8")
You could use the the Javascript eval command to convert these strings into JS commands. Then just use each value in your code.
eg.
digitalio1 = IO[0];
digitalio2 = IO[1];
analogio1 = IO[2];
etc.
From what I understand of your problem:
You really need to run the code through a syntax checker to ensure there are no syntax errors.
Place a CF.log just before the sending of the CF.request (or the CF.send, if you at the TCP protocol level as opposed to http) to ensure you get there.
If the device you are communicating with is using http then a CF.request should return at least the status plus the body if there is a body being returned.
If there is no return from the CF.request then there is a high probability, but not a certainty, that the problem is not in the iviewer.
--
You received this message because you are subscribed to the Google Groups
"CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.