subscriber-example1.py
Go to the documentation of this file.
1 #!/usr/bin/env python3
2 
3 # To test with a local build:
4 #
5 # export PYTHONPATH=$HOME/code/mvsim/build/lib/:$PYTHONPATH
6 
7 from mvsim_comms import pymvsim_comms
8 import time
9 
10 if __name__ == "__main__":
11  client = pymvsim_comms.mvsim.Client()
12  client.setName("tutorial1")
13  print("Connecting to server...")
14  client.connect()
15  print("Connected successfully.")
16  time.sleep(2.0)
OutIt print(OutIt out, const xml_node< Ch > &node, int flags=0)


mvsim
Author(s):
autogenerated on Fri May 7 2021 03:05:51