General > General Technical Chat
The Rigol DS1052E
<< < (105/166) > >>
rct:

--- Quote from: EEVblog on April 09, 2010, 01:06:16 am ---And maybe there still isn't any risk, perhaps it's something else entirely as Dimlow suspects?

--- End quote ---

I'm not saying we understand what is going on inside.  However, I think the change would be least likely to have any unintended side effects if the model & serial strings stayed exactly the same length without any hidden control characters (like backspace, carriage return).    Unfortunately I think it is very easy for someone typing at a terminal emulator to do so without being aware of it.

Dimlow, if you're game for testing things on your scope, could you try a test to prove it will blindly store control characters?      If you type :INFO:SERIAL bad<backspace><backspace><backspace>123456789<return><newline>  Then do a :INFO:SERIAL?<newline>  I think it will display as 123456789 and the cursor will move to column 0 instead of just dropping down mid-screen.   It might look like you entered what you intended and when you display it would display as what you intended plus the extra carriage return which you might not even notice,  but if you were able to look at the actual bytes coming back you'd see 'bad<0x08><0x08><0x08>123456789<0x0xd> and the length of the string would be 16 instead of 9 (not counting the terminator).
Mark_O:

--- Quote from: dimlow on April 09, 2010, 12:43:22 am ---well, i just confirmed that long strings are not the problem. As my scope is buggered, i just set my serial _and_ model no to 123456789123456789123456789123456789123456789123456789
--- End quote ---

dimlow, most excellent!  I would have been worried that a string that long would result in a totally non-functional unit.  Doing both was pretty brave.  Are you sure though that things didn't get worse?


--- Quote ---i think maybe it has something to do with my scope crashing whilst setting the model or serial no, pretty sure its nothing to do with string lengths
--- End quote ---

Based on what you did (BOTH strings super long) that would sure seem to the case.  There's been lots of experimenting going on, without noting what the detailed steps were when things went wrong.  I was kind of hoping it was string-related, because that held some hope of resolving your problem without the expense of a round-trip to China.  If it really was due to a crash, as you suspect, that would seem to make it more unlikely (though not impossible) you could fix it yourself.

- Mark
Mark_O:

--- Quote from: EEVblog on April 09, 2010, 12:56:22 am ---I was assuming that Rigol would simply implement a standard USB to serial converter in there somewhere, and use the serial interface (from RS232 or USB) as the lowest common denominator interface. From a design point of view that would reduce the need to code two entirely separate serial interfaces.
--- End quote ---

That really is a good and logical assumption.  However, like lots of embedded controllers these days, the devices in the Rigol have many independent comm channels available.  They've got USB with MSD (mass-storage device) Class.  Another USB with serialDevice Class.  And an RS232 port.  All independent, AFAIK from browsing the spec sheets.

- Mark
Mark_O:
Ross wrote:
> I don't see that all of this bold print and borderline ridicule are merited...  Keeping the conversation civil would be helpful to everyone. <

I just went back and looked, and the only one I see bolding anything is me.  Apparently you're not a fan of my writing style.  That's fine.

But when you refer to "ridicule" and imply that the conversation has not been "civil", I'm really confused.  At no time has it been my intent to ridicule anyone (except Simon ;), and he's been a good sport about it).  Like everyone else here, I've simply been trying to make a contribution to the discussion.  Nor did I realize I was being uncivil.  Thanks for clarifying that for me.

Luckily, it's a problem easily rectified.  I have lots of ways and places to spend my time.

- Mark
Simon:

--- Quote from: Mark_O on April 09, 2010, 06:31:29 am ---At no time has it been my intent to ridicule anyone (except Simon ;), and he's been a good sport about it).

- Mark


--- End quote ---

Story of my life  ;D

I was very shaky about the mod but now you see why, I was a dumb noob asking stupid questions because I don't like messing with things that costs me lots of money and wrecking them. Luckily mine went off without a hitch but I did take the precaution of copying and pasting the commands from this thread, once they the exact method had been posted
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