NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Using language files for Custom Step Types Error handling

NI uses language files for its custom step types :

  • IVI : NI_IviTypesStrings.ini
  • FlowControl : NI_FlowControlTypesStrings.ini
  • Database : NI_DatabaseTypesStrings.ini
  • etc

These language files include error message strings.

 

When creating our own custom step types, does NI recommend to use such practice to return specific error messages, even if these custom step types have been developed with LabVIEW ?

If so, since there is no error code in this mechanism, what error code range is recommended (in order to avoid using already affected error codes in LabVIEW or TestStand or Add-ons) ?

 

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

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

–8999 through –8000, 5000 through 9999, or 500,000 through 599,999 as discussed in http://zone.ni.com/reference/en-XX/help/371361K-01/lverror/error_code_ranges/

0 Kudos
Message 2 of 3
(3,860 Views)

Thanks Kate for these LabVIEW error code ranges.

 

What about TestStand error code ranges and TestStand add-on error code ranges ?

 

Our question was essentially about the NI recommandations for using external files for TestStand add-ons... 

Jean-Louis SCHRICKE
CTA - Certified TestStand Architect (2008 - 2022)
CTD - Certified TestStand Developer (2004 & 2007)
CLD - Certified LabVIEW Developer (2003 & 2005)

0 Kudos
Message 3 of 3
(3,833 Views)