The brand-new PN400 Phase Noise Test System is available for purchase! →

Reply To: Communicate with SM200C through API

Forums › SM Series Discussions › Communicate with SM200C through API › Reply To: Communicate with SM200C through API

#248361
RogerRoger
Moderator

Hi jfer,

The first two arguments passed to sm_open_networked_device() must be byte strings, defined in Python by prefixing a string literal with “b”. So the function you quoted above would be written as:

sm_open_networked_device(b“192.168.2.2”, b“192.168.2.20”, 56120)

Let me know if this does not fix it.