cancel
Showing results for 
Search instead for 
Did you mean: 

XMC python modules used in example scripts

XMC python modules used in example scripts

StephanH
Valued Contributor III
Hello,

often in the XMC example scripts functions from the module "xmclib" or "device" are used.
Is there a documentation what functions are included, what parameters can be send and what returnvalues can be used?

If there is no documentation, is there a way to access the source code to find out what the functions can do?

It would be helpfule to use the existing code and not do reinvent the access to functions like "logger"

Here an example from XMC:

#@MetaDataEnd
from xmclib import emc_vars
from xmclib import logger
from xmclib import cli
from device import api

Best regards
Stephan

Regards Stephan
22 REPLIES 22

Nealo
New Contributor
Is there any update on it ? I'd love to have some documentation on the modules.

StephanH
Valued Contributor III
Hello John,

thank you for feedback and good to hear. If you have a draft to read, I'm here .

Regards
Stephan
Regards Stephan

Hi, Patrick. We're working with development now, but we're also focusing on getting ready for the next release, so I can't give you a definitive time. Aside from the documentation for the 8.2 release though, this is the top priority.

Thanks again,

John

Hi, Patrick. We're working with development now, but we're also focusing on getting ready for the next release, so I can't give you a definitive time. Aside from the documentation for the 8.2 release though, this is the top priority.

Thanks again,

John

Hi,

Any update on XMC python scripting documentation?

Regards,

Rahman

Still waiting,.....
GTM-P2G8KFN