Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
export INTROOT=~/workspace/introot
export LD_LIBRARY_PATH=$INTROOT/lib:$LD_LIBRARY_PATH
make all install

Testing

Create client python file:

Code Block
languagebash
cd ~/workspace
touch client.py
vim client.py

We fill it as follow:

Code Block
languagepy
title~/workspace/client.py
from Acspy.Clients.SimpleClient import PySimpleClient
 
client = PySimpleClient()
 
hc_cpp = client.getComponent("CPP_HELLO_COMP")
print(hc_cpp.printHello())

Run client:

Code Block
languagebash
python client.py

Example output:

Code Block
...
Hello World!
...