Is there a way to see the message payload into the Queue if my StreamIn instruction is throwing an error bit?
Currently, no. However, just about the only thing I can think of that can cause the STREAMIN error, is a timeout. This would mean that you have the parameter,
"Network Timeout" checked in the instruction, and that time is reached before the
"Complete when..." requirements are met. In other words, you enable the STREAMIN instruction and the timeout starts. You, let's say, have the instruction configured to complete when 10 bytes are received, but you only receive 8. Then the timeout will happen and an error will occur. Or you have the instruction configured to complete when it gets its delimiters of CR, LF, and you never get those characters. Then the timeout will happen and an error will occur.
This is why I recommended never executing the STREAMIN until there is data in the
.InQueue structure member (i.e. > 0).
Someone can correct me if I'm wrong, but that's about the only thing I've seen as far as the STREAMIN throwing an error... it's a timeout.