08-31-2021 09:54 AM
Hi folks,
i want to use python script to control pxi6509 and pxi6552 .do you have any available demo code to share with me? Thanks.
08-31-2021 12:07 PM
PXI-6552 uses NI-HSDIO drivers which are NON-EXISTENT for Python but the workaround is to call the C dll and described here - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g3MOSAY&l=en-US
PXI-6509 uses NI-DAQmx drivers and you have python drivers here - https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Pf1SAE&l=en-US
Python DAQmx examples are available here - https://github.com/ni/nidaqmx-python/tree/master/nidaqmx_examples
Python and NI HW in general
https://www.ni.com/en-us/support/documentation/supplemental/16/python-resources-for-ni-hardware-and-...