Clear Filters
Clear Filters

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

2 views (last 30 days)
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?

Answers (1)

Drew Davis
Drew Davis on 9 Jun 2015
It looks like the limitation is the same for both APIs though I haven't tested it out myself
  1 Comment
BJ
BJ on 9 Jun 2015
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!