From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

single boolean to array boolean

Solved!
Go to solution

Hi everybody,
I'm working on a project about the Modbus using the 'Modbus on desktop.vi'. In the Vi, the type of 'coil values to write' is a boolean array. I want to change it into a single boolean. is it possible? I include a screenshot of the block diagram and front panel.

thanks.

Download All
0 Kudos
Message 1 of 3
(2,918 Views)
Solution
Accepted by topic author Erickmsaputra

You can just use the build array function with a "single boolean".

boolean.pngThis will give you an array with one item.

steve

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
Message 2 of 3
(2,898 Views)

hi stevem181 thanks. it helped me a lot!

0 Kudos
Message 3 of 3
(2,890 Views)