06-29-2021 01:59 AM
Hello all,
Basically I have a problem to connect my old digital scale to the computer. This scale have a RS232C serial port that only have a transmission pin and a ground pin (the specification of the pore is attached), so it should transmit data continuously (according to the vendor) without any commanded. I tried to connect the scale and the NI MAX is recognized the scale but when I go to the VISA test panel I have a error message in the view attributes page, and when I push the read bottom in the input\output I have another error that you can see in the attached pictures. I will be grateful if someone could help me to fix this problem, and if it is even posable to connect the instrument that only transmits data with VISA or LabVIEW?
thank you
06-29-2021 02:55 AM
06-29-2021 03:47 AM - edited 06-29-2021 03:57 AM
I tried just to push the read button but as I showed above it showed me an error. any way to fix it?
06-29-2021 04:05 AM
06-30-2021 04:02 AM
Hey,
I think my problem could be due to the termination characters. In the manual it is written that two terminal characters CR and LF is needed:
But in the VISA program you can chose only one of them, or custom.
Do you know how I can specify these two terminal characters in custom mode?
thank you very much for your help
06-30-2021 07:04 AM
@ilya.s wrote:
But in the VISA program you can chose only one of them, or custom.
Do you know how I can specify these two terminal characters in custom mode?
thank you very much for your help
You just need to manually make sure both termination characters are sent when you write. I actually use a subVI for writing commands that appends the characters to the command before writing.
For reading, just make sure the Line Feed is the termination character.
07-19-2021 01:22 AM
你好,我想问一下你的读写超时问题解决了吗,我最近也遇到了同样的问题,想听听你的意见,谢谢