ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,329 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
(3,322 Views)

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

StringCase.JPG

0 Kudos
Message 3 of 4
(3,316 Views)

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

0 Kudos
Message 4 of 4
(3,292 Views)