Creating an AT1000 project
Overview​
It's important to note that AT1000 is designed to operate in two different modes:
- Stand-Alone mode : the AT1000 device can perform the test without being connected to the computer (this is also possible for a group of AT1000 devices that are daisy-chained). In this scenario, the JavaScript or Python code runs from the internal memory of the AT1000.
- Remote mode : the AT1000 device, or the group of daisy-chained devices, are remotely controlled by your computer to which it's connected by USB or ethernet. In this scenario, the JavaScript or Python code runs on your computer.
Both configuration achieve same results, so which one to employ totally depends on your application and your requirements.
Under the hood, all interactions with AT1000 hardware happens over TCP/IP transactions. In case of Stand-alone mode, commands are sent to localhost
, in case of remote operation, TCP/IP commands are sent to the right IP address.
The JavaScript / Python modules takes care of these details, making the code totally portable between stand-alone and remote mode, without any modification needed.
Installing AT1000 project​
It's possible to create an AT1000 project either automatically, using the AT1000 config tool, or manually. The AT1000 config tool makes it easier to get started, and offer ready to use templates. Additionally, using the AT1000 config tool is mandatory for creating stand-alone projects.
Automatic install​
Alternatively, you can use the AT1000 config tool to generate a new JavaScript (nodeJS) or Python project. This is the preferred method.
TODO: update this part with proper procedure from AT1000 configuration App.
Manual install​
If you're using the device in remote mode, you can create an AT1000 project on your computer as you would create any Python or JavaScript project.
- For NodeJS
- For Python
npm install at1000
pip install at1000