nilibddc dll: opening files tdms with the corrupt index files

Hello

I have a question about the error handling when using the nilibddc.dll.

I want to use nilibddc.dll to open the .tdms file. At the time I experimented with some error cases and got stuck in a case:

When I try to open a file with a corrupted file .tdms_index .tdms I get code error-6211 (DDC_StorageCouldNotBeOpened).

The file .tdms_index is corrupted due to errors during the copy of the file.

The problem I've noticed is that I have a lock on the corrupted file .tdms_index file after DDC_OpenFile (...) (I can rename it, but I can't delete the file!).

As you can see in the code snippet - it is not really special...

int ddcError = 0, length;
DDCFileHandle file = 0;

ddcError = DDC_OpenFile (file_path, NULL, &file);)

Here, I get ddcError is-6211
If (ddcError == 0)
{
do something with the file...

ddcError = DDC_CloseFile (leader);

If (ddcError == 0)
{
< "no="" error="" -="" everything="" done"=""><>
}
}

System ("pause");

I miss something here? Should I use DDC_FreeMemory in somehow to free open handles?

I also tried to use the DDC_OpenFileEx (...) with readOnly set to true. But that doesn't change anything!

Thanks in advance for the help,

Daniel

You are right. The sample file you attached to your message causes an access violation. If no normal flow program and apllication in undefined state.

I will direct the file to developers. I tried to generate a file that causes the same by beating some index files, but has failed to create one on my own. It happened to your site more than once?

What can we do?

In the first place, simply copy the PDM. The index file will be recreated when the file is accessed. What is lost when the index file is not copied, therefore the time required to create the index file by scanning once the PDM file.

I hope this helps a little

Andreas

Tags: NI Software

Similar Questions

  • My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    My Cookie file was corrupted in data and my programs continually pop up with the 'corrupt file' error when a program opens, pointing to \Users\name\Appdata\Roaming\Microsoft\Windows\Cookies.

    The problem is, Chkdsk will not fix this, and I can't access the file. This opens up a world of problems when I need to fix this error, so I can upgrade to Windows 7. Help, please!

    I just ran the scan again. He said of the errors found, but could not be repaired.

    This problem actually has nothing to do with internet explorer. It's the cookies folder that is corrupt in the Windows folder in roaming. The error file is in conjunction with the programs, that I try to run (AIM, Skype, so forth). Trying to enter the folder it says it's corrupt. I don't know what is the root of the problems or how to solve this problem, but these measures have not helped so far. Regarding the repair, I will try that next.

    http://Tinypic.com/view.php?pic=14mw4ly&s=4

    Here is a picture. This is the error of the lower right

    It's what the tool SFC to see system files corrupted and try to repair the system files.
    SFC could not fix it.

    Looks like you will need to do this:

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    Read the info on the link above.

    Good luck with it.

    Let us know how you go with it.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • I can't seem to open additional tabs with the +, the drop down menu, or T command? Is this a bug or am I missing something?

    Hello
    I can't seem to open additional tabs with the +, the drop down menu, or T command? Is this a bug or am I missing something?

    I use Firefox 30.0 in OS 10.8.5 on a Mac Book Pro with the Intel Core i7 2.7 GHz and 1333 MHz DDR3 8 GB memory.

    Thanks in advance,
    Pat

    You have a "Community Toolbar" extension installed? Which has been reported by other users of Mac as affecting the new tab feature in Firefox 30.

  • Don t work under El Capitan and I don't get an update/upgrade? I've used until yesterday an old MacBook pro and Lion, everything was perfect with an opening. Now, with the new element (iMac) and El Capitan, I have problems.

    Don t work under El Capitan and I don't get an update/upgrade? I've used until yesterday an old MacBook pro and Lion, everything was perfect with an opening. Now, with the new element (iMac) and El Capitan, I have problems.

    It is not possible to update the version of Aperture is 3.4.5

    What can I do?

    You can only update if you have a version of the AppStore of Aperture - if your version of Aperture appears in the history of your purchases on the App Store. Update and then reinstalling.   See this tip of the user for more details:

    Update to Aperture 3.6 after the publication of Photos

  • Mixed signals with the same index: p

    Hello

    I try to draw multiple signals with the same index x

    I built it, but he can't shoot

    that part which is not respected this VI

    Best regards

    Magnin

    Hello

    I have no license mathscript, but I think it should work:

    Let me know...

    Best regards

  • Adding properties files TDMS with the C API

    I use the free C API (dll) to write TDMS files. Everything works perfectly except the next function call.

    int __stdcall DDC_CreateFilePropertyString (file DDCFileHandle,
    const char * property.
    const char * value);

    I call the following function in advance to create the PDM file.

    int __stdcall DDC_CreateFile (const char * filePath,)
    const char * fileType.
    const char * name,
    const char * description.
    const char * title,.
    const char * author;
    DDCFileHandle * file);

    When I call the function to create the property, it returns with the error-6202 code (invalid argument). I don't think that there is an invalid argument in my appeal. Someone at - it examples of code? What I need to do something before I can create a property?

    Thanks for your help.

    Does

    DDC_CreateFilePropertyString (file, "MyProperty", "MyValue");

    work?

  • Problem with the opening of intention with the type ' application/pdf' and no extension of file in Acrobat 16.0 for Android

    I'm having a problem with an Android app that opens pdf files through an intention with ' application/pdf ' as type a uri that does not include an extension (something like "file:///storage/emulated/0/Android/data/package.name/cache/Documents/Document20136000217 25840499999") the file picker opens properly, but if I choose Adobe Acrobat, Acrobat is activated but immediately closes with the message "No applications available on the device to open files of this type".

    If I select the Reader PDF Viewer to open intend the file opens correctly. I also tried adding '.pdf' name of the file and in this case the intention also works with Adobe Acrobat.

    Acrobat seems to ignore the mime type. Documentation to http://developer.android.com/intl/es/reference/android/content/Intent.html#getData () which seems to be a mistake - the mime type must take precedence over the content of the data.

    The application runs on a Nexus with Android Marshmallow 6.0.1 5.

    Hello Colin,

    We just released the last version (16.1) demand in the PlayStore where we tried to include a fix for the problem you are seeing. Upgrade you to the latest version and let us know if you are still having it ask.

    Thank you

    Adobe Acrobat team

  • When I click on a link, it opens 2 tabs with the same window

    I am trying to open a link from a Web site. When I click on it, 2 tablets with the same site open. It is only on a few links. How can I solve this problem?

    I realized what happened. There was a little problem on the page that did appear twice, like a mirror. Makes things come several times. I managed to fix it. Thank you!

  • ES1 - 512 hibernate if it is open, but not with the lid closed. LED will blink red and blue?

    I want a laptop, when closed, to go to sleep, then transition to Hibernate.

    When open, transition work. Race walk, sleep, Hibernate.

    When closed, transition fails. Running, sleep (slow orange blinking), and then rapid blue/red flashing LED.
    During flicker battery consumption is large and the battery goes dead quickly.

    I have tried many power configuration settings.

    Cover-> nothing or sleep - same results.

    Cover-> hibernate - works, but is NOT what I want.

    Button to Hibernate, but not what I want.

    I want to do what it should - sleep and hibernation...

    What does glitter blue/red LED mean?

    OK, I found a workaround solution - with a caveat.

    The xHCI driver is apparently in conflict with something that causes chaos when the laptop tries to transition from sleep to Hibernate with the lid closed.

    This is definitely a bug that should be fixed! Acer needs to work with Microsoft to find the problem and fix it.

    If you go into the BIOS settings (reboot and press F2) and disable xHCI.

    The USB ports will return to PCI mode. All USB ports are working, even if I think they are USB 2.0, not 3.0

    Now the power level can be set to sleep when the lid is closed and it will cause a transition to Hibernate when appropriate!

  • How I can open my computer with the AC adapter.

    why I can't open my computer when I using my adapter. I can only open it when I put my battery and I can only charge my battery when I shot down my computer. My laptop model is Acer Aspire 4937.

    Hello

    Method 1:

    I suggest you run the Microsoft fixit tool and check.

    Problems with the lives of its use and the battery of power - Mr Fixit
    http://support.Microsoft.com/GP/windows_battery_power_settings

    Method 2:

    Step 1: You can also create a power plan and the same customize. A power plan is a collection of hardware and system settings that manages how your
    computer uses and conserves energy. Power management can save energy, maximize system performance, or balance conservation of energy with performance.
    See the link below for more details on power management:

    Change, create, or delete a power plan (scheme)
    http://Windows.Microsoft.com/en-us/Windows7/change-create-or-delete-a-power-plan-scheme

    Step 2: You can also try to update the BIOS to do this, you can contact the manufacturer of the BIOS.
    Note: modification (CMOS) BIOS/complementary metal oxide semiconductor settings can cause serious problems that may prevent your computer
    to start properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    For more help or support you must contact the manufacturer of your computer.

     

  • Opening a session with the user not admin

    Hi all

    I get this error when I connect with the user not admin.

    "Application is in maintenance mode, new connections are not allowed."

    No idea about this will be really helpful.

    You must identify yourself with the admin user and exit maintenance mode, the steps are here:-http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch10s02s05.html

    That could post even though the steps are sometimes people find a bond far too difficult.

    Select Administration, Application and settings.
    For the show, select Advanced settings.
    Click OK.
    Select system settings.
    Application in Maintenance mode, select an option to allow use of the Application to:

    All users: all users can log in or continue working with the application.
    Administrator: Only administrators can log on. Other users are driven out and prevented to connect until the option is given to all users.
    Owner: Only the owner of the application can connect. All other users are unable to open a session. If they are currently logged in, they are forced from the system until the option is given to all users or administrators. Only the owner of the application can restrict administrators to use the application.

    If your selection is more restrictive than the current setting, click OK.
    Click Save.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Open a session with the status of administrator but windows update denies - 0x8ddd0002 error

    I connect with the status of administrator, but windows update said I am not an administrator and refuse updates.

    Hello

    Were there any changes made to your computer before this problem?

    Perform the steps mentioned in the link checking if this is useful:

    You receive an error message 'Administrators' only when you try to visit the Windows Update Web site or the Microsoft Update Web site

    http://support.Microsoft.com/kb/316524

    Note: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756/

    I hope this helps.

     

  • How to open local PDF with the new Viewer PDF files?

    I would use the new PDF Viewer integrated into Firefox 19.0 Beta to view local PDF from my computer. But when I try to open with Firefox, instead of opening it with PDF.js, Firefox gives me a dialog box asking "Firefox do with this file? It is not an option in Tools/Options/Applications to use default PDF.js, so, how do I use it for local files?

    I'm not on the same OS, but don't you have an option to preview in Firefox/Beta. You will need to disable the plugins PDF first.

    If you are able to see on the web pdf files ok I see no reason why it won't work on local files as long as you have the permissions to access the involved file path.

  • What ports open to communicate with the database... ?

    Hi friends,

    IAM working on R12 with Database 11g RAC on OEL 5.4. I have some doubts... Help, please...

    R12, we installed on node 1, node2 and 3 are RAC instances...
    the node node3 (RAC2) and 2 (RAC1) we have disabled the firewall, we want to use the firewall on node 1 (R12)...

    Now my question is do I need other ports to open on NODE1 to connect with... other than the port database database servers (1521)...?

    Thank you
    RB

    Hello

    Now my question is do I need other ports to open on NODE1 to connect with... other than the port database database servers (1521)...?

    The database should be sufficient. However, you can review the context file of database for the list of the port that is used by this layer and open it as needed.

    Thank you
    Hussein

Maybe you are looking for

  • How to use the turbo speed with dual‑core 1.6 GHz 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz)

    I have a processor; 1.6 GHz Dual‑core 1.6 GHz Intel Core i5 (tot Turbo Boost 2.7 GHz) How can I use the turbo boost for a game?

  • How to remove pre-installed games

    My computer running Vista when I bought it and I've since upgraded to Windows 7. HP is the manufacturer and it preinstalled several additional games in addition to the standard windows ones, as well as "My HP Game Console," who plays games. I would l

  • Target visible FPGA in MAX but not in LabVIEW

    Hey! I recently installed a RIO device. Before installing the equipment, I installed the module FPGA & RIO 3.0 as directed. Now, I can see the device in a position & automation explorer, but its not in list "Add target & devices. It says "No device f

  • Cabinet.dll is not designed to run on Windows or it contains an error

    I just got a message arrived to the top when I am logged in and do not understand!  Bed C:\Windows\system32\Cabinet.dll is not designed to run on Windows or it contains an error.  Try to install the program by using the original installation media or

  • ASA - DMZ - LOTUS NOTES ACCESS SEGMENT

    Hello I hosted lotus notes server and citrix servers in the DMZ segment of the asa. Access remote vpn has been configured. Users use vpn to access the servers. Users are not facing any problem when they try to access citrix and other servers after th