DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi

I am using nilibddc library for reading a TDMS file. Its a huge file of around 70 crores of rows in channel 0. I need to read the whole array into RAM and process it. I am using x64 compiler of visual C++. It comiles fine without any error but when I run the code it gives the error that "The storage could not be opened". I think it is because of the pointer porting issue with x64. Can anyone tell me what to change in example code provided along this library so that it runs on x64 platform?

 

Thanks 

0 Kudos
Message 1 of 6
(5,476 Views)

The actual download contains a 64bit area in bin\64-bit that will work with x64.

Make sure the content of this folder is copied beneath your executable.

 

Use dependency walker to watch the dll attach process.

 

Andreas

0 Kudos
Message 2 of 6
(5,455 Views)

I have already copied down all content of dev/bin/x64 to my executable directory. But still it gives this error

0 Kudos
Message 3 of 6
(5,453 Views)

Also I am not reading whole 70 crores of data. At this point am reading only small chunk of data(100 double values). Its still giving error

0 Kudos
Message 4 of 6
(5,452 Views)
  • Does the example work.
  • Is there a logfile beneath your file after you tried execute?
  • Use dependencywalker to watch the dll attach process. This is done by loading the exe and choose profile in the menue.
  • Can you try to load the file with the excel addin. You can download it if it isn't already installed with an NI product on your machine.

w

0 Kudos
Message 5 of 6
(5,441 Views)
  • no. Example is also giving the same error
  • Yes, it creates a log file under exe file every time I run it. It reads: ERROR: TDS Exception in Initialize: Tds Error: TdsErrDataTypeMismatch(-2515): 
  • the dependency walker profiler gives this error : GetProcAddress(0x000007FEFF760000 [MSVCRT.DLL], "_get_terminate") called from "MSVCR80.DLL" at address 0x0000000071EA664B and returned NULL. Error: The specified procedure could not be found (127).
  • I can load the file and read it using excel plugin.
0 Kudos
Message 6 of 6
(5,430 Views)