LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet

> Bug reporting guidelines:

See here for the proper LabVIEW bug reporting procedure.


 
Reply to this topic Start new topic
> File / Directory Info vs Get File Size bug
Chris Davis
post Aug 29 2006, 05:04 PM
Post #1


Extremely Active
****

Premium Member
Posts: 403
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


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)
Attached File  LV_8.0.1_File_Size_Bug.vi ( 8.58K ) Number of downloads: 165
 


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Aug 29 2006, 05:04 PM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
Jacemdom
post Aug 29 2006, 10:20 PM
Post #2


Very Active
***

Premium Member
Posts: 161
Joined: 29-September 04
From: Lachute, Quebec, Canada, Earth, Milky Way...
Member No.: 731
Using LabVIEW Since:1995
LV:8.5 ,. ,.
Nothing Selected Nothing Selected Nothing Selected


QUOTE (chrisdavis @ Aug 29 2006, 01:04 PM) *
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!


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Chris Davis
post Sep 6 2006, 08:24 PM
Post #3


Extremely Active
****

Premium Member
Posts: 403
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


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)
Attached Image Attached Image Attached Image
 


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Chris Davis
post Sep 8 2006, 09:13 PM
Post #4


Extremely Active
****

Premium Member
Posts: 403
Joined: 8-July 05
From: Tullahoma, Tennessee, USA
Member No.: 2547
Using LabVIEW Since:2000
LV:8.20 ,7.0 ,8.0.1
United States us_tennessee Nothing Selected


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.


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   0 sam 2096 20th June 2003 - 01:38 PM
Last post by: sam
No new   18 JackHamilton 4415 22nd March 2004 - 01:20 PM
Last post by: aledain
No New Posts   13 sam 4677 17th January 2005 - 11:22 PM
Last post by: Michael_Aivaliotis
No New Posts   4 aledain 1708 2nd April 2004 - 07:57 AM
Last post by: aledain


Reply to this topicStart new topic

 




Time is now: 29th August 2008 - 06:29 PM