[Daqpp-forum] Error in InitVME.cc
Brought to you by:
lacasta
|
From: Matej <mat...@ij...> - 2007-03-02 07:55:34
|
Hi all!
I have noticed that InitVME.cc (copy of Andrej's) has error in the OPTOLINK
part. The call write16
void VXImanager::write16(unsigned long add, unsigned short val) {
int rc;
MTX_ACQ();
rc = vme_A24D32_write(fd, add, val );
check_rc(rc);
MTX_REL();
}
should instead of
rc = vme_A24D32_write(fd, add, val );
have
rc = vme_A24D16_write(fd, add, val );
Cheers,
Matej
|