Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you force a value into a read-only numeric data member?

I have code that will force a value into a numeric data member. Unfortunately the numeric data member in question is read-only. Can you force a value into a read-only numeric data member?
0 Kudos
Message 1 of 3
(3,088 Views)
Hi,

No, unfortunatelly the read only numeric data members are not meant to be written to. The simple fact of trying to connect will give you error and your code will not run properly.

Best Regards

Andre Oliveira
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,088 Views)
Andre,

I think you should get together with the other engineers there at NI. I spoke to one on the phone yesterday and he told me that the read-only aspect relates to writing between the database and PLC. I'm trying to write to the database and he told me that I could do it.
0 Kudos
Message 3 of 3
(3,088 Views)