LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check String Control for Content

Solved!
Go to solution

Hello! I am using Labview to communicate via GPIB. I would like to send a certain command only if a specific string control is empty. I was wondering if there is any basic or straightforward way to check if a front panel string control is either empty or if it has content? Thanks in advance! 

0 Kudos
Message 1 of 4
(2,622 Views)
Solution
Accepted by topic author jfherrm

"Empty string?" under comparison pallette.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(2,615 Views)

Use a case strucure and wire the string to the selector. See example.

StringCase.JPG

0 Kudos
Message 3 of 4
(2,609 Views)

What would you like to do if the string is empty?

0 Kudos
Message 4 of 4
(2,585 Views)