To write data into File Global Data container, you can refer to below methods:
- Open ActiveX session to TestStand engine class and create Property Node (ActiveX)
- Get Sequence File by create Property Node (ActiveX) and select FileGlobalsDefaultValues.
- Get Number of Containers by create Invoke Node (ActiveX) and select method GetNumSubProperties.
- Get Names of Container by create Invoke Node (ActiveX) and select method GetNthSubPropertyName with options = 0
- Get Container by create Invoke Node (ActiveX) and select method GetNthSubProperty with options = 0
- Get Number of Parameters in Container by create Invoke Node (ActiveX) and select method GetNumSubProperties.
- Get Name of Parameter by create Invoke Node (ActiveX) and select method GetNthSubPropertyName with options = 0
- Get Parameters by create Invoke Node (ActiveX) and select method GetNthSubProperty with options = 0
- Get Type of Parameters by create Property Node (ActiveX) and select Type
- Get Value Of The Type Property Node (ActiveX) and select TypeName
The instruction above is using
GetNthSubProperty method to work on each variable and use the
Type property to know if it is a number, string, boolean or container. If it is a container, repeat the process on a lower level. To have better understanding on wiring and connection you may need refer to below example VI: