LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert String to Boolean

Hi, I want to know is that any way to connect String to Boolean. I attached the photo of my vi, for understanding.

0 Kudos
Message 1 of 8
(18,265 Views)

Strings are, in no way, related to booleans.  What are you trying to do?

0 Kudos
Message 2 of 8
(10,175 Views)

actually I want to control motor with voice, the voice part was done, also the motor control was done with switch, so now I want replace the voice part to the switch to control motor.

0 Kudos
Message 3 of 8
(10,175 Views)

You will have to be more specific or attach the entire VI(s).  Neither your description nor your screenshot explain enough for me to be able to help you.

0 Kudos
Message 4 of 8
(10,175 Views)

Hi NathanB, I can not attach my vi here, can u give me ur email to send it to ur email pls.

0 Kudos
Message 5 of 8
(10,175 Views)

Why can't you attach it here?

0 Kudos
Message 6 of 8
(10,175 Views)

I want connect the 4445.vi to the forward.vi, and exactly I want to connect by that part previous I shown.

Download All
0 Kudos
Message 7 of 8
(10,175 Views)

To convert a string to boolean you can use the "Match True/False String" function like shown in the attached vi.  However, there are more cases than just 'Go Backwards' and 'Stop', therefore, it might be better to set the value for the 'Digital Write Pin.vi' directly in the case statement in the 'test 4445.vi'.  Any other digital write values for left/right can be set in there also.

Message 8 of 8
(10,175 Views)