LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

un bundle data input to ModBus

I've decided to use ModBus Serial Master Query and it works fine while I enter the data from the Front Panel. I now want to supply the data as a result of a calculation. I've tried using the unbundle command, but now I'm stuck over data types etc. Can anyone help ? Many thanks,

0 Kudos
Message 1 of 4
(2,782 Views)

Hi Placebo,

Could you please post your code? It would help all of us that are looking to help you.

 

Many thanks,

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 2 of 4
(2,769 Views)

Hi John,

 

Yes, here it is. So I wish to supply the value of 1000 to register 0 using an arithmetic operation, not by entering it manually through the front panel.

0 Kudos
Message 3 of 4
(2,750 Views)

Hi Placebo,

I have managed to wire a constant of 1000 into the register by using the bundle by name function shown below.

modbus.png

 

Was this what you were after?

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
Message 4 of 4
(2,745 Views)