Hello Dojo,
I am creating a new driver that will be using SSH to retrieve parameters. I have encountered an issue where the response from the SSH command appears to be empty, even though the Stream Viewer indicates that the command was successfully sent and a response was received.
If using a trailer (in this case I am using # as trailer). The response will not match the response definition and dataminer will send the command multiple times before eventually timing out.
Here is an example of what I am trying to do:
I have also tried specifying the response without the trailer, in this case, the response will not fail but the response parameter will still be empty.
I have also tried:
and
But I get the same issue.
The only way I have managed to get the response to be filled in is if the response parameter wasn't of LengthType next param but instead fixed length, however, this is not viable as the response will not always have the same length.
Here is an example response:
Fixed:
Issue was that I did not include the before each response trigger and the read response action