LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
crelf

Let us decide the format of the version major, minor and fix fields

Status: New

When building, the version fields are limited to being I8 - I want them to be strings:

 

22290i709C7BD2DB9CC86E

 

This means I can't have a version like "2010" or "8.2 f3".





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
9 Comments
tst
Knight of NI Knight of NI
Knight of NI

It would still be useful to define for each field whether or not it's a number, so the auto incremementing still works.

 

Also, an I8 seems like a very limited choice. I would say it should be at least a U8, if not U16. I may not run through versions that fast, but it's nice to have the option. I certainly do have executables which are updated with minor features and bugfixes relatively often.


___________________
Try to take over the world!
Mads
Active Participant

I agree that I8 is an unnecessary limitation, however I really hope that they stick to numbers. We should all adhere to a standard here to make it understandable for everyone how different versions relate to eachother etc. Allowing a string input will result in a mess.

 

Using the year as a version number is a weak (marketing based) idea. I think the feedback to NI when they introduced LV2009 showed a consensus about that. On the other hand I can understand why others will follow when that's what users get used to, but please - just put it in the name of the application, not the version number.

TCPlomp
Trusted Enthusiast

Are you sure it's an I8 and not a U16? It seems that the number is limited by the OS (for windows)

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
elset191
Active Participant

 


Mads wrote: 

I agree that I8 is an unnecessary limitation, however I really hope that they stick to numbers. We should all adhere to a standard here to make it understandable for everyone how different versions relate to eachother etc. Allowing a string input will result in a mess.


National Instruments doesn't even adhere to that standard.  For example, I'm running LabVIEW 8.6.1f1

 

As for the idea, I don't really care either way.

 

--
Tim Elsey
Certified LabVIEW Architect
TCPlomp
Trusted Enthusiast

I doubt that you are actually running 8.6.1f1, does the version number of the executable mention 8.6.f1 as well? (it's in the properties page of the executable file), my executable file version is 8.6.0.4001 for LabVIEW 8.6.1:

22330i339402850D277A52

This means the major version is 8, minor 6, bug 0 and build 4001

 

The build number you can set in a executable builder is shown here.

The number Crelf mentions is set in the application builder and is used by Windows to determine whether the application needs to be upgraded. Allowing non-numerics into the version is a nightmare for comparison. What is bigger: 4.1a or 4.a1 or 4.A1 or 4.1A?

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
elset191
Active Participant

Oh, I guess you're right.  I just assumed this

22332iA61D89F13801BE25

was the actual version number, not just what it's called.

--
Tim Elsey
Certified LabVIEW Architect
crelf
Trusted Enthusiast

Did I say an I8?  Oops!  I mean that it's a U8 🙂





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
crelf
Trusted Enthusiast

I'd be okay with just numbers, but I need something larger than a U8, especially in the first and last fields.





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
TCPlomp
Trusted Enthusiast

That sounds like a ridiculous limitation U8 instead of U16.

 

Ton.

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!