GpComand

image\BLTLRGSQ.gif使用可能ボード image\SETUP.gif image\SANBTN.gif

 

 

■機能       ATNをTrueにしコマンドを送出します。

 

■書式       

(VB.NET用)

Dim Ret As Integer

Dim Cmd(xxxx) As Integer   ' (xxxxはコマンド配列数のMax値を指定)

Ret = GpComand(Cmd)

 

(C言語用)

DWORD Ret;

DWORD *Cmd;

Ret = GpComand(Cmd);

 

(C#用)

uint Ret;

uint[] Cmd = new uint[xxxx];   /* (xxxxはコマンド配列数のMax値を指定) */

Ret = gpib.Comand(Cmd);

 

(Python用)

Ret = ctypes.c_ulong()

Cmd = (ctypes.c_ulong * xxxx)()   #(xxxxはコマンド配列数のMax値を指定)

Ret.value = GpibPy.GpComand(Cmd)

 

■モード     マスタモードのみ

 

■引数

Cmd      :   コマンド配列

[0] コマンド数

[1] コマンドデータ

 

Ret      :   終了情報(戻り値)

0       :   正常終了

80     :   初期化未実行

140   :  非同期関数の実行中

240   :   ESCキーが押された

252   :   GPIBエラー

254   :   タイムアウト

255   :   不正呼び出し

(詳細は「戻り値一覧」参照)