Skip to content

SerialReadLine output for rolling graph #2131

Answered by banchan86
yqwang1 asked this question in Q&A
Discussion options

You must be logged in to vote

Just to clarify, are the 3 numbers on the same line (for e.g. 2 6 5)?

  • If it's just a single number, you can use the ExpressionTransform operator to convert the String to an Int32 or Double and then that should be viewable as a graph.

  • If you need to split the String you can use the Parse operator to parse the String into separate numbers. You can use something like %i %i %i for the pattern (if your number is an integer, if not use %f). If you do that you don't need to do the type conversion. The graph for Parse will have all 3 numbers overlaid, or you can split the output to view individual numbers.

The SerialReadLine output should be a single output (just a string), so it should be …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yqwang1
Comment options

Answer selected by yqwang1
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants