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.

TSW1400EVM: 64bit DLL

Part Number: TSW1400EVM

Hello,

I tried to read Automation DLL in Python , code as below:

DLL_Version = Automation_DLL_Version()

But the version readback is 0. For me, 64bit DLL dose not work properly. Has anyone used 64bit DLL before?

Thank you

Andy

  • Andy, 

    We haven’t tested it using 64-bit Python. But we know the 64-bit Automation DLL should work. What other issue are you seeing with 64-bit dll in addition to the dll version number being ‘0’?

    Yusuf

  • Haven't heard back. Will close for now. 

  • Hi Yusuf,

    This is the error message I got:

    "C:\Users\Andy Fei\PycharmProjects\test\venv\Scripts\python.exe" "C:/Users/Andy Fei/PycharmProjects/test/test1.py"
    C:\Program Files (x86)\Texas Instruments\High Speed Data Converter Pro\HSDCPro Automation DLL\64Bit DLL\HSDCProAutomation_64Bit.dll
    DLL Version = 0
    Connecting to board : K1316381-TSW1400
    Error Status = 7004
    Selecting ADC Device : ADS42LB49
    Error Status = 7002

    Process finished with exit code 0

    Thank you

    Andy

  • Hey Andy, 

    I had to check with the design team to assist. I will get back to you as soon as i hear back. 

    Yusuf

  • Here is their feedback: Hope it helps!

    The Error 7004 occurs due to the following reasons.

    1. The board is not properly connected to the PC.
    2. The Serial number, passed to the “Connect_Board” Automation function from Python script, does not match with the board connected to the PC. There could be some typo in the Serial number passed. Please make sure if the serial number passed to automation function is same as that displayed in HSDC Pro “Connect Board Popup”.
    3. We have faced issues with the character “-” not being properly passed from Python to HSDC Pro. Hence, HSDC Pro interprets this character differently thus causing issues. To avoid this issue, pass only the serial number (K1316381) (avoiding the Board Name) to “Connect_Board” Automation function.

    Yusuf