From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I found several API calls to get/set the local variables, if i know the name of the variable. However, if i want to get the list of variables from locals, parameters etc., how should i be able to get this from "ThisContext".
to get the number of Locals in a sequence (1) Use the method GetNumSubProperties("Locals") and store the Return Value (= Number of Locals). (2) Loop on a step that uses GetNthSubPropertyName("Locals", ...) to get the names of the locals.