04-25-2012 03:31 AM
I have a problem. I create a push button. when I push it work,I want to make it when it scan the $,the push button stop automatically.or in another way,the push button can stop after 27secs
Thanks in advance
04-25-2012 03:42 AM
A push button does not "scan" anything and a button cannot "stop", because it is not going anywhere in the first place. A button is typically operated by the user or changes its state programmatically, e.g. via a local variable.
Please explain exactly want your program should do.
04-25-2012 03:49 AM
if i use local variable,how to set ? my program is when i press the push button, the programme begin to scan the string which i write, the scan the $ sign,the push button close.if i press again it will start again
04-25-2012 04:21 AM
Please attach your VI.
04-25-2012 04:33 AM
Hi,
Check the attached VI. May be this is what you are looking for. If not, attach your VI.
Regards,
Nitz
(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved)
05-06-2012 08:37 PM
I send order to the test kit through the driver,then I receive data.my format of data is 1C R123 B 422$,I want to display one group of data at one time,it means when the driver detect the $, it stops,then when i press start,another group displayed,how to do ?
05-06-2012 08:42 PM
i want to display the whole group of data, not word by word.and ur programme is if have $ ,all cannot dispaly.I want to display the data until scan the $, pls help me
thx in advance
05-06-2012 09:38 PM
Set the termination character of the VISA Configure Serial Port to '$' instead of the LF character and get rid of that VISA Bytes at Serial Port. Use some arbitrary byte count since the read will automatically terminate when it sees the $. This sort of operation has been endlessly discussed here. Perhaps you should search through the serial discussions.
p.s. Try to obey the style guidelines and keep your block diagram sized to a single screen.