05-29-2024 06:54 AM
Hi,
We have a couple of test systems that consist of a RT (Pharlap) PXI controller, with a host machine. We are updating these from 2016 verasions of LabView, VeriStand and TestStand, to the 2020 versions.
One of the cards in the PXI chassis is a Pickering Precision Resistor card (40-297-050) I found a pre-written custom device for Pickering resistor cards on their website, including a version for 2020.It doesn't contain the source code, just the built libraries, which you place into the custom devices folder within the VeriStand system.
Running the system explorer, the custom device is available, and the configuration part seems to work fine, showing the 6 resistor channels available to place on a screen. However, when attempting to deploy this to the target, I get a deployment error (I've added the error message as an attachment, along with the contents of the addition information screen). It suggests that a VI is not executable, and seems to point to a file in the library that was copied to the target by the deployment. I can copy that library back from the target, and open it, but obviously it complains about lots of the paths that are no longer correct, so can't see that this will solve the problem.
I have contacted Pickering to see if they can supply the source code, so I can try and build the custom device again, but was wondering if anyone had seen similar problems before, and can provide an easy fix 🙂
Solved! Go to Solution.
05-30-2024 07:31 AM
Ok, an update... Think I fixed this... I observed on the console window of the RT system (by logging on to it through a browser (had to use edge in internet explorer compatibility mode 🤔) that the RT was throwing an error regarding an export from the Pickering driver dll. (You have to manually copy a series of .inf files, and the driver .dll file to the ni-rt\system folder for it to work).
This dll file is installed when you run the driver installation file downloaded from Pickering.
I happened to have a couple of other versions of the dll on a backup drive. A much older one would allow VeriStand to deploy, but the resistor card was unresponsive. Today I tried a newer version (although not as new as the one installed by the Pickering driver installer 🙄) and that both deployed, and allowed me to set and read the various channels on the resistor card...
So for info, in case anyone else has a similar issue...
DLL version 5.0.6.0 - Installed by the current Pickering driver installer) causes a deployment error with VeriStand
DLL version 2.8.2.0 - Deploys, but doesn't work with the resistor card
DLL version 4.0.31.0 - Deploys and seems to work ok