是什么原因导致“必须设置“应用程序使用的设备"的必需功能"refId"" [英] What causes "The required feature ' refId' of 'Device Used By Application' must be set"

查看:116
本文介绍了是什么原因导致“必须设置“应用程序使用的设备"的必需功能"refId""的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在CentOS 7上使用REDHAWK 2.0.4

I'm using REDHAWK 2.0.4 on CentOS 7

我正在尝试在此处遵循本教程: https://www.youtube.com/watch?v=SttCsAIQtSA 在11:14,他们将设备依赖项添加到xml文件中:

I'm trying to follow the tutorial here: https://www.youtube.com/watch?v=SttCsAIQtSA At 11:14 they add a device dependency to the xml file:

<usesdevicedependencies>
  <usesdevice id="device_connection">
    <propertyref refid="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d"
                 value="chirp"/>
  </usesdevice>
<usesdevicedependencies>

还有这个

<connectinterface id="device_connection_1">
  <usesport>
    <usesidentifier>dataFloat_out</usesidentifier>
    <deviceusedbyapplication usesrefid="device_connection"/>
  </usesport>
  <providesport>
    <providesidentifier>dataFloat_In</providesidentifier>
    <componentinstationref refid="TuneFilterDecimate_1"/>
  </providesport>
</connectinterface>

当我做同样的事情时,标题中出现错误:

When I do the same thing, I'm given the error from the title:

The required feature ' refId' of 'Device Used By Application' must be set

我以为"DeviceUsedByApplication"使用的是"usesrefid",也许这个错误是由其他原因引起的?

I thought "DeviceUsedByApplication" used "usesrefid", maybe this error is caused by something else?

推荐答案

我从开发人员处收到消息,他们说该问题已在2.0.4中得到确认.

I got message from the developer and they said that the issue has been confirmed in 2.0.4.

Just to confirm, the issue that you experienced in 2.0.4 has actually been
there a while, but it seems like it's now getting checked. Adding the refid to 
the devicesusedbyapplication will get rid of the message, but as you 
experienced, it has no bearing on whether or not it breaks anything. With any 
luck it'll be fixed soon. Until then though, it can be ignored or mitigated as you did.

这篇关于是什么原因导致“必须设置“应用程序使用的设备"的必需功能"refId""的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆