What is the maximum number of signals per scope in the .NET xpc api

I have an application which uses the xpcapi.dll to communicate with a xPC Target machine. Now I want to convert this application to use the .NET xpc api. In the old application the number of signals that could be defined in a scope was limited to 10. In the .NET api, is there still a limit on the number of signals?

回答(1 个)

It looks like the limitation is the same for both APIs though I haven't tested it out myself

1 个评论

I asked this because the documentation of the c api describes a 'scopedata' struct, containing an array with length 10 of signals.
In the .NET api a scope contains a collection of signals (xPCTargetPC.Application.Scopes.HostScopes[i].Signals) so the number is theoretically unlimited. But of course I do not know the implementation behind it.
I tried to add more than 10 signals to a scope and did not get any errors, but I just want to make sure this is ok

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 External Language Interfaces 的更多信息

标签

提问:

BJ
2015-6-5

评论:

BJ
2015-6-9

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by