General > General Technical Chat
The Rigol DS1052E
<< < (107/166) > >>
RayJones:
A sure fire way to enter a non munged value would be to simply cut and paste from notepad.

However, I'd never use Hyperterminal as it really is a woefully crap software terminal.
My fav for a long time has been ZOC - works with socket(ie telnet) or serial ports. FTW.

Using ZOC, you can highlight a phrase on the terminal area, and it automatically gets picked up in the clipboard.
Drop it into notepad, fix it up, then reverse the procedure.
Too simple!
opus131:
  There is no need for the firmware in the DSO1502E to recognize 'backspace' and implement its behavior:
the commands are most likely not for interactive use.  Hyperterminal sends characters as they are
typed and could fill up a buffer and possibly corrupt the stack, crashing and possibly corrupting data.
  CuteCom on gnu/linux does not send anything until the enter key is pressed and the enter key can be
configured to send a linefeed only.  This means that if someone is not being as diligent as required
when using Hyperterminal, backspaces and such cause no harm when using CuteCom.
wd5gnr:
http://realterm.sourceforge.net/ is a choice for Windows (although I use Linux anyhow, but I deal with enough Windows that I have a copy of this stashed).

I ordered one from DX and am hopeful it will be upgradeable. Great info.
rct:

--- Quote from: opus131 on April 10, 2010, 04:28:08 pm ---CuteCom on gnu/linux does not send anything until the enter key is pressed and the enter key can be
configured to send a linefeed only.

--- End quote ---

Excellent! thanks for the pointer to CuteCom.  I was wondering if there was a *nix equivalent of realterm.

For linux with USB, with the default somewhat broken usbtmc driver one could get away with

--- Code: ---echo "*IDN?" > /dev/usbtmc0 ; cat < /dev/usbtmc0
echo ":INFO:SERIAL?" > /dev/usbtmc0 ; cat < /dev/usbtmc0

--- End code ---
rct:

--- Quote from: opus131 on April 10, 2010, 04:28:08 pm ---Hyperterminal sends characters as they are typed and could fill up a buffer and possibly corrupt the stack, crashing and possibly corrupting data.  CuteCom on gnu/linux does not send anything until the enter key is pressed and the enter key can be configured to send a linefeed only.  This means that if someone is not being as diligent as required when using Hyperterminal, backspaces and such cause no harm when using CuteCom.

--- End quote ---

Err, it's not just hyperterm, the default mode for most serial terminal emulators is character based, not line buffered with local editing, because that's what the vast majority of what they are emulating did.   (Sure some ancient green screens did have a local editing line buffered mode particularly for really slow links).   Unfortunately hyperterm doesn't have that mode.   I think the distinction is lost on most people.

I believe the intent of the instructions to use HyperTerm and a serial cable was show the simplest possible method that avoids  any hassle with installing any special software.  Otherwise the instructions probably would have been install visa, etc. & going the USB route.


--- Quote ---There is no need for the firmware in the DSO1502E to recognize 'backspace' and implement its behavior:
the commands are most likely not for interactive use.

--- End quote ---

Did you forget the smiley on that?   Thinking like that keeps all those virus writers & security vendors employed.

Unfortunately, you are correct, it appears that the behavior isn't localized to just the undocument :INFO:set commands, it is in the general serial command parser, so you can't make a mistake typing any command.    I wouldn't be surprised if there was no bounds checking on the whole input buffer and it would just keep going until it smashed the stack.
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod