02-24-2023 07:00 PM
I have a PXIe-1083 chassis with 4 PXI-2535 switch matrix cards and one PXIe-4141 card installed. I am new to PXI system so I started from PXIe-4141 examples.
I was able to compile and run NI-DCPower Source DC Current example. But when I try to read the code, there are functions that I couldn't find any documentation.
I also have problems finding documentations and command sets on how to program those switch matrix and smus. Really appreciate if somebody can give me some advices!
Solved! Go to Solution.
02-27-2023 04:20 PM
I am assuming by the mention of niModInstCVICust_NewCtrl() that you are using CVI.
The niModInstCVICust_*Ctrl() functions are pseudo-private entry points which allow for automatic population of the Resource Name drop-down control while the CVI example is running. It is a usability feature NI provides for products which support NI-ModInst.
What version of NI-DCPower and NI-SWITCH do you have installed?
I would recommend looking at the NI-SWITCH CVI examples as well, particularly "Handshaking with an NI-DMM".
Both NI-DCPower and NI-SWITCH install help files, including sections where you can learn about the various API functions. They are also available on ni.com. Here is NI-DCPower's and NI-SWITCH's.
02-28-2023 01:28 PM
Thank you so much for your reply!
Yes, I am using LabWindow/CVI 2017 for developing language. The drivers' version I installed as following. Are those the right version?
Thanks a lot for the links!
03-01-2023 10:09 AM
Yes, those are the drivers you need for these instruments, and those versions are perfectly fine. It wouldn't hurt to upgrade to the very latest, though.
03-02-2023 07:47 PM
Thank you so much, Tobias!