GtDio6xFileSetTimingBoardCount

Applies To

GX5961, File

Purpose

Sets the number of GX5961 Boards in the file.

Syntax

GtDio6xFileSetTimingBoardCount (hFile, nTimingBoardCount, pnStatus)

Parameters

Name
Type
Comments
hFile
SHORT
Session identifier:

     File handle is used when communicating with a file. The File handle session identifier is  returned by calling GtDio6xFileOpen.

nTimingBoardCount
SHORT
Sets the number of GX5961 Boards in the file.
pnStatus
PSHORT
Returned status: 0 on success, negative value on failure.

Comments

This function sets the number of GX5961 Boards in the file.

Note: that calling this function destroys Vector data currently stored in the file object in memory.

Example

The following example opens an existing file, gets the channel count. The file is then closed.

 

SHORT nStatus, nChannelCount;

 

GtDio6xFileOpen(“C:\\MyFile.dio6x”, GTDIO6X_FILE_READ_WRITE, &hFile, &nStatus);

GtDio6xFileSetTimingBoardCount(hFile, &nTimingBoardCount, &nStatus);

GtDio6xFileClose(hFile, &nStatus);

 

See Also

GtDio6xFileOpen, GtDio6xFileClose, GtDio6xFileSetChannelCount, GtDio6xFileGetTimingBoardCount, GtDio6xFileLoad, GtDio6xFileSave, GtDio6xGetErrorString