Access your device from Matlab or Labview with SCPI
From anywhere, via the Yaler relay.
Prerequisites
A device running an SCPI service, e.g. Red Pitaya. To set up your device, see getting started.
Building YalerTunnel on Linux, Mac OS X or Windows
How to build YalerTunnel on the client computer in order to enable tunneling SCPI.
- Make sure JDK6 (or later) is installed and your PATH environment variable contains the JDK's bin directory.
- Download and unzip the YalerTunnel Java source
YalerTunnel.src.zip
- To build YalerTunnel, open a shell, go to the unzipped directory, and type
$ javac YalerTunnel.java
- Done.
Using YalerTunnel and SCPI on Linux, Mac OS X or Windows
How to run YalerTunnel on the client computer to enable SCPI access to your device.
- To start YalerTunnel on a client computer, using your relay domain (e.g. gsiot-ffmq-ttd5), type
$ java YalerTunnel client 127.0.0.1:5000 try.yaler.io:80 RELAY_DOMAIN
- In your client program, replace the LOCAL_IP with 127.0.0.1
- Done.
Troubleshooting
How to fix common issues.
- To make sure YalerTunnel was built correctly, type
$ java YalerTunnel
- If javac
command not found
or java could not find main class
download the compiled YalerTunnel.class and try again.
- If downloading the class file does not fix the issue, check your PATH or install JDK or JRE.
- If an issue persists, get help.
This work by Yaler GmbH is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.