Solution
This error can occur due to one or more of the following reasons:
- The DataPlugin is unsuitable for the file type.
- The DataPlugin is not installed correctly.
- The current user does not have the necessary permissions.
Follow the relevant sections below to identify and resolve the root cause.
Unsuitable DataPlugin
DIAdem includes several DataPlugins on installation. However, they may not be suitable for your custom file as the format between files can be different.
For example, a different header type or data structure within an Excel file can cause a DataPlugin for the
.xls or
.xlsx extension to fail when loading a file, even though the file you are trying to read has the same file extension as the one the DataPlugin is configured to read. The same can happen with other ASCII or binary files.
In this case, you might need to create your own DataPlugin to read your custom files. Refer to the
Resources for Writing Your Own DataPlugin as a starting point for this task.
DataPlugin Not Installed Correctly
If downloading a DataPlugin from the web, refer to
Cannot Open Data File With the DIAdem Data Plugin Installed to verify that it is installed correctly.
If the DataPlugin was created in LabVIEW, your PC must have a matching version of the
LabVIEW Runtime Engine as the version of LabVIEW used to create the DataPlugin, and the
LabVIEW DataPlugin SDK.
File Permissions
- Check if the file privileges are restricted for a certain group or users in the computer.
- You can check the file's permissions by right-clicking it in the Windows File Explorer and select Properties>>Security.
- If necessary, contact your IT department to make sure you have the correct user configuration to be able to access the files.
- For TDM and TDMS files, a .tdx and .tdms_index respectively, are needed to read the file. Make sure your user have the privileges to read those files as well.
- For TDMS files, if there is no associated .tdms_index file, DIAdem will create one, in this case your user also needs privileges to write these .tdms_index files.
- Confirm with other users if they get the same error when opening the file, this can help isolating the source of the problem.
- Try opening the file in a different program, like Microsoft Excel with the TDM Excel Add-In to confirm if it also reports an error when opening the file. This could provide additional information like:
The TdsErrAccessDenied error indicates a problem accessing the file, most likely due to permissions issues.
- When the location where the files are stored is a network location, ensure your user has the corresponding permissions to read files from that location.
- If the permissions are correctly set, remapping the network drive on your computer can fix the issue.