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

조회 수: 1(최근 30일)
BJ
BJ 2015년 6월 5일
댓글: BJ 2015년 6월 9일
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개)

Drew Davis
Drew Davis 2015년 6월 9일
It looks like the limitation is the same for both APIs though I haven't tested it out myself
  댓글 수: 1
BJ
BJ 2015년 6월 9일
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

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by