This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • TI Thinks Resolved

TSW14J57EVM: HSDC Pro Matlab Automation

Prodigy 210 points

Replies: 2

Views: 166

Part Number: TSW14J57EVM

Hi,

I am trying to automate the data capture from matlab. I am trying to load dll file but Matlab is throwing an error as shown below. The offending piece of matlab code is as follows. Please note I am using Windows 7 64 bit. My Matlab version is R2018b.

% HSDC Pro Software
addpath(genpath('C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC Pro Matlab Automation'));
% Load the Automation DLL
if ~libisloaded('HSDCProAutomation_64Bit')
    [notfound,warnings]=loadlibrary('C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll', @HSDCProAutomationHeader);
end

The error is as follows.

-------

Error using loadlibrary
There was an error loading the library "C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture Automation\Source Code\HSDC
Pro Matlab Automation\HSDCProAutomation_64Bit.dll"

Missing symbol 'OpenProcess' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-Synch-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetNamedPipeAttribute' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-NamedPipe-L1-1-0.dll' required
by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual
Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToTzSpecificLocalTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'TzSpecificLocalTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetDynamicTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformationForYear' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll'
required by 'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro
Dual Capture Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToFileTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\KERNEL32.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'GetTimeZoneInformation' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'SystemTimeToFileTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-SysInfo-L1-1-0.dll' required by
'C:\Windows\system32\msvcrt.dll->C:\Windows\system32\VERSION.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'
Missing symbol 'FileTimeToSystemTime' in 'C:\Program Files\MATLAB\R2018b/bin/win64\API-MS-Win-Core-File-L1-1-0.dll' required by
'C:\Windows\system32\RPCRT4.dll->C:\Windows\system32\ADVAPI32.dll->C:\Program Files (x86)\Texas Instruments\HSDC Pro Dual Capture
Automation\Source Code\HSDC Pro Matlab Automation\HSDCProAutomation_64Bit.dll'

  • Hi Sai,

    I have forwarded your request to the engineer responsible for device. He will get back to you with a response.

    Regards,
    Neeraj
  • Guru 51170 points

    Sai,

     

    The following can be reasons for issue with MATLAB Automation:

    1.       If 32-bit MATLAB is installed on the PC, the respective 32-bit HSDC Pro Automation DLL has to be used.

    2.       If 64-bit MATLAB is installed on the PC, the following points has to be ensured:

    a.       All the files present under the Matlab 64-bit example are copied to the new folder hierarchy, as all these files are required for the proper operation of the Automation DLL in Matlab 64-bit. It is recommended to first run the given Matlab example, and then modify it according to the requirements.

    b.      Kindly also note that the 64-bit Automation DLL for Matlab 64-bit requires LabVIEW 2014 64-bit Run Time Engine. Please download LabVIEW 2014 64-bit Run Time Engine from, http://www.ni.com/download/labview-run-time-engine-2014/4889/en/

    Regards,

    Jim

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.