You might want to check that both ports involved in the communication are configured the same. Also, sometimes this error is caused by conflicting versions of the LabVIEW serpdrv file. Make sure that there is only one version of this file on your computer and that it is the one for your version of LabVIEW.