See here for the proper LabVIEW bug reporting procedure.
Tags |
(This content has not been tagged yet)
|
![]() |
Aug 29 2006, 05:04 PM
Post
#1
|
|||
|
Extremely Active Premium Member ![]() Posts: 412 Joined: 8-July 05 From: Tullahoma, Tennessee, USA Member No.: 2547 Using LabVIEW Since:2000 LV:8.20 ,7.0 ,8.0.1
|
The attached VI attempts to get the size of a file using two methods. The first is the File / Directory info primitive, the second is the Get File Size primitive. Both should return the same number. When attempting to use this method on files bigger than 2 Gb the File / Directory primitive will not work because it returns an I32 for size. I haven't filed this with NI yet, so no CAR has been created, I wanted to list it here first to let someone else confirm my bug finding. BTW, you must supply your own 2Gb + file...
Attached File(s)
|
||
|
|
|||
| Ad |
Aug 29 2006, 05:04 PM
Post
#
|
||
|
|
|
||
|
|
|||
Aug 29 2006, 10:20 PM
Post
#2
|
|||
![]() Very Active Member Posts: 161 Joined: 29-September 04 From: Lachute, Quebec, Canada, Earth, Milky Way... Member No.: 731 Using LabVIEW Since:1995 LV:8.5 ,. ,.
|
The attached VI attempts to get the size of a file using two methods. The first is the File / Directory info primitive, the second is the Get File Size primitive. Both should return the same number. When attempting to use this method on files bigger than 2 Gb the File / Directory primitive will not work because it returns an I32 for size. I haven't filed this with NI yet, so no CAR has been created, I wanted to list it here first to let someone else confirm my bug finding. BTW, you must supply your own 2Gb + file... Verified. Is it a bug or a feature? I would say a feature that became a bug!
|
||
|
|
|||
Sep 6 2006, 08:24 PM
Post
#3
|
|||
|
Extremely Active Premium Member ![]() Posts: 412 Joined: 8-July 05 From: Tullahoma, Tennessee, USA Member No.: 2547 Using LabVIEW Since:2000 LV:8.20 ,7.0 ,8.0.1
|
Well, I was wrong about the error being produced with files >2gb, its actually wrong when files are greater than 4gb. I've included screen shots of this error in LV8.0.1 and LV8.2. I've also submitted this to NI and will post a CAR when I get one.
Whats weird is that LV8.2 and LV8.0.1 produce different results with the same large (14gb) file. Chris
Attached image(s)
|
||
|
|
|||
Sep 8 2006, 09:13 PM
Post
#4
|
|||
|
Extremely Active Premium Member ![]() Posts: 412 Joined: 8-July 05 From: Tullahoma, Tennessee, USA Member No.: 2547 Using LabVIEW Since:2000 LV:8.20 ,7.0 ,8.0.1
|
This bug has been confirmed by NI. CAR: 417BKAGI. Note, this bug exists in LabVIEW 8 and 8.2. I'm going to cross post to the 8.2 bug list for completeness.
|
||
|
|
|||
![]() ![]() |
| Time is now: 2nd December 2008 - 04:42 AM |