Cloedu72 Posted April 7, 2021 Report Posted April 7, 2021 Hello forum I have noticed a special behavior when reading array of clusters. Normally missing entries are filled with the default value or the existing value of the variant. But when reading array of clusters the default (of datatype) value is always used. I have implemented a customization for myself that does exactly this behavior. The use case for this behavior is e.g. that you can have the default settings and then overload them with specialized values. expample: Default.ini [DAQ 1] AIChannels.<size(s)> = "2" AIChannels 0.Name = "Pressure" AIChannels 0.Channel = "D1_AI_Mod3/ai0" AIChannels 0.Unit = "hPA" AIChannels 0.Gain = "2.000000" AIChannels 0.Offset = "5.000000" AIChannels 1.Name = "Temp" AIChannels 1.Channel = "D1_AI_Mod3/ai0" AIChannels 1.Unit = "°C" AIChannels 1.Gain = "2.000000" AIChannels 1.Offset = "7.000000" Special.ini [DAQ 1] AIChannels.<size(s)> = "2" AIChannels 0.Gain = "4.000000" AIChannels 0.Offset = "7.000000" AIChannels 1.Gain = "20.000000" AIChannels 1.Offset = "17.000000" Can this customization be included in the OpenG Lib? Greetings Claude Read Key (Variant)__Zuehlke.vi Quote
Cloedu72 Posted April 30, 2021 Author Report Posted April 30, 2021 Who feels addressed by this topic? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.