LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel OFF/ON program

That makes no sense. I said to use a numeric with the representation set to U8 and the byte array to string function. Since you want to send a single byte, after doing the OR, just typecast it to a string.
0 Kudos
Message 11 of 22
(881 Views)

Sorry, I still don't understand how to represent boolean value ( value from ON/OFF button) in numeric, and then convert this value to string...

0 Kudos
Message 12 of 22
(874 Views)
If you want to use a Boolean array, then use Boolean Array to Number.
Message 13 of 22
(862 Views)

Yeah, I had in my mind something like that. Thanks! It works. 

0 Kudos
Message 14 of 22
(856 Views)

I am embarassed, sory, it's me again. With my microcontroller's program is everything alright, i checked it by terminals programs. With conversion to decimal integer string array is also everything okay. But when I want to write this to uC, and send it back, i get only weird characters or empty buffer. Can you help me again? 

kupsko.png

0 Kudos
Message 15 of 22
(846 Views)
Define weird characters. Right click on the string indicator and select hex display. Does it make sense now?
0 Kudos
Message 16 of 22
(841 Views)

It doesn't make sense, because nothing is displayed now. I really don't have any idea how to fix it especially when my microcontroller sends and receives data properly in different programs like realterminal.

0 Kudos
Message 17 of 22
(837 Views)

How does "weird characters" become "nothing" when the string is in hex display?

0 Kudos
Message 18 of 22
(827 Views)

It's become nothing, but after reset for hex-> blinking value 30 for all combinations. Indicator to normal -> blinking value 1.

0 Kudos
Message 19 of 22
(823 Views)

I think that values are not properly written to VISA write 

0 Kudos
Message 20 of 22
(815 Views)