I strongly advise against any mentioning of the Javascript in any API related documents because well it doesn`t work. As simple as that. True one can call "Initialise" method without throwing any error but that`s about it. There is no way to use the most important ".Set" and ".Get" methods in Jscript.Carl Zeiss Microscopy 10 wrote:The API can as well be accessed from various scripting languages such as VBScript and JavaScript.
Doing something like this to get the Magnification from the SEM column won`t give you the correct value neither in A nor in B.
Code: Select all
var A,B;
B=CZEMApi.Get("AP_MAG", A);