cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

Reading digital line and local variable

I am using digital lines in my program to start and stop "Flat Sequence Structures"
like time measurement ( 4 sequence, start and stop time with "Tick Count" )
Is it good behaviour if i use once "Read from Digital Line.vi" and other starts and stops etc. with Local variables?
Or can i just use "Read from Digital Line.vi" many times in my VI? (same line)
0 Kudos
Mensagem 1 de 2
2.494Exibições
Most experienced LV programmers try to avoid both sequence structures and local (and global) variables. The state machine architecture is often preferred. Look at the examples with LV and search for "State machine" on this site.

I would probably use one read line or read port VI in a loop and pass the data to other, independent loops for processing (the timing) via queues.

Lynn
0 Kudos
Mensagem 2 de 2
2.484Exibições