FAQs
BB-400 IO and Protocols
The BB-400 provides a variety of protocols that can be used to receive and modify the status of the IO lines. The IO protocols available are REST, WebSockets, Unix Domain Socket and ASCII TCP.
The BB-400 allows connections to multiple protocols at the same time, over different devices. Changing the state through one API will allow changes to be reflective over other protocols. The image below shows an example of the connections possible from the server, the BB-400 and a range of different clients, the protocols.
The following table lists the connection characteristics of each protocol available on the BB-400:
ASCII | REST | WebSocket | |
Max number of commands/sec | 400 | 150 | 350 |
Average response time (for 1 user) | 2.7 ms | 11 ms | 2.5 ms |
Max number of simultaneous connections | 200 | n/a | 10 |
Links to protocol FAQs
For further details on the IO protocols available on the BB-400 and how to use them please refer to the following links:
1. REST: FAQ What is the REST Protocol?
2. ASCII: FAQ What is ASCII TCP?
3. WebSockets: FAQ What are WebSockets?
4. Unix Domain Socket: FAQ What is Unix Domain Socket?
Related FAQs
- How do I use Python to control the IO over REST on the BB-400
- How do I use Python to control the IO over WebSockets on my BB-400
- How do I use the BB-400 WebSocket Tester
- How to communicate using ASCII TCP between the BB-400 and a Linux or Windows system
- How to communicate with the REST API on the BB-400 using cURL commands
- How to communicate with the REST server on the BB-400 through PowerShell on Windows
- How to use the REST API on the BB-400 with the web application POSTMAN
- What digital I/O lines does the BB-400 have?
- What IO Protocols are available on the BB-400
- What is ASCII TCP?