LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i change a field properties without affecting source code?

I have an application that is running a test. A field ask a technician to add a serial number, however this field only accepts numeric characters and i have alphanumeric serial numbers. Can i change the porperty of this field wihtout affectinc the source code?
0 Kudos
Message 1 of 3
(2,522 Views)
If the application software checks the validity of the serial number, which must consist of the following characters (0123456789), then changing the property may not buy you anything.

If you must pass it a numeric value, do you control the number though LV or TestStand first before passing the value to the application? If so, you could try converting the characters to their ANSI equivalent... would make a long serial number (twice as long). Then comes the next issue, is there a length limit...

Changing property may not solve much... and you'd most likely need the source code.

JLV
Message 2 of 3
(2,522 Views)
gluviano wrote:
> I have an application that is running a test. A field ask a technician
> to add a serial number, however this field only accepts numeric
> characters and i have alphanumeric serial numbers. Can i change the
> porperty of this field wihtout affectinc the source code?

No probably not, unless your chars are 0..9 and A..F only. In that case
you could change the numeric control to display Hexadecimal numbers.
Only 8 hex-char length however for the int32 which is the maximum size
integer you can use.

For anything else you need a string control to enter alpha chars. The
problem is even more complicated as you will have to change more things
downstram the wire where you use that serial number.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 3 of 3
(2,522 Views)