Skip to content

Accessing a widget from a javascript #100

Answered by fqqb
mbenson1 asked this question in Q&A
Discussion options

You must be logged in to vote

Can you try:
importPackage(Packages.org.yamcs.studio.data);

that’s where VTypeHelper is located these days

For issueCommand we also have a more convenient variant (subject to preference), to do it like this:

Yamcs.issueCommand('/cfs/cfe_es/SetSysLogMode', {
  'Mode': strMode
});

i.e. no string concats

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mbenson1
Comment options

Answer selected by mbenson1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants