Slide 25
Slide 25 text
GPIBDevice::GPIBDevice(int newAddress, int newSecondary,
double newTimeOut, bool txEoi,
bool sendCr, bool sendLf,
bool expectCr, bool expectLf,
int bufSize, short newId)
: address(newAddress), secondary(newSecondary),
sendEoi(txEoi),
sendReturn(sendCr), sendLinefeed(sendLf),
expectReturn(expectCr), expectLinefeed(expectLf),
bufferSize(bufSize), id(newId), pBuffer(NULL),
receiveLength(0)
{
// bunch of options code...
}