A simple example for dummies in order to connect to my VX1135 per XCP #181
Replies: 1 comment
-
I have got it done so far. In xcphello.py I removed follwing lines: Then I adjusted in the config_eth.toml my settings as IP and then I run "python xcphello.py -c conf_eth.toml" and then i got connected to my VX1135. So one step further into the open world of xcp |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I tried the xcphello.py example by simply running it !
But I got this error here:
DeprecationWarning: callout argument is currently not supported.
ap = ArgumentParser(description="pyXCP hello world.", callout=callout)
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\schmo\Nextcloud\pyxcp\pyxcp\examples\xcphello.py:20 in │
│ │
│ 17 │
│ 18 │
│ 19 ap = ArgumentParser(description="pyXCP hello world.", callout=callout) │
│ ❱ 20 ap.parser.add_argument( │
│ 21 │ "-d", │
│ 22 │ "--daq-info", │
│ 23 │ dest="daq_info", │
│ │
│ ╭──────────────────────────────── locals ────────────────────────────────╮ │
│ │ ap = <pyxcp.cmdline.ArgumentParser object at 0x0000020F5B15CAD0> │ │
│ │ daq_info = False │ │
│ ╰────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: FakeParser.add_argument() got an unexpected keyword argument 'action'
As I understood I must somewhere give infos about this stuff here:
TRANSPORT = "ETH"
HOST = "192.168.1.21"
PORT = 5555
PROTOCOL = "TCP"
IPV6 = False
CREATE_DAQ_TIMESTAMPS = True
So my settings are as follows:
I use TCP and my VX1135 has the IP 192.168.1.21 as well as Port 5555.
My Goal is to get connected to the VX1135 and to measure one ASAP per DAQ.
Is there a simple how to do this ? - Many many thnanks
Beta Was this translation helpful? Give feedback.
All reactions