Do I Need to Change My Labview Code, When I Change My PXI/PXIe Hardware?

Updated Feb 28, 2024

Issue Details

I have recently made some hardware changes to my PXIe System. Do I need to make any changes to my LabVIEW code, in order for it to run without errors?

Solution

Having to make changes to your LabVIEW code will depend.

If you have upgrade one of your PXIe Modules, please make sure that the features that you use in your code are still available.
For example:

  • The PXI-407x supports NI-DMM Express VIs. The PXIe-408x, does not.

If you used Static Allocation, to assign your PXIe-Modules, you might have to make changes to your LabVIEW code. In certain upgrades, the enumeration process could change, which would lead to the devices not being recognized, even if they were plugged into the same PXIe slot as before.
An Example of Static Allocation, would look like this:

static.PNG


If you have used Dynamic Allocation, you should have to make no significant changes to your LabVIEW code. Merely selecting the correct devices from the dropdown list should suffice.
An example of Dynamic Allocation, would look like this:

dynamical.PNG
dynamical 2.PNG