01-17-2013 06:41 AM
Hi all,
I am trying to stablish a RS232 communication with a Tenma Multimeter. From its Operating Manual the settings are:
Baud Rate 2400
Stop bit 1
Data bits 7
Parity Odd
After searching on NI Forums I have been able to come up with this VI that always give me the same error when I try to read, -1073807254: A parity error occurred during transfer.
Any insight to this problem?
01-17-2013 08:50 AM
I always first use Hyperterminal or something like it to establish communication with the instrument.
Once that works, then I automate with LabVIEW.
01-18-2013 06:46 AM
Hi Opljde
After looking at your code I noticed there was a coercion dot on the "Serial settings: Parity" input. However when I deleted the control attached to this and then right clicked the terminal on the property node to create a control it made another enum control of representation U16 (same as your enum). This did however make the coercion dot disappear. This would be the first thing I would try as your error is a one that would imply its from the parity bit.
Many Thanks
Daniel Harryman
Application Engineer
National Instruments
01-18-2013 07:06 AM
@DanHarryman wrote:
Hi Opljde
After looking at your code I noticed there was a coercion dot on the "Serial settings: Parity" input. However when I deleted the control attached to this and then right clicked the terminal on the property node to create a control it made another enum control of representation U16 (same as your enum). This did however make the coercion dot disappear. This would be the first thing I would try as your error is a one that would imply its from the parity bit.
Many Thanks
Daniel Harryman
Application EngineerNational Instruments
That coercion is because the property node actually wants a ring, not an enum. But all of the settings are the same, so I wouldn't expect that to be the issue.
It is rare to get an instrument that uses parity. Try changing the parity setting to see if you can get it to work.
03-20-2013 08:43 AM
We have found analyzing the original cable a different configuration than classical RS232 cable, please verify wiring connection of the original cable adapter. We saw it function with hyperterminal.