23.11.2014 Views

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

CompuScope SDK Manua.. - Egmont Instruments

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

gage_gpib_command<br />

Syntax<br />

C:<br />

int32 GAGEAPI gage_gpib_command (char* strCommand, int nByteSize, char* rvBuffer, int<br />

nBufferSize);<br />

Remarks<br />

gage_gpib_command allows the application program to access functionality built into the on-board<br />

digitization module, that is not available through the standard Gage API, FOR THE COMPUSCOPE 85G<br />

OR 85GC ONLY. For instance, gage_gpib_command is used to implement TV triggering on the CS85GC.<br />

strCommand is a string, initialized by the user, that contains the command to be sent to the CS85G or<br />

85GC digitization module.<br />

nByteSize is the length, initialized by the user, of the string that contains the command to be sent (the<br />

strCommand argument above).<br />

rvBuffer is a string that may be returned by the CS85G or 85GC digitization module, upon execution of<br />

the latest command. This string is often empty.<br />

nBufferSize is the length of the string that may be returned by the CS85G or 85GC digitization module<br />

(the rvBuffer argument above).<br />

Return Value<br />

The return value is a signed 32 bit integer. A return value of 0 indicates that the gage_gpib_command<br />

routine has been implemented properly. Any other value signifies an error while implementing the routine.<br />

Examples<br />

C:<br />

gage_gpib_command (strCmd, strlen(strCmd), strQueryInf, sizeof(strQueryInf));<br />

<strong>CompuScope</strong> API Reference <strong>Manua</strong>l 70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!