Quote:
Originally Posted by ssica_jj
When we ran the code, to check the values, we turned on the 'highlight execution' and saw that the only value being read is 0.
|
Try putting an indicator or a probe on the output of Get Dig In and running the code at speed.
Quote:
|
There are 3 Get Dig In because we are using 3 switches.
|
Get Dig In returns all eight switches at the same time. You only need to use it once, and you can get multiple elements from its output with a single Index Array. See the attached code fragment. [edit]...which apparently didn't get attached properly, and which I do not have a copy of at the moment. I'll try to correct that later today.[/edit]
Quote:
|
We are using the Append T/F String.vi to convert the digital input value into string.
|
I understand that, but you're ignoring the "Append" part of it. You can build the string as you go instead of keeping the characters separate and combining them in a separate step.