Skip to content

Commit

Permalink
Added note to Master.open() about interface names (bnjmnp#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoRoos committed Jul 2, 2024
1 parent c6c992b commit 341fdfa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pysoem/pysoem.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,13 @@ cdef class CdefMaster:

def open(self, ifname, ifname_red=None):
"""Initialize and open network interface.
On Windows the names of the interfaces look like ``\\Device\\NPF_{1D123456-1E12-1C12-12F1-1234E123453B}``.
Finding the kind of name that SOEM expects is not straightforward. The most practical way is to use the
:func:`~find_adapters` method to find your available interfaces.
Args:
ifname(str): Interface name. (see find_adapters)
ifname(str): Interface name.
ifname_red(:obj:`str`, optional): Interface name of the second network interface card for redundancy.
Put to None if not used.
Expand Down

0 comments on commit 341fdfa

Please sign in to comment.