RFmx for Bluetooth® Test Direct Test Mode

niBluetoothDTM_VISASetTimeout

  • Updated2023-02-21
  • 1 minute(s) read

int32 __stdcall niBluetoothDTM_VISASetTimeout (niBluetoothDTMSession *session, uInt32 timeout);

Purpose

Sets the timeout value, in milliseconds (ms), for the VISA session of the device under test (DUT), specified by the session parameter.

Parameters

Input
Name Type Description
session niBluetoothDTMSession Specifies the name of the communication port to which the DUT is connected.
timeout uInt32 Specifies the minimum timeout value, in milliseconds (ms), to use when accessing the device. The default value is 2,000.
Note The actual timeout that VISA returns may be higher than the specified timeout.

Return Value

Name Type Description
returnValue int32 Returns the status code of this operation. The status code either indicates success or describes an error or warning. Examine the status code from each call to an niBluetoothDTM function to determine if an error has occurred.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience