Virtual Trackgen

Information and discussions on Spectrum Analysis
SteveAndrew
Posts: 143
Joined: Thu Nov 16, 2017 11:06 pm
Location: Gold Coast, QLD, Australia

Virtual Trackgen

Postby SteveAndrew » Fri Jun 22, 2018 10:00 am

Hi

I've had a couple of inquiries regarding driving external signal generators that are not connected to an Arduino that's running the Trackgen firmware.

For those who are interested in using the analyser's tracking generator commands to drive their own generator hardware, I've written a simple demo application in C# that shows how you can communicate with the analyser using virtual comms ports. This will allow those using something apart from an AD9850 or an AD9851 to write driver code for their own generator and connect it to the analyser.

The code is not bullet-proof and is provided only as a demonstration. All the information you will need is included in the source file, including a link to where you can download the com0com virtual comms port system.

There are several boards available on Ebay, and other places that are using the AD9959 DDS such as:

https://www.ebay.com.au/itm/NEW-AD9959- ... SwIJlaENQa

and

https://www.ebay.com.au/itm/AD9959-DDS- ... SwmgJY1SUd

The second board includes a USB interface card. I have no information regarding how the USB link works, but as it will almost certainly be comms-driven, that should make it easy to interface to the analyser. If anybody has one of these boards, I'd be grateful for any details, particularly the USB version.

You should be able to place the unzipped code in a folder and compile under Visual Studio without any problems - hopefully. If you have problems, let me know.
Attachments
VirtualTrackgen.zip
(23.05 KiB) Downloaded 239 times

Reason: No reason

9a4db
Posts: 29
Joined: Sun Jan 24, 2016 6:44 pm

Re: Virtual Trackgen

Postby 9a4db » Sat Jun 23, 2018 8:19 am

Thank You Steve,
will report results here.
73
Djani

Reason: No reason

9a4db
Posts: 29
Joined: Sun Jan 24, 2016 6:44 pm

Re: Virtual Trackgen

Postby 9a4db » Mon Jul 23, 2018 1:16 pm

Just to stop by to report that I finally managed firmware upgrade on my ERASynth+
On first try, unit was bricked by my mistake, but second with some support went ok.

Unit now working like charm, through USB/RS232 and direct terminal commands.

The W10 and WEB applications still have some bugs, hope upgrades will show up after some time...

Now can try to play with example zip from Steve ;)

ERAtrackGenON.jpg
ERAtrackGenON.jpg (356.16 KiB) Viewed 3593 times

Reason: No reason

SteveAndrew
Posts: 143
Joined: Thu Nov 16, 2017 11:06 pm
Location: Gold Coast, QLD, Australia

Re: Virtual Trackgen

Postby SteveAndrew » Tue Jul 24, 2018 12:37 am

9a4db wrote:Just to stop by to report that I finally managed firmware upgrade on my ERASynth+

Splendid news indeed. I look forward to seeing your results.

Phil - VK7JJ has sent me a link to the AD9910 module that is available on Ebay. I was considering using an AD9959 module, four channels at 200MHz per channel, but the AD9910 goes up to around 420MHz and is a similar price, so I'll be getting one of those instead. I was going to order it last week but decided that with the work in hand for the second release of the analyser, I'd put it off until I was ready to work on the trackgen system - It would have been an unnecessary distraction. Swamp-alligator syndrome :D It did strike me that if an unfiltered output was available, then invoking the magic of Mr Nyquist, it might be possible to use one or more of the aliases and perhaps extend the output to higher frequencies - just a thought...

https://www.ebay.com.au/itm/AD9910-DDS- ... SwfrxZ1vw3

Reason: No reason


Return to “Spectrum Analysis”

Who is online

Users browsing this forum: No registered users and 2 guests