03-18-2020 11:59 AM
Your string constant that says 02, is that set for hex display or normal display?
Make sure it is hex display, and that you make the Display Style visible so it is obvious.
For stuff in parallel, it is hard to tell what is happening in those pictures.
Attach the VI that shows your best attempt.
03-18-2020 02:17 PM
Your Method 2 appears to have a data flow issue. I am guessing the green wire is coming from the Stop button that is currently in the Serial loop. This causes a data dependency and cause your DAQ loop to not run until the Serial loop is complete. I normally use a messaging scheme using a Queue or Notifier to tell a loop to stop (typically a queue since I use Queued Message Handlers a lot).
03-18-2020 04:07 PM
@crossrulz wrote:
Your Method 2 appears to have a data flow issue. I am guessing the green wire is coming from the Stop button that is currently in the Serial loop. This causes a data dependency and cause your DAQ loop to not run until the Serial loop is complete. I normally use a messaging scheme using a Queue or Notifier to tell a loop to stop (typically a queue since I use Queued Message Handlers a lot).
The green wire was indeed from the while loop at the top. I implemented 2 individual stop actions to try your advice, and it works. Thank you!
@RavensFan wrote:
Your string constant that says 02, is that set for hex display or normal display?
Make sure it is hex display, and that you make the Display Style visible so it is Obvious.
The string is set to hex display indeed. I have set it to Display Style to make it visible now (i didn't know that this option exists), so thanks for the information.