12/7/2022 0 Comments Serial time out labview 2016 logo![]() Why do you need to check for "=1" and "1" instead of using the NOT function (like shown)? Why do you need to negate at all when you can simply switch the look/colors of those boolean indicators (LED indicators!)? What's the point in using 2 LED indicators to show either "no error"/"error" condition? Why not use just one LED?Īs you probably know, im not a native english speaker. provide more information on your hardwareĭo you really look for a string containing the chars ""? (Yes those specific chars and not the LF/CR formatting codes…).show the display mode for string constants, especially when not using default display mode….don't use sequence structures when they aren't needed! (They aren't needed as long as you can follow THINK DATAFLOW!).place the COM port reading in its own independent loop, in parallel to your other device handling!.Why do you need to clear the COM port buffer each time? What's the point of those wait functions in parallel to your COM port reading? So you get some Timeout errors? Where do you get them? When do you get them? For all cases or just for a specific case?ĭoes your serial device use the default TermChar as configured by you?ĭoes it need any commands before sending its responses? Im even not sure, if it is the right solution with the sequence structure or if there is a better way. Already tried to increase the time and Bytes to read. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |