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.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
matt.baker

Path Type Function - Return text ring or enum instead of plain I16

Status: Completed

Available in LabVIEW NXG. 

 

Change the Path Type function output from a signed 16-bit integer to a text ring or enum to aid immediate readability of code and save having to look at the help file:

 

LabVIEW_2018-11-05_09-16-13.pngThe Path Type function returns a signed 16-bit integer indicating the following 3 types of paths.

0: Absolute path

1: Relative path

2: <Not A Path>

 

Unhelpful context help.Unhelpful context help.

 

Text ring would have the least impact on existing primatives: https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Path-Type-Function-needs-another-return-for-an-empty-...



Using LV2018 32 bit

Highly recommended open source screen capture software (useful for bug reports).

https://getsharex.com/
2 Comments
AristosQueue (NI)
NI Employee (retired)

That primitive has been changed to return an enum in LabVIEW NXG. We will not be making this change in LabVIEW 20xx.

9CD2CF6E.png

Darren
Proven Zealot
Status changed to: Completed

Available in LabVIEW NXG.