I have an Indi client that allows users to enter a new name for a switch property (basically changing the filter names in the filter wheel).
I need to update the switch with the entered user text.
// lfS is the switch that needs its label updated
// lfSP is the switch vector property
strcpy( lfS.label, user_input);