getPILTimeout - Get the timeout value that PIL uses for reading data - MATLAB (original) (raw)

Get the timeout value that PIL uses for reading data

collapse all in page

**Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

Syntax

[timeVal = getPILTimeout(hwObj)](#d126e5774)

Description

[timeVal](#mw%5Ff30816bc-2ac1-476e-a901-1a438004f7d8) = getPILTimeout([hwObj](#mw%5F4e3fdfb1-9ac6-422c-bdec-ec2b4e6695ce%5Fsep%5Fmw%5Fbcc65819-faa5-4997-9bca-35a8da7d894a)) displays the timeout value in seconds used by the processor-in-the-loop (PIL) execution for reading data from the NVIDIA® target.

example

Examples

collapse all

You can check the timeout value used by PIL for reading data on an NVIDIA Jetson™ hardware from the MATLAB® environment using the getPILTimeout method of the jetson hardware connection object.

To create a live hardware connection object, provide the host name or IP address, user name, and password of the target board.

hwObj = jetson('jetson-board-name','ubuntu','ubuntu'); getPILTimeout(hwObj);

ans =

   30

Input Arguments

collapse all

Connection to a specific NVIDIA hardware board, specified as a jetson or drive object.

Output Arguments

collapse all

Timeout value used by PIL for reading data from the target hardware, returned as a positive integer. The value is in seconds.

Example: 30

Version History

Introduced in R2019a

See Also

Functions

Objects

Topics