Ton
Set library version returns error 53
#1
Posted 11 July 2012 - 05:04 PM
Ton
#2
Posted 11 July 2012 - 05:41 PM
I was able to set both class and lvlibs without any problems.I try to change the version of a library or class with the accompanying VI, and this returns an error 53. Can anyone reproduce this?
Ton
How are you calling the VI, i.e. what app refnum are you using? (I ran it standalone)
A little later.......
I can get error 53 if any of the Major, Minor, Fix numbers are zero. But works perfectly if they are all non-zero
Aha!
You cannot decrement the version of a user class. So if you are trying to set it to a lesser value, it fails with 53.
Edited by ShaunR, 11 July 2012 - 06:06 PM.
Founder and general mischief maker on www.labview-tools.com.
SQlite aficionado and websocket zealot.
If it 'aint in LabVIEW, then you 'aint got a clue!
#3
Posted 11 July 2012 - 08:32 PM
Hi Shaun,A little later.......
I can get error 53 if any of the Major, Minor, Fix numbers are zero. But works perfectly if they are all non-zero
...
You cannot decrement the version of a user class. So if you are trying to set it to a lesser value, it fails with 53.
that makes sense, is that also valid for manual changes?
I'll have a look at the documentation for that function tomorrow.
Ton
#4
Posted 13 July 2012 - 09:29 AM
Ton
#5
Posted 13 July 2012 - 09:48 AM
Indeed. In fact it's the same as trying to set the revision number less than the current revision for a VI where it will object with error no. 1077 (which maybe is what it should be for classes rather than 53).Yes, the GUI for a class also limits decrementing the version of a class.
Ton
My opinion is that version numbers should be able to be set to whatever we want, however.
Edited by ShaunR, 13 July 2012 - 09:49 AM.
Founder and general mischief maker on www.labview-tools.com.
SQlite aficionado and websocket zealot.
If it 'aint in LabVIEW, then you 'aint got a clue!
#6
Posted 13 July 2012 - 02:02 PM
That's nice. Would cause problems for data serialization.My opinion is that version numbers should be able to be set to whatever we want, however.
#7
Posted 16 July 2012 - 06:30 AM
How much of you classes are that upon the first save?
Ton













