09-09-2021 12:03 PM
I have designed this program to read data and plot them from "TIC Instrument Controller 3 Head, using RS 232". However, I get the error that reads not wired or bad terminal. How do I fix it?
09-09-2021 12:45 PM
You need to wire in the number of bytes to read. Normally on RS-232 communications the data is terminated with a line feed character. The VISA read will automatically stop reading when it sees the termination character. So, the number of bytes to read just has to be greater than the largest response you could get.
If you are reading binary data, you will need to know what protocol is being used and that will dictate what you provide for the number of bytes to read.
09-09-2021 12:47 PM - edited 09-09-2021 01:29 PM
You forgot to wire the "bytes to read" input on the VISA Read
You should watch this video: VIWeek 2020/Proper way to communicate over serial
09-10-2021 02:16 AM
Hi PCAD,
@PCAD wrote:
However, I get the error that reads not wired or bad terminal. How do I fix it?
Open the context help: it will show you which connections of a subVI/function are required and which connections are optional…
This is very basic LabVIEW stuff, so: did you take those Training resources offered at the top of the LabVIEW board?