It will be nice if you could include your code so we can take a look at.
But these are some things that I could think of on top of my head:
1. Before read and write serial port, have you properly “VISA Configure Serial Port”? (baud rate, data bits…etc). One thing that could trick you here is the termination character, set as Line Feed as default. If your device does not take that, it could cause errors.
2. Both VISA read and write has the option to “do I/O synchronously/asynchronously” (the latter being default), which you will need to have the correct mode for VISA section to function.
I hope this helps,
FightonSCtrojan