Forums › VSG Series Discussions › windows API – Remote connection over network
- This topic has 1 reply, 2 voices, and was last updated 2 years ago by Andrew.
RSmith May 20, 2021 at 1:23 am
- This topic was modified 2 years ago by RSmith.
Bit of background:
we are looking to replace our current automated test gear with signal hound equipment. These test systems are accessed over network and previously I have used the SCPI implementation with python to automate measurements remotely which has worked really well.
I need the VSG60A to stream IQ data for a custom waveform and the only way I can see so far of doing this is through the API. However I cant find if the API can connect remotely to the VSG60A pc over the network. Can the API do this?
Otherwise I will have to store code on each test system pc just to inject the IQ data. If I do this can I use the SCPI commands and the API at the same time? or will I need to rewrite the code to use the API only?
any suggestions would be much appreciated.
AndrewModeratorAndrew May 20, 2021 at 7:25 am
The VSG60 does have SCPI support. It is through the VSG60 application. You would launch the app on the remote PC, then you would be able to use SCPI to control the app (socket interface, default port 5024). The app does have a generic ARB mode, it will load several types of custom I/Q waveform files such as binary, CSV, wav, and some others. The ARB mode can be fully controlled via SCPI, including loading files. With this approach, your waveforms would have to be stored in a file.
The API will only communicate with a locally connected device. To use this in the same fashion, you would have to build some sort of local application that controls the unit and awaits commands from your remote script. This might ultimately provide more flexibility at the cost of more upfront work.
You can find the VSG60 SCPI manual in our SDK, linked below.
If you have additional questions let me know.
You must be logged in to reply to this topic.