targetping - Test communication between host and target computers

Syntax

MATLAB® command line

targetping(target_object)
target_object.targetping

Arguments

target_object

Name of a target object.

Description

Method of a target object. Use this method to ping a target PC from the host PC. It returns either success or failed. If the xPC Target™ kernel is loaded, running, and communication is working properly, this function returns the value success.

This function works with both RS-232 and TCP/IP communication.

Examples

Ping the communication between the host and the target object tg.

targetping(tg) or tg.targetping

See Also

The xPC Target target object methods delete and xpctarget.xpc.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS