I'm trying to learn more about NI Test Stand and calling a .NET Method in a test sequence. I reviewed and understand the basic examples where you can call something like below...
public bool DoSomething(out string result, out string error) { //...}
I have a third-party libary and it includes some async Methods that must be called using the async/await feature that was introduced in .NET 4.5. When using async, you can not use the out keyword in arguments, so I would have to modify the Method above to something like this...
public Task<Tuple<bool, string, string>> DoSomething() { /.. }
So my question is... does anyone know how to call into a .NET library with Test Stand and get the values that are returned via the async Task? Any basic examples are appreciated.
BTW, it does not have to be complex like above. If you can explain something like Task<bool>, it would help, as well.
Thanks.