LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

table entry

Hi all,

 

 

I have implemented a code which enters values in the table at a event (when transition occurs from off to on).

 

I have attached my code below,

 

Can anyone suggest a better way to do this, or some comment on the code to optimise it.

 

regards

Message Edited by Cool : ASDF on 02-19-2010 03:09 AM
0 Kudos
Message 1 of 8
(3,215 Views)
where is the code?????
Regards
Guru (CLA)
0 Kudos
Message 2 of 8
(3,210 Views)
sorryi forgot to attached
0 Kudos
Message 3 of 8
(3,207 Views)

here you go..

 

now find the difference 🙂

 

 

Regards
Guru (CLA)
0 Kudos
Message 4 of 8
(3,199 Views)

Hi

 

 

I dont want to change the mechanical action of the button

 

 

regards

0 Kudos
Message 5 of 8
(3,183 Views)
Can you explain your response? You explicitly asked if there was a better way or comments on optimization and then you reject them. Your mechanical action is incorrect for your usage and if you were to change it, you would not need the case statement. At the same time your are ignoring the advice, why don't you change the mechanical action of the stop button as well? That would make as much sense.
0 Kudos
Message 6 of 8
(3,160 Views)

Hi,

 

Sorry for that but actually i want that mechanical action in my code.

 

I want that button on till user want and when he switches that button off, the value at that point should be entered 

in the table.

 

Regards

Message Edited by Cool : ASDF on 02-19-2010 11:27 AM
0 Kudos
Message 7 of 8
(3,151 Views)
Okay, that's your decision but that is counter to what most users expect. Click once on the button and the operation happens. And, the button is 'Off' until clicked and when the button is 'On', the value is entered. which by the way, is exactly what happens when you use the correct mechanical action.
0 Kudos
Message 8 of 8
(3,147 Views)