LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Paste in table not working with "unsigned int"

Hello,

I'm using labwindows 8.5.0 and I discovered a possible bug in tables.
To reproduce the behavior, you don't even need to build an executable:

- draw a table in an UIR
- add one row and one line to have one cell
- change the cell to be numeric with "unsigned int" type
- "operate the panel" and try to paste a numeric value inside (2000 e.g.)-> it will paste the wrong value

if you change the cell type to "int", the paste will work fine.

anybody can confirm this behavior ? I can provide a project if necessary.

Note that this is not a big problem for me as I can live with "int" type (small numbers).
0 Kudos
Message 1 of 10
(4,946 Views)

Hi, 

 

I tried your procedure with my CVI 8.5.1 installation and could not see any problems.

I typed 2000 in a code window, copied it and pasted in into the table while the UIR is being operated.

 

What was the wrong value you got? 

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 10
(4,935 Views)
Hello,

When I paste any value, I get 1750076757 in the cell.
I'm including a simple project you may try to see if it happens.

Regards.
0 Kudos
Message 3 of 10
(4,921 Views)

Hi crazyfwed !

 

I tried to reproduce your issue, but I was unable to do so.

 

Actually, you say that you "paste 2000" to your cell, where are you pasting it from ? notepad ? excel ?

 

When you are typing 2000, are you getting the same issue ?

 

Have a nice day.

 

Regards,

0 Kudos
Message 4 of 10
(4,914 Views)
I'm using the notepad.

But I also tried to have two cells and to copy one cell and paste it into another one: same problem.

If I type the number, it's OK (either with autoedit or not).

Regards.
Message Edité par crazyfwed le 08-07-2009 01:21 PM
0 Kudos
Message 5 of 10
(4,908 Views)

Hi,

 

Well, ok.

 

What is you OS ? (which Service Pack are you using?)

 

Regards,

0 Kudos
Message 6 of 10
(4,905 Views)
I'm using XP SP2 (with an Athlon 64 x2 4400+, if you care).

Regards.
0 Kudos
Message 7 of 10
(4,901 Views)

Hi CrazyFwed,

 

I can't reproduce your issue, have you tried it on another PC ?

 

Have you tried pasting data from another software (word, ..) ?

 

Regards,

0 Kudos
Message 8 of 10
(4,872 Views)
Hello,

I can't reproduce with another PC running CVI 8.5.1, but I can reproduce the problem on another PC running CVI 8.5.0.
These 2 PCs have never seen any other CVI version in the past.

On the PCs with CVI 8.5.0, no matters the application from which I'm copying (even CVI), the pasted value is wrong.

Anyway, I will try to upgrade to 8.5.1 or better in the future (the sysadmin is on vacations and I don't know if the license permits any upgrade...).

Regards,
Frédéric Lochon.
0 Kudos
Message 9 of 10
(4,870 Views)

Hello,

 

Can you tell me what are the settings you applied in the control panel when browsing in the following options :

 

Panneau de configuration » Options linguistiques et régionales » Options avancées.

 

encoding.JPG

 

I think your issue is due to character encoding.

 

Have a nice day !

 

Regards,

0 Kudos
Message 10 of 10
(4,830 Views)