none
WHCK Create package : targets with same hardware id but different device instance ids. RRS feed

  • Pergunta

  • HI Experts:

    I meet one issue: i create package with same name but different instance ids, but when i open this hckx file, there is only one target.

    reproduce:

    1. create one project.

    2.select 2 targets from one machine with the same name(target with same hardware id and diffrent device instance id).

    3.create package.

    4.open the saved package, there will be one target showed(default the high device instance id).

    research :

    I use the WHCK api to save my project package but there is still one target. but i do not know what packagewrite.save() do, please give me guidance.

    thank you all.

    terça-feira, 28 de maio de 2013 02:57

Respostas

  • 多个相同设备可以连接到系统上一起工作,所以系统会为它创建不同的instance id。但是HCK是按照HW ID来测试的。


    http://whqlcn.wordpress.com

    terça-feira, 4 de junho de 2013 07:58
    Moderador

Todas as Respostas

  • Hck uses hw id to identify the device under test. Why do you use more than one instand ID for your device?


    http://whqlcn.wordpress.com

    quarta-feira, 29 de maio de 2013 03:16
    Moderador
  • 不好意思,回复晚了,

    您说hck是用hw id 来区分不同的device,是对的,但是一个device可以有很多device instance id。通过实验我知道target的key值在target类型是device manager的时候是跟device instance id一一对应的,而hck是识别target来测试的,也就是target under test。还有您说的device under test,应该是device instance under test比较合适?为什么一个device会有很多device instance id:hck studio 中有这种target(相同的hw id,不同的device instance id),我们可以选择了之后进行测试。我想问的是,会不会是hck的api在createpackage或者hckmanager类在读hckx文件的时候用hw id 作为主键了,而不是device instance id作为主键?需要您的support。

    谢谢

    sexta-feira, 31 de maio de 2013 02:26
  • 多个相同设备可以连接到系统上一起工作,所以系统会为它创建不同的instance id。但是HCK是按照HW ID来测试的。


    http://whqlcn.wordpress.com

    terça-feira, 4 de junho de 2013 07:58
    Moderador