New SNDK is replacing ASDK

Support forum for development using SNDK and ASDK

New SNDK is replacing ASDK

Postby mm_dev » Thursday 13. November 2014, 16:56

As the currently available ASDK is hard to use due to requirements on specific Qt and compiler versions, and only supports development of applications using Qt-C++ it will be discontinued next year. It will be replaced by an alternate approach that allows controlling Spectran devices with a text-based protocol over a TCP connection using our new Spectran Network Development Kit (short SNDK). This way you can access the Spectran from almost any programming language without having to use special frameworks.

Of course this comes with a few restrictions: The SNDK involves running a helper process to translate the TCP commands to the Spectran USB protocol, and due to the additional abstraction layers data is only available as full sweep packages (no data is transmitted until the sweep is finished). Also some rarely needed functions of the Spectran are not exposed to the TCP interface. If you need any of these you can still connect to the Spectran directly using the low-level D2XX API using the binary Spectran USB protocol.

A first version of the SNDK has been made available in the "Development" section of our Downloads area:
Windows: ftp://ftp.spectran-developer.net/softwa ... 150317.zip
OS X: http://spectran-developer.net/ftp/softw ... 141113.dmg
Linux: http://spectran-developer.net/ftp/softw ... 141113.zip

This is currently a technology preview and will be further enhanced and stabilized over time.
Attachments
Spectran TCP Control Protocol.txt
SNDK protocol documentation
(11.76 KiB) Downloaded 478 times
mm_dev
 
Posts: 285
Joined: Wednesday 4. May 2011, 07:43

Re: New SNDK is replacing ASDK

Postby Moderator » Wednesday 19. November 2014, 23:07

I have managed to get basic communication going with your USB-TCP bridge but I have a couple of questions.

1. What commands can I use? Do you have a list/manual of SCPI commands?
2. Is there a built in simulator in the bridge so that I can test the commands?


The protocol is documented in the included textfiles with all supported commands.
Alternatively you can refer to the command list in our RSA manual under
http://spectran-developer.net/doc/rsa-v ... nd_api.htm
but not all commands listed there are supported by the SNDK (as they make no sense for it).

The simulator in the bridge application can be selected in the device selection, or by passing
the -simulator command line option when launching the application. Please see the included
README file for details about the simulator.

Also there is a basic demo application (implemented in Python) included in the package that can
be used as reference.
Moderator
 
Posts: 1048
Joined: Tuesday 20. April 2010, 13:24
Location: Aaronia AG


Return to SNDK + ASDK

Who is online

Users browsing this forum: No registered users and 1 guest

cron