04-14-2023 04:36 AM
I am trying to acquire data of a Pirani Gauge of Model "VT-D3PP-01" now it has a serial port through Serial to USB cable is connected. I downloaded the drivers for the serial to USB communication. After that I made a small snippet in which I get garbage value in "read buffer" string variable and the error code "-1073807253" occurs after VISA Read vi. An image is provided for the same.
04-14-2023 04:56 AM
Hi Mudit,
several problems with your code:
04-14-2023 01:44 PM
Most serial communication issues can be solved by watching this video: VIWeek 2020/Proper way to communicate over serial
04-14-2023 02:16 PM - edited 04-14-2023 02:26 PM
A framing error is an error at the UART level, meaning the byte frame was not as expected. Almost always, this is due to a configuration issue with the major perpetrator being the baud rate. As GerdW stated, it could potentially be due to starting your session right in the middle of a byte being sent to your port. I have only had this issue with one particular device.
To give any better advice, could you give us more information on the device you are trying to talk with? At least a model number would help. A user manual would be even better.
EDIT: Ok, you did supply a model number. But a quick search is giving me nothing. Do you have a link so we can do some digging?