LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

edit numeric control of type int64

Solved!
Go to solution

I could not reproduce this on Windows XP 32-bit with CVI 2010 SP1 (419). Are you sure you do not have the Initially Hidden option checked? Does it simply not display the control as if it were hidden, or is it partially visible? Could you post a screenshot of the control configuration options?

National Instruments
0 Kudos
Message 11 of 17
(1,328 Views)

Inside the zip are the screen shots. I also created a test project with the original UIR file. I noticed that if I save & close the UIR with the control set as a unsigned int64 it will be gone when I reopen the file. Thus the numeric control is still saved as an unsigned int. The control of interest is Data Points (DATA_PTS_NUMERIC) underneath the start button. Hopefully you can reproduce this.

0 Kudos
Message 12 of 17
(1,322 Views)

I only have CVI 10.0.0 but I can confirm your observation: your zipped UIR had an unsigned int but then the control was displayed properly; when changed to an unsigned int 64 it disappeared when the project was run...

0 Kudos
Message 13 of 17
(1,319 Views)

The problem is that your UIR has been saved as a 7.1 UIR file. The ability for numeric controls to have 64-bit data types wasn't added until 8.5. So when you save the numeric after changing it to a 64-bit data type, it skips the control because it can't save it in the 7.1 format. If you save the UIR file in 8.5 format or later, then it won't disappear.

 

I realize this can be confusing and it would be nice if you were warned when CVI isn't able to save a newer feature in an older file format that you have selected. We're looking into handling this better in the future.

0 Kudos
Message 14 of 17
(1,310 Views)

That solved the problem. Thank you. I can't imagine how the UIR file got stuck in the old format. We've just started using CVI last year with the 2009 version, and no one here did it intentionally.

0 Kudos
Message 15 of 17
(1,302 Views)

I see the same problem.  Any solutions?

 

0 Kudos
Message 16 of 17
(1,259 Views)

Hi cvipaul,

 

this thread actually addresses several problems, which one are you referring to?

0 Kudos
Message 17 of 17
(1,255 Views)