ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Demo for pxi6552 pix6509 control by python code

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.

0 Kudos
Message 1 of 2
(1,809 Views)

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-...

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 Kudos
Message 2 of 2
(1,797 Views)