GpCnvCvSettings

image\BLTLRGSQ.gifBoards that Support the Function image\SETUP.gif image\SANBTN.gif

 

 

image\head10.gif Operation             Setup translate direction in GpCnvCv*** functions.

 

image\head10.gif Format                 

(VB.NET)

Dim Ret As Integer

Dim Settings As Integer

Ret = GpCnvCvSettings(Settings)

 

(C)

DWORD Ret;

DWORD Settings;

Ret = GpCnvCvSettings(Settings);

 

(C#)

uint Ret;

uint Settings;

Ret = gpib.CnvCvSettings(Settings);

 

(Python)

Ret = ctypes.c_ulong()

Settings = ctypes.c_ulong()

Ret.value = GpibPy.GpCnvCvSettings (Settings)

 

image\head10.gif Mode                   Master mode / Slave mode

 

image\head10.gif Parameters          Settings     :  Direction (default 0)

0 :  - When the first byte of the data blocks is an upper(GpCnvCvi, GpCnvCviArray).

- When there is a sign bit in the first byte of each data block.(GpCnvCvs, GpCnvCvsArray, GpCnvCvd, GpCnvCvdArray).

                

1 :  - When the second byte of the data blocks is an upper(GpCnvCvi, GpCnvCviArray).

- When there is a sign bit in the last byte of each data block.(GpCnvCvs, GpCnvCvsArray, GpCnvCvd, GpCnvCvdArray).

                 

Ret          :    Return value

0     :  Normal completion

255  :  Illegal call

(See "Return Values" for details.)

 

image\head10.gif Notes                   1 This function can be used even if it isn't called a GpIni.