01-16-2007 12:45 PM
01-16-2007 01:11 PM - edited 01-16-2007 01:11 PM
Message Edited by Dennis Knutson on 01-16-2007 12:16 PM
01-17-2007 06:44 AM
01-17-2007 06:44 AM
the screenshot is attched
01-17-2007 07:07 AM
Hi Dennis
Thnaks alot for your help , does your program wait unti it recives an serial port Character B, ? I have some questions about the program that are labled with the graph of the program you gave me and it is attached to my post could you answer me them please
Thanks
Maple
01-17-2007 07:27 AM
01-17-2007 10:02 AM
Dear Deninis
Thanks alot for your help, I will attach for you a screenshot of the program you sent it , just asking when the case structure is false is this a proper wiring I have done , also to stop the loop what shall I wire to it ,
Thanks
01-17-2007 10:12 AM
Since you said you want the while loop to run until the character is detected, the false case would have a False constant inside it. You could also right click on the exit tunnel and select Use Default if Unwired. The default is False but I usually prefer to explicitly provide a value.
Stopping a while loop and passing values through case statements are pretty basic elements in LabVIEW. I t sounds like you are just beginning so you might want to look at the resources available for learning LabVIEW at http://zone.ni.com/devzone/cda/tut/p/id/5199.
01-17-2007 01:06 PM
01-17-2007 01:17 PM - edited 01-17-2007 01:17 PM
Since you are not using a shift register for the error cluster, you probably don't need to check for an error condition and remove it. It's not very likely that an error would occur on a write anyway and if it did, you would probably want to detect that and stop. Also, you can wire your error cluster to the case statement selector input. The case statement changes colors and shows an Error (red) and No Error (green) case.
Message Edited by Dennis Knutson on 01-17-2007 12:17 PM