Set parameter value

25 views
Skip to first unread message

Mm

unread,
Jun 23, 2025, 12:01:41 PMJun 23
to yamcs
Hello all, 
I'm trying to update a parameter value through a python script, however I'm unsure which types are 'writable' or 'updatable'.

Code I'm trying to execute:
processor.set_parameter_value({"/myproject/FRAME_TYPE": 2})

Will I have to update the xml file to make this work?

Nicolae Mihalache

unread,
Jun 23, 2025, 12:05:30 PMJun 23
to ya...@googlegroups.com
You have to declare it as local, something like:

                        <Parameter parameterTypeRef="engbool" initialValue="True" name="AllowCriticalTC1">
                               <ParameterProperties dataSource="local" />
                       </Parameter>

--
You received this message because you are subscribed to the Google Groups "yamcs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yamcs+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/yamcs/9ca2d176-8dda-4bfb-99f5-435523a130adn%40googlegroups.com.
Message has been deleted

Mm

unread,
Jun 24, 2025, 5:38:56 AMJun 24
to yamcs
Yes I figured that out and it works. I'm currently trying to write a python script that will receive a packet from a TCP server then extract the data and send a TC to YAMCS based on it. Any suggestions on where to find documentation for that?

Mm

unread,
Jun 24, 2025, 8:45:11 AMJun 24
to yamcs
Got that to work too.
Reply all
Reply to author
Forward
0 new messages