Hi Gianmarco,
A framing error is mostly meaning there is something wrong with the serial settings.
Have you tried other settings?
A good thing to start with is MAX, if you succeed to communicate with the device from there you will get it in LV right.
Second pass the VISA-resource from one subvi into the next, I'm not sure if it is usefull but better safe than sorry.
You should rise your timeout, in MATLAB you use 10 seconds and here just 1.
Ton
PS don't quote a full post in a reply