NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error(s) in generating CommonSubsteps.dll

Hi,

I should modificate the function "DoMultiNumericMeasEvaluation" from the CommonSubstep.dll which was delivered with TestStand3.0.1. I tried to create the dll with the original source code with the Microsoft Visual C++ compiler 6.0, but the following errors occured:

c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(250) : error C2039: 'PropOption_NotOwning' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(250) : error C2065: 'PropOption_NotOwning' : nichtdeklarierter Bezeichner
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(252) : error C2039: 'PropFlags_Hidden' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(252) : error C2065: 'PropFlags_Hidden' : nichtdeklarierter Bezeichner
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(408) : error C2039: 'PropOption_InsertIfMissing' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(409) : error C2039: 'PropOption_InsertIfMissing' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(410) : error C2039: 'PropOption_InsertIfMissing' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(464) : error C2039: 'PropOption_DeleteIfExists' : Ist kein Element von 'TS'
c:\programme\national instruments\teststand 3.1\api\vc\tsutilcpp.cpp(464) : error C2065: 'PropOption_DeleteIfExists' : nichtdeklarierter Bezeichner
...   (I attached a file with the whole debug output)

Does anybody have an idea what is the problem?

Unfortunatly I don't have any experience with Microsoft Visual C++, because we program all our applications with LabWindows/CVI. For this reason it's the question why NI program dlls for their own applications on different platforms?

Best regards
Carsten Kilgus



0 Kudos
Message 1 of 3
(3,256 Views)

Hi,

You mentioned Teststand 3.01, not sure there is a version 3.01, did you mean 3.1, as the pathname seems to point to file in teststand 3.1.

Make sure your project is looking in the right place for the version you are working on, in case you have more than one version of TestStand on your system.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,251 Views)
Hi Ray,
 
you are right. I mean Version3.1 (exactly 3.1.0.9595, by mistake I changed 0 and 1) and there is only one TestStand Version on the PC.
 
regards
Carsten Kilgus
0 Kudos
Message 3 of 3
(3,247 Views)