FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Comparing a String received through VISA

Hello,

I'm using the basic serial write and read VI from the labview examples. I'm capable of sending and receiving data using VISA. However when I'm trying to compare the strings I receive, I always get a false conclusion (even when I just copy the string i received to one of the branches of the compare-function). I've tried removing whitespace and to low case functions, this doesn't work.

Can anybody please explain what i'm doing wrong?

Sincerely,

Tom

0 Kudos
Message 1 of 2
(3,567 Views)

I found it myself, there was a hidden \00

this can be closed

0 Kudos
Message 2 of 2
(2,570 Views)