LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

STRINGS AND FILE I/O

Hi Billko,

             The setup you showed only displayed the only the number corresponding to the first 2 characters of the string. The rest of the string did not have any effect. Is it supposed to work this way?

Thanks.

Vincent

0 Kudos
Message 11 of 17
(1,134 Views)

Hi SSHADOR!

The tables on the snapshots are array constants. You can create in the diagram block (rigth click > Array > Array constant). Then you put inside a numeric constant (blue table) and string constant (pink table).

 

Regards!

0 Kudos
Message 12 of 17
(1,132 Views)

This one works generically.dece.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 13 of 17
(1,106 Views)

Hi Paul,

            The figure you gave only displays one character at  a time.

Thanks

Vince

0 Kudos
Message 14 of 17
(1,094 Views)

Hi Jimbe,

              Please see the attach. It did not work for me. I am confused now.

0 Kudos
Message 15 of 17
(1,092 Views)

@SSHADOR wrote:

It did not work for me.

It does not work for any of us, because it is just a picture. We cannot run a picture.

 

Please attach the actual VI instead.

 

(event structures belong inside a while loop and not vice versa. You were told to use a FOR loop because the number of iterations is known before the loop starts. You string does not have any spaces, so why does your format have them? ...?)

0 Kudos
Message 16 of 17
(1,081 Views)

@SSHADOR wrote:

Hi Jimbe,

              Please see the attach. It did not work for me. I am confused now.


Your Scan from string looks for 2 characters and then a space. Unless you write your number as lu su ke it won't work.

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 17 of 17
(1,061 Views)