01-12-2024 02:09 PM
I am trying to make a dialog window where a user can enter engine speeds and those values will be transferred to a newly created numeric channel. This is working to get the table values to an array, but if I try to assign the values to oSpeedChannel I get an error that these values can not be assigned due to the DataType Float 64 of the channel I created.
01-15-2024 03:13 AM
Hi OKCat2015,
You can use the Val() function of DIAdem to convert the text values into double values.
It would work like this:
oSpeedChannel.Values(i) = Val(Table1.Cells(i,1).Value)