Products > Test Equipment

MHS-5200A Serial Protocol Reverse Engineered

(1/12) > >>

wd5gnr:
I picked up an MHS-5200A DDS Signal Generator for about US$80 on eBay. The Windows software is horrible, plus it is in Windows. Would probably work in Wine, but I can't get NI-VISA to install in Wine and don't really care.

So here's the basic serial protocol for the device (it looks like a COM port): https://docs.google.com/document/d/1HbLQ4u87RJkD3Ktyw7k9U7Zh5BPNzbrhMlszNGdXiiY/edit?usp=sharing

I missed one or two, but all I really want it to shove the arbitrary buffers in. I don't even care about a GUI, to be honest so.... that will be my next post is my solution for that ;-)

Here's what I know so far. Corrections or comments welcome.

https://docs.google.com/document/d/1HbLQ4u87RJkD3Ktyw7k9U7Zh5BPNzbrhMlszNGdXiiY/edit?usp=sharing

By the way, the software is listed as for the 5200 or the 3200 but a different document on the 3200 shows a pretty different protocol so the software must adapt.


wd5gnr:
Ok after a busy day, here you go:
https://github.com/wd5gnr/mhs5200a



I didn't bother trying to operate the instrument from the software (although you can), I only care about loading the arbitrary waveform memories.

Muxr:
Nice, I should give this a try on my MHS-3225. Wonder if they are compatible. Just re-read your first post, and noticed the protocol is different.

wd5gnr:
Yup. In addition, I have a bug somewhere. It only works when I have the port open with some test software. I am trying to fix that this morning. Worse case, I'll rewrite in C.

Ok, fixed and enhanced. I have a few more pushes today and then hopefully done at least for now.

wd5gnr:
If you can't stand not having a GUI, I found the TTI Waveform Manager Plus runs well under Wine and is free to download (registration required). If you export to "normalized" you can import to the MHS5200A by using the -f flag to the software I provide. Here's some screen shots:

The app:



The scope showing the uploaded wave from the signal generator:


The TTI app is at http://tti1.co.uk/downloads/waveman-plus.htm

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod