ni / grpc-labview

gRPC client and server support for LabVIEW
MIT License
85 stars 60 forks source link

Neighboring Oneof structures issue #343

Open arevh opened 8 months ago

arevh commented 8 months ago

If the message contains more than 1 Oneof structure, the second one's value is not converter properly from cluster value to grps message. Its value is returned as None.

In the example below dur_val will be received as None, even if some value was assigned in LabVIEW.

message WF_Constant { oneof value { string value_var_id = 2; float value_val = 3; } oneof duration { string dur_var_id = 5; float dur_val = 6; } }

AB#2630427