Hi Pooja,
it doesn't make sense to attach just the project file without the VI(s)!
Your problem is due to (not obeying) THINK DATAFLOW!
The conditions are checked BEFORE the string value change event occurs…
You need to test all conditions inside the event case!
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019