See here for the proper LabVIEW bug reporting procedure.
![]() |
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
|
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)
Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Aug 29 2006, 05:04 PM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
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 ,. ,.
|
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
|
|
|
|
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
|
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)
Tags
This content has not been tagged yet
|
|
|
|
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
|
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
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
0 | sam | 2096 | 20th June 2003 - 01:38 PM Last post by: sam |
|||
![]() |
18 | JackHamilton | 4415 | 22nd March 2004 - 01:20 PM Last post by: aledain |
|||
![]() |
13 | sam | 4677 | 17th January 2005 - 11:22 PM Last post by: Michael_Aivaliotis |
|||
![]() |
4 | aledain | 1708 | 2nd April 2004 - 07:57 AM Last post by: aledain |
|||
![]() ![]() |
| Time is now: 29th August 2008 - 06:29 PM |