transsecscriptingmethodlist
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| transsecscriptingmethodlist [2024/11/17 15:13] – wikiadmin | transsecscriptingmethodlist [2024/11/17 15:42] (current) – wikiadmin | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Be sure to declare the classes used from the API so you can reference these by name in the code. Here are some examples of classes you may want to use: | Be sure to declare the classes used from the API so you can reference these by name in the code. Here are some examples of classes you may want to use: | ||
| - | <code javascript> | + | <code javascript> |
| + | var DataSource = Java.type(' | ||
| + | var LongValueObject = Java.type(' | ||
| + | var TransSecsController = Java.type(' | ||
| var SOFTREV = Java.type(' | var SOFTREV = Java.type(' | ||
| </ | </ | ||
| Line 51: | Line 54: | ||
| eventServer = gemHandler.getServerForName(" | eventServer = gemHandler.getServerForName(" | ||
| vidServer = gemHandler.getServerForName(" | vidServer = gemHandler.getServerForName(" | ||
| + | |||
| + | //example to trigger an event | ||
| + | eventServer.setIntValue(1); | ||
| + | |||
| + | //directly set values to vids using the gemHandler | ||
| + | gemHandler.setValue(" | ||
| + | gemHandler.setValue(" | ||
| + | |||
| + | //access vid values | ||
| + | controlState = gemHandler.getServerForName(" | ||
| + | |||
| </ | </ | ||
transsecscriptingmethodlist.1731874404.txt.gz · Last modified: by wikiadmin
