For the 2182A, in Chapter 11 of the User Manual, the error codes are defined.
Error -101 = invalid character
Error -102 = Syntax error
Error -410 = Query Interrupted
The first two indicate you are sending invalid commands to the instrument.
The -410 just means you sent a query type command (one that ends in question mark), but did not fully read the response before sending a new command. Even use of *IDN? query command can cause the -410 if you do not read the identify yourself response before sending new command.
To know which command is wrong/causing error -10x, LabVIEW has some single step debug features.
Or, install the NI IO Trace tool and invoke that. It captures the bus traffic between your LV and and the 2182A.
You can see which command causes the error condition to be raised.