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.
03-11-2015 04:46 AM
Yes, I can launch the test panel in MAX and it works just fine, so I know that all the drivers that it needs are on this system,
I just need to figure out how to get teststand to get my labview VI to toggle these lines like it does on my development system.
If I am interpretting this correctly, teststand doesn't like the version of labview that my VI was created in...Is there some way to configure teststand to use this version or do I need to recreate my deployment with whatever version teststand will use?
If the later, how do I determine what version that is?
Thanks again for your help in sorting this issue out...
03-11-2015 07:15 AM
In TestStand, Configure->Adapters->LabVIEW.
Select the LabVIEW Run-Time Engine and explicitly pick the one that matches your VI.
Also, which version of TestStand are you using?
03-11-2015 09:28 AM
Thanks Taki
Here is my Teststand version info:
TestStand Engine Version 2014 (14.0.0.274) 32-bit
Sequence Editor Version 14.0.0274
I tried your suggestion and these are the choices that teststand gives me:
If I select 14.0.1 (2014 SP1), then I get the following error when I run teststand:
If I select 13.0.1 (2013 SP1f5), then I get the following error when I run teststand:
Not sure what to try next...
03-11-2015 09:44 AM - edited 03-11-2015 09:45 AM
Which version of LabVIEW do you use?
I would do a forced recompile of your VI.
In my experience, the LabVIEW development environment does a good job of recompiling and adjusting for minor version differences.
TestStand doesn't do this so even minor version mismatches cause that -17600 error.
EDIT: Also, do you use any packed libraries? That's the other case where I see this issue a lot when a packed library is compiled under a different version of LabVIEW.
03-11-2015 10:43 AM
Hi Taki
I am not sure how the recompile works but I saved a new copy of my VI on my development system and copied
it over to my test system and now it is now toggling the DIO lines from my PXIe-6341 like it should but it is still not
measuring voltages on my PXI-4071 like it does on my development PC.
It is now giviing me the following error:
Error -1074118656 occurred at niDMM Initialize.vi
Is this an indication that some library is not loaded?
Thanks again
03-11-2015 01:03 PM
I can open the test panels in MAX and toggle relays with the PXIe-6341 and measure DC voltages with the PXI-4071.
But for some reason, my VI can toggle relays with the PXIe-6341 but chokes on a niDMM Initialize before it can measure
DC voltages with the PXI-4071...
03-11-2015 01:22 PM
Are both machines using exactly the same version of the DMM driver?
You can force compile by pressing the Control Key and clicking on the run arrow for the VI of interest.
You can also run a Mass compile from the LabVIEW Tools->Advanced Menu.
My guess is that your development machine compiles the VI to work fine in the development environment and that there is a subtle difference in the environment on your target which invalidates the compiled VI.
03-11-2015 02:02 PM
03-11-2015 04:47 PM
Thanks Taki-
I tried your trick of holding the control key down while running the VI on my test system and now all is working.
Thanks Dennis for your patience and guidance
Kudos to both of you