Hi,
I’m having an issue with a variable being defined as a List of strings changing to a string array after being filled by the Get Files In Folder Step.
I’m trying to log the contents of the folder checked by the Get Files in Folder Step so I’m referencing the variable in the script step as:
List<string>
The variable can normally be referenced before it’s populated by the Get Files In Folder Step
After it has been populated ny the step and is referenced in the script step as List<string> i get the following exception:
[ERR] System.InvalidCastException: Unable to cast object of type 'System.String[]' to type 'System.Collections.Generic.List`1[System.String]'.
Has anyone else had this issue?
Tnx
- Lac asked 1 month ago
- You must login to post comments
I had the same issue, but I figured it out when I wanted to display the list in the display message step. I contacted Robotiq support, and they will resolve this bug.
- Emb answered 1 month ago
- You must login to post comments
Please login first to submit.