Re: Question about slow rs232 equipment

2004-04-24 Thread rolfk
A PIC for instance does not have a FIFO for its standard serial port module. You get a byte in a register and if you are not fast enough before the next byte is ready things might go wrong. Of course writing the PIC formware in such a way that it can always deal with the maximum input rate (for ins

Re: Question about slow rs232 equipment

2004-04-24 Thread Bob Donnell
If the microcontroller doesn't have a stand-alone async serial port, it's necessary to bit-bang data in and out. When doing that there's no inherent buffering - the microcontroller has to be programmed to sample (and usually oversample) the incoming data stream to reconstruct the bits into a byte,

Question about slow rs232 equipment

2004-03-21 Thread Simon
I tried the examples for rs232 communication, it works fine. but my equipment is slow and needs delay between each character. i didnt find any input to Visa write or other control which enables me to do this. can someone tell me how to do this? again: to make a delay (inter digit pause) between ea

Re: Question about slow rs232 equipment

2004-02-17 Thread Chris_de
If there is no receive buffer for the Serial controller, i might happen. But I thought there is a recieve buffer for every Rs232 controller , but who knows.

Re: Question about slow rs232 equipment

2004-02-17 Thread tmh
I've come across equipment where a certain command needed delays between characters in order to be recognised, because its microcontroller was too busy doing something else... Admittedly this was a product of the company I worked for at the time and was somewhat funky, but many commercial instrumen

Re: Question about slow rs232 equipment

2004-02-17 Thread Chris_de
Normally there should not be the need to have a delay between the characters. Are you sure you configured your baudrate correct?

Re: Question about slow rs232 equipment

2004-02-16 Thread shoneill
It's quite easy. You split the string you want to send into an array of characters, and then using a for-loop write each character one at a time, followed by a small wait (whatever your instrument requires). Regards Shane