LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean button close automatically

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

0 Kudos
Message 1 of 8
(3,009 Views)

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.

0 Kudos
Message 2 of 8
(3,007 Views)

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

 

0 Kudos
Message 3 of 8
(3,003 Views)

Please attach your VI.

0 Kudos
Message 4 of 8
(2,991 Views)

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:smileywink:)  

0 Kudos
Message 5 of 8
(2,987 Views)

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 ?

0 Kudos
Message 6 of 8
(2,956 Views)

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

0 Kudos
Message 7 of 8
(2,954 Views)

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.

0 Kudos
Message 8 of 8
(2,946 Views)