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.

AFE58JD28EVM: Error 7 occurred at Call Library Function Node in HSDC Pro Version Check.vi->HMC-DAQ GUI Pro.lvlib:Main.vi

Part Number: AFE58JD28EVM
Other Parts Discussed in Thread: AFE58JD28,

I am running High Speed Data Converter Pro v4.80. I have an AFE58JD28 ADC that I am attempting to do some automation with. 

I am running the python "HSDCPro Automation DLL ADC Example" script (found in the HSDC Pro Automation directory) and would like the entire system to function in the background, however after the script selects the ADC and downloads the firmware, I get a popup message (see Image 1 below) that until now I had just clicked Continue to move onto loading the AFE58JD28 GUI (So my problem begins when running the AFE58JD28 software). Since I am trying to run the automation script I need to avoid having to manually click Continue. If it is not clicked, the timeout expires, and the program is halted (see Image 2 below). Any help would be much appreciated.

For context this is my setup:

Windows 10

High Speed Data Converter Pro v4.80

AFE58JD28 EVM 1.0.2

64-bit Python 2.7

( I have modified the python script to use the 64-bit dll by changing the `dll_path` to "C:\\Program Files (x86)\\Texas Instruments\\High Speed Data Converter Pro\\HSDCPro Automation DLL\\64Bit DLL\\HSDCProAutomation_64Bit.dll")

Thank you.

Image 1

Image 2

  • Hi Jacob,

    Welcome to TI E2E forum.

    I am checking with my software team on this issue and will get back with a response soon.
  • Hi Jacob,

    We are thinking that a possible reason for this issue could be if the “HSDC_Version.dll” file is missing in the below location which comes along with HSDC Pro GUI. C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\HSDC_Version.dll

    Can you clarify the following?

    1. Screenshot of the files present in the HSDC Pro directory to verify whether “HSDC_Version.dll” file is present or not.
    2. Does this error occur when the GUI is launched by selecting the ADC in the HSDC Pro dropdown or it occurs only during Python scripting?
    3. Would it be possible to use HSDC Pro GUI version 4.5 since we have done extensive testing using that version which was the then-current version of the HSDC Pro GUI at the time of the AFE58JD28EVM release?
  • Praveen,

    Thank you for looking into this. To answer your questions:

    1. I checked the directory and did find the "HSDC_Version.dll" file there (screenshot below)
    2. This error occurs when the GUI is launched and when running the python script.
    3. I am willing to use version 4.5, but I have not been able to locate it on your website. Could you send me a link to it?

    Thank you,

    Jacob

  • Hi Jacob,

    The error 7 usually occurs if the HSDC_Version.dll is not located in the directory.
    Can you please run the attached exe and provide a screenshot of the exe after execution?
    /cfs-file/__key/communityserver-discussions-components-files/1023/8877.Check-OS-Bitness.zip

    After launching the application, you will need to click on the 'Check OS Bitness'.
    Once the button is clicked, we would like to know if the check box '64bit' got checked.
    Please send us the snapshot of the GUI as before.

    Additionally we would also like to know the following:
    1. PC configuration
    2. Screenshot of HSDCPro Version dll with path visible on the top of explorer window
    3. Did you change the default location of HSDC Pro during installation?
  • Praveen,

    It looks as though the exe wasn't attached properly. I do not see a link to download in your message so I could not complete the 'Check OS Bitness'.

    To answer your questions:

    1. PC Configuration: Windows 10 (64-bit), Python 2.7 (64-bit)
    2. Screenshot (see attached)
    3. I do not remember changing the default location of the HSDC Pro during installation.

    ** I have another question that is not specific to this error, but I hope you can help me:

    Is there a way to automate the "Disable Fundamental Freq. Search?" functionality? It is found in the HSDC Pro GUI (v4.80) under Test Options > Other Frequency Options > Disable Fundamental Freq. Search? (checkbox). 

    I looked in the documentation, but was not able to find anything that helped me.

    Thank you,

    Jacob

  • Praveen, 

    Here is the screenshot of the "Check OS Bitness" program. The box was not checked after clicking the button (several times).

    However, in 'System Information' on my Windows 10 machine, it shows that it is 64-bit (x86) (see screenshot below).

  • Hi Jacob,

    Can you please run the attached “Check OS Bitness.exe” exe (v1.1) and provide the screen shot of the GUI?

    /cfs-file/__key/communityserver-discussions-components-files/1023/5635.Check-OS-Bitness_5F00_V1.1.zip

  • Here is the screenshot:

  • Jacob,

    Thanks for forwarding the screenshot.
    We have identified that this is a software bug and we are looking into fixing this as soon as possible.

    As a quick workaround and to continue with your evaluation, can you create a directory 'C:\Program Files\Texas Instruments\High Speed Data Converter Pro' and copy the DLL file 'HSDC_Version.dll' from 'C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro' to the newly created directory?

    Apologize for any inconvenience.
  • I copied the DLL file to the newly created directory, and when running HSDC Pro, I now get this error/warning every time I connect to the ADC. I am not too worried about it because it is a temporary 'work-around' but I thought I would let you know what happened on my end.

  • Hi Jacob,

    Thanks for letting me know.

    We have extensively tested the AFE58JD28EVM with HSDC Pro Version 4.5.
    So we added this warning note to let the user know about this.

    You can either switch to HSDC Pro v4.5 or choose to ignore this warning to proceed.
  • Praveen, 

    Could you help me locate a download for  HSDC Pro Version 4.5? When I navigate the website I am only able to find Version 4.8 dowload.

    Thank you

  • You should be able to find it in the mySecure software folder at www.ti.com/myti
  • Praveen,

    I located 'my secure software' in myTI account > My activity > mySecure software but it is currently empty (see below). Are you able to grant me access to that software?

    I have also tried a link that was included in this TI forum but it no longer exists.

    Thank you for your help,

  • Praveen,

    I installed the new software (HSDC Pro v4.5 and AFE58JD26_EVM v1.0.4) and copied the new HSDC_Version.dll (the one located in C:/Program Files (x86)/Texas Instruments/High Speed Data Converter Pro/) into the temporary directory you had me create previously (C:/Program Files/Texas Instruments/High Speed Data Converter Pro/) and I no longer get the Error 7 message. 

    However, if delete the temporary directory, I get the Error 7 message again. I was under the impression that the 'temporary directory' was a temporary fix. Is this the case? 

  • Hi Jacob,

    I'm from Praveen's team. Please do not delete the temporary directory. It needs to be there to run HSDCPro without any error as you have mentioned. We have identified the root cause of this issue and unfortunately it seems to be due to the way that Microsoft has changed the way that registry access is provided in the recent WIN 10 builds (please see here for more details). We will be fixing this and releasing a new version soon. Please let us know if you have any questions.

    Best regards,

    Srinivas