LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bool indicator is "True" if I connect this indicator to terminal. (In case structure)

You have to tell the tunnel what to output in the FALSE case as well.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 12
(183 Views)

@Lugaro wrote:

My original problem is VI for bar-code scaner.

I scan bar-code and wont to see it while I dont use scanner. But string indicator clear in next cycle. Somtime (and today) it work as I wont. Sometime case work evry cycle after start - clear "string" and ON "test" indicator   

Lugaro_3-1632216179032.png


You really need to start with the tutorials and look at the shipping examples. There are also great talks about serial communications.

 

  • There is an "empty string?" primitive. (There is also a >0 primitive)
  • Why do you use "bytes at port"? Isn't there a termination character?
  • Why don't you attach your VI? We cannot see what's in the FALSE case, for example.
  • Do you really need to configure, read and close the serial session with every iteration of the loop? (I assume there is a toplevel loop, or are you using "continuous run mode? Don't!!!)
  • Why is there even a case structure?

 

0 Kudos
Message 12 of 12
(174 Views)