11-06-2023 04:53 AM
Hi
I am trying to read (and write) windows registry using the C# adapter in TestStand. I am little bit stuck. The parameters are handled as objects and I am not quit sure how to convert to/from correct type. Someone who knows how to?
11-16-2023 01:47 PM - edited 11-16-2023 01:49 PM
You are getting back an array of byte and TestStand only has the memory reference to that array. I think you need to write your own support code module method with a return type of array of unsigned ints.
Pass the object reference of the byte array to method. Then inside your code you can access the array and store back into an array of unsigned ints. Pass that array of unsigned ints back to TestStand.