Python for Instrument Control
chris.wilson
Python seems to be becoming a de facto language for instrument control, at the level that you can no longer take for granted that manufacturers provide C libraries. I appreciate that it is a somewhat recurring theme to have more Python support in Igor, but I'll mention specifically that it could be helpful to have a more simplified way to use Python libraries for instrument control. Having a more direct and simplified way to, for instance, call a Python script and pass back basic data like simple numeric variable or arrays would be very helpful.
Do you have an example of a python function you would like to call from within IP?
May 7, 2021 at 08:05 am - Permalink
In reply to Do you have an example of a… by thomas_braun
I have seen your CallFunction XOP. Can it be used to call Python in addition to C?
May 7, 2021 at 08:10 am - Permalink
I don't think the CallFunction XOP can directly be used to call python functions. But maybe this could be extended to do so. I'll have a look.
May 7, 2021 at 09:34 am - Permalink
The instrument I am thinking about at the moment is this: https://www.keysight.com/ca/en/product/M3102A/pxie-digitizer-500-msa-s-…
Beyond the basic API, which they do have in C, the manufacturer can provide a significant number of application specific scripts (calibration, etc), but only in Python.
May 7, 2021 at 01:06 pm - Permalink