LabVIEW Interface for Arduino Discussions

取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 8 条)
18,732 次查看

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

0 项奖励
2 条消息(共 8 条)
10,642 次查看

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 项奖励
3 条消息(共 8 条)
10,642 次查看

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 项奖励
4 条消息(共 8 条)
10,642 次查看

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

0 项奖励
5 条消息(共 8 条)
10,642 次查看

Why can't you attach it here?

0 项奖励
6 条消息(共 8 条)
10,642 次查看

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

下载全部
0 项奖励
7 条消息(共 8 条)
10,642 次查看

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.

8 条消息(共 8 条)
10,642 次查看