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.

[参考译文] AFE5818EVM:HSDCPro Automation DLL 上的警告消息

Guru**** 2378650 points
Other Parts Discussed in Thread: AFE5818EVM, AFE5818
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/data-converters-group/data-converters/f/data-converters-forum/1482755/afe5818evm-warning-message-on-hsdcpro-automation-dll

器件型号:AFE5818EVM
主题中讨论的其他器件: AFE5818

工具与软件:

您好!

 

我的客户正在尝试将 HSDCPro 自动化 DLL 用于 AFE5818EVM+TSW1400EVM。

他们阅读该手册并使用 python 生成代码。 但他们上帝一个警告信息。

您能告诉我警告的含义以及如何解决它吗?

当它们调用 Select_ADC_Device ()、Download_Firmware ()、Pass_ADC_ADC_ Output_Data_Rate ()等函数时,它们会看到相同的警告。

当忽略该警告时、不会发生任何情况。

 

-function_name

默认 connect_board():

   Board_Name = b'AFE5818-TSW1400' <-如果启用、结果相同

   Board_Name = b'AFE5818'

   超时= 30000

 

   dll.int32.restype Connect_Board = ctypes.c_int32

   dll.datase.argtypes Connect_Board =[ctypes.c_char_p、ctypes.c_int32]

 

   Res_int = dll.dlp (Connect_Board Board_Name、超时)

   如果 res_int >= 0:

       Print(f"Connect is {data.dec()} Board_Name : OK")

   否则:

       err = hsdcpro_automation_error_to_string (res_int)

       打印(f "Connect is:{err}")

 

-return打印

连接是: 警告:强制输入超出范围。

它们使用的是 HSDCPro v4.10。

此致、
OBA

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    能有什么帮助吗?


    此致、
    OBA

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    我看到  Board_Name 不正确。 应为 HSDC 采集卡板编号。

    当您打开 HSDC_PRO 时、它会检测到板名称。 这应该是您需要在这里提到的一个问题  

     

    单击是后、板名显示在底部 TSW1400板= Kxxxxxxx 中。

    请检查客户的此板号并使用它。