gpib and/or rs232 communication indicator

gpib and/or rs232 communication indicator

Post by pacp » Sun, 31 Oct 2004 05:31:27


Hi,

I'm using IEEE 488 and RS232 communications throughout long sequences
and everything is running just fine. What I would like to add is a
couple of small indicators showing that the interfaces are actually
working and/or data is being written/read (e.g blinking LEDs), any
ideas???

Thanks!
 
 
 

gpib and/or rs232 communication indicator

Post by johnsol » Tue, 02 Nov 2004 06:59:09

Add a state in your state machine which toggles an indicator after
every n bytes are written or read. The value of n should be selected
according to the data rate so that the indicator switches state at 1-2
Hz. Go to this state between after each read or write to update the
byte counter.

Lynn