You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whlie we developed this project, we faced two main problems:
ARTIQ dependency
In the current system, we use several ARTIQ commands (e.g., artiq_client).
But, it demands that we should install ARTIQ in our local environment and it is a big restriction.
Futhormore, we need to use a few non-existing functions of ARTIQ command line which are implemented only in ARTIQ internal system, so that we should implement a new RPC manager.
Asynchronization
Basically, ARTIQ uses an asynchronous communication.
However, qiwis doesn't support asyncio, so we need to handle it in each app of iquip.
Thus, we decided implementing a proxy server in the PC which connects to ARTIQ directly and access the proxy server from our private PC as a proxy client.
The main functions of the proxy is are follows:
RPC manager
It will be run as a RPC manager like artiq_client.
Whenever a client sends a reqeust, it receives and transmit it to artiq_master.
Make iquip async-independent
It makes iquip project independent for asynchronous communication.
Then, we can use RPC functions as a synchronous function.
We will make it as another project called artiq-proxy.
enhancementNew feature or any improvements to codes
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Whlie we developed this project, we faced two main problems:
ARTIQ dependency
In the current system, we use several ARTIQ commands (e.g.,
artiq_client
).But, it demands that we should install ARTIQ in our local environment and it is a big restriction.
Futhormore, we need to use a few non-existing functions of ARTIQ command line which are implemented only in ARTIQ internal system, so that we should implement a new RPC manager.
Asynchronization
Basically, ARTIQ uses an asynchronous communication.
However,
qiwis
doesn't supportasyncio
, so we need to handle it in each app ofiquip
.Thus, we decided implementing a proxy server in the PC which connects to ARTIQ directly and access the proxy server from our private PC as a proxy client.
The main functions of the proxy is are follows:
It will be run as a RPC manager like
artiq_client
.Whenever a client sends a reqeust, it receives and transmit it to
artiq_master
.iquip
async-independentIt makes
iquip
project independent for asynchronous communication.Then, we can use RPC functions as a synchronous function.
We will make it as another project called
artiq-proxy
.Beta Was this translation helpful? Give feedback.
All reactions