Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB5684 python

Solved!
Go to solution

How to use python program control USB5684 power meter?

0 Kudos
Message 1 of 8
(1,568 Views)
Solution
Accepted by Bob-1

Unfortunately, there is no readily available Python package for 568x devices.

 

This page lists the NI devices drivers that are currently available in Python - https://nimi-python.readthedocs.io/en/master/

 

Alternatively, you can install the NI 568x driver from https://www.ni.com/en-us/support/downloads/drivers/download.ni-568x-driver-software.html#348951 and call the C-dll in Python.

 

Refer to this article on how to call C-dll in Python - 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.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 8
(1,559 Views)

Thank you for your answer!

Can you provide me with the 64-bit NI568x DLL file?

0 Kudos
Message 3 of 8
(1,535 Views)

Thank you for your answer. Can you provide me with the 64-bit NI568x DLL file?

0 Kudos
Message 4 of 8
(1,520 Views)

2C2BD4BD-0B68-48A0-8174-B01B064E68DA.jpeg

How to use python program control USB-5684?

How to use functions in DLL file?

0 Kudos
Message 5 of 8
(1,487 Views)

If you install the NI 568x driver from ni.com you will find the C DLLs in the following location,

santo_13_0-1675174826002.png

And related documentation are available at

santo_13_1-1675174849415.png

 

here is an online help to C DLL functions - https://www.ni.com/docs/en-US/bundle/rf-power-sensor-devices/page/568xcref/568xcref.html

 

 

 

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.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 8
(1,469 Views)
HI, santo_13:
Thank you for your answer. Can you provide a programming example of python? I tried many times and failed.
0 Kudos
Message 7 of 8
(1,444 Views)

Please try to follow this article with the ni driver c DLL  https://ivifoundation.org/downloads/IVI%20GSG%202019/Getting%20Started%20with%20IVI%20and%20Python.p...

 

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.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 8 of 8
(1,383 Views)