I need to create a safe array containing object handles, which should be supported since the TestStand API function TS_EngineGetTypePaletteFileList returns such an array in CVI. However I cannot use the CA_Array1DToSafeArray to convert a C-style array to a safe array of that time. The documentation points out that this function does not support arrays containing object handles.
- Are there functions to operate directly on a safe array? I need to be able to set the number of elements (insert elements) and assign them.
- If not do I need to first store the safe array in a variant and then operate on the variant?
Ultimately I need to be able to create a safe array containing object handles to pass to the TestStand API function TS_EngineSetTypePaletteFileList to programmatically load type palette files in TestStand.
Thanks