06-17-2016 12:02 AM - edited 06-17-2016 12:06 AM
Hiii ALL....
I am new to this labview and for my project im stucked in a logic. I want to get only the selected column based on the checkmark in the front panel.
Eg: Im having an columns with header: Date,ID code, Progm no., Torque, Angle, Progm no., Torque, Angle, Progm no., Torque, Angle.
In my front panel i will be having checkmark only for.... Date,ID code, Progm no., Torque, Angle. and in my logic, columns with that checkmarked header name should be displayed and if unchecked the particular name column should be deleted. If i checkmarked "Torque" all columns with Torque as header name should be available in output and if unchecked those columns with "Torque"as a header should be deleted.
I hav attached a snapshot for ur reference.
THank YOu very much
Sudhin Sudh
06-22-2016 03:59 AM
hi everyone..
Can anyone get me through this. I need this urgently.
Hoping for a positive response
sudhin_sudh
06-22-2016 04:40 AM
@sudhin_sudh wrote:hi everyone..
Can anyone get me through this. I need this urgently.
Hoping for a positive response
sudhin_sudh
Just Map the Check Mark for Individual Headers and While Extarcating Verify whether the Check mark for the Column is enabled
If enabled Extract else No Need
Very Simple I hope
06-22-2016 04:45 AM
Create an Event for the Check Mark and Take the Idex of the Check Mark and From thet Verify the Checked Indexes
Map the Array Only for the True Values
06-22-2016 05:18 AM - edited 06-22-2016 05:19 AM
Thank you very much for your reply..
Can you please explain me with an example...
Hoping for a positive response
sudhin_sudh
06-22-2016 05:21 AM
Share Vi, Will Try to Modify the same for you
06-22-2016 05:50 AM
What version of LabVIEW are you using?
06-22-2016 05:50 AM
06-22-2016 06:19 AM
hiii.....
im using labview 2011 version
thank you
sudhin_sudh
06-22-2016 06:38 AM - edited 06-22-2016 06:39 AM
If you were using a newer version of LabVIEW, I would say to use the Conditional Tunnels. But you will need to use the Delete From Array instead. And remember that you need to delete from the back of the array first (which is why the Reverse 1D Array is in the code below).