MATLAB XPC TARGET 4 - API GUIDE User's Guide Page 361

  • Download
  • Add to my manuals
  • Print
  • Page
    / 372
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 360
xpctarget.xpc
14-117
If you have multiple target PCs in your system, use the following syntax to
create the additional target objects.
target_object=xpctarget.xpc('mode', 'arg1', 'arg2')
Examples Before you build a target application, you can check the connection between
your host and target computers by creating a target object, then using the
targetping method to check the connection.
tg = xpctarget.xpc
xPC Object
Connected = Yes
Application = loader
tg.targetping
ans =
success
If you have a second target computer for which you want to check the
connection, create a second target object. In the following example, the
connection with the second target computer is an RS-232 connection.
tg1=xpctarget.xpc('RS232','COM1','115200')
xPC Object
Connected = Yes
Application = loader
See Also xPC Target methods get (target object), set (target object), delete,
and
targetping.
Page view 360
1 2 ... 356 357 358 359 360 361 362 363 364 365 366 ... 371 372

Comments to this Manuals

No comments