New SNDK is replacing ASDK  

  RSS

mm_dev
(@mm_dev)
Member Admin
Joined: 8 years ago
Posts: 287
13/11/2014 4:56 pm  

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.


ReplyQuote
Moderator
(@moderator)
Member Admin
Joined: 9 years ago
Posts: 1048
19/11/2014 11:07 pm  

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.

Snip


ReplyQuote
Share: