From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-12-2019 08:05 AM
I have two questions.
1) Which board is appropriate for directing python questions? I can't tell from the selections available.
2) Our PXIe system has the following boards in it, and I have listed what I think is the correct PyPI package supporting that board next to it:
* PXI-6738 Analog Out <--> nidaqmx
* PXIe-5413 Signal Generator <--> nifgen
* PXI-2532B Cross-point switch <--> niswitch
* PXI-6509 Digital I/O <--> nidaqmx
* PXI-4065 DMM <--> nidmm
* PXIe-5105 Scope <--> niscope
* PXIe-2575 Mux <--> niswitch
Are these the correct python packages? The nidaqmx package seems to be a separate development effort from teh rest of the packages and I'm wondering if they are all compatible to run together as a system.
Thank you
Solved! Go to Solution.
06-14-2019 09:26 AM
Hi,
Each driver comes with a readme file that can be accessed online. On that file there will be a list of supported hardware.
Regards,
06-14-2019 09:34 AM
Thank you for the response -- but where online? PyPi? Github? the NI site? I'm not finding it.
06-14-2019 09:41 AM
The NI website, for example, for DAQmx you can find it here:
http://www.ni.com/en-us/support/downloads/drivers/download.ni-daqmx.html#301173
According to some of the modules that you mention, if you look at the Python NI website, it needs to have the regular driver installed:
https://nidaqmx-python.readthedocs.io/en/latest/
I checked on the scope module at it says the same thing
06-14-2019 09:54 AM
Thanks again, sorry, still not getting to a list of supported hardware.
The first link sends me to a driver download, not a list of supported hardware. That driver has already been downloaded and installed.
The second link is the PyPi docs for pydaqmx, and i still don't see a list of supported hardware. Sorry, I may just be missing the list somewhere.
I've currently got python programs running that look like I'm talking to all the boards in our system using the modules in the original listing. But it looks like there is some overlap between nidaqmx-python and the nimi-python code bases. I'm just trying to find out if I'm using the 'NI-preferred' code base for my system.
Thanks again.
06-14-2019 10:09 AM
I missed the 'View Readme' link on the first link (NI-DAQmx download). There does seem to be a list of hardware there, but I'm still missing how this maps to the python modules in nimi-python.
Thanks
06-14-2019 01:02 PM
All right, it looks like you can get nidaqmx supported devices from the readme link here: http://www.ni.com/pdf/manuals/374768ab.html
The following nimi-python modules have a 'supported_instrument_models' member:
* niswitch
* nidmm
* nidcpower
* niscope
* nifgen
And I guess you use a mixture of nidaqmx-python and nimi-python modules to get everything to talk to each other.