Skip to content

TypeError of IP address #61

@DangerLin

Description

@DangerLin

Hi there! When I tried to use the bio_logic module to control my potentiostat (SP-150e), it returned an error message saying TypeError. The script I used is from the test example of the package. And I am quite sure I have typed the IP address correctly as a string.
Could anyone help me with this issue? Thanks a lot!

Traceback (most recent call last): File "D:\Scripts\test.py", line 310, in <module> test_cv_technique() File "D:\Scripts\test.py", line 166, in test_cv_technique sp150.connect() File "D:\Anaconda\envs\test_env_EClab\lib\site-packages\PyExpLabSys\drivers\bio_logic.py", line 260, in connect address = create_string_buffer(self.address) File "D:\Anaconda\envs\test_env_EClab\lib\ctypes\__init__.py", line 66, in create_string_buffer raise TypeError(init) TypeError: 192.168.72.01

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions