Skip to main content

GPIBWriteStr

Valid for: CANoe DE

Function Syntax

long GPIBWriteStr 
(long deviceDescriptor, char cmdStr[]);

Description

Writes cmdStr to the device. The function returns immediately and does not wait for the end of the command transmission.

Parameters

  • deviceDescriptor: Device ID
  • cmdStr: GPIB command

Return Values

  • Status
  • -1: on error, if no GPIB driver is available

Example

Setting of a voltage of 1.23 V: GPIBWriteStr(myDev, "V 1.23")