04-20-2010 10:41 AM
I'm using a PXI-8433/2, trying to use 2 wite auto mode. I have performed a 4wire loop-back on both ports and that is successful. However trying a 2 wire auto loop-back between the two ports does not work. I followed the example in the knowledge base and used the vi contained there. I also just used hyperterminal connecting the two ports and that didn't work. Looking at the signal levels during the 2 wire loop-back, they are half (~2V) of the unconnected voltage for both ports. I have also used another RS-485 to USB converter in a loop-back setup and I can transmit from the PXI to the USB adapter but I cannot receive on the PXI when the USB adapter outputs.
Could this be a hardware issue? I've updated the NI-Serial and everything else I can think of, so I should hope it's not a software issue.
Any help would be greatly appreciated!
04-21-2010 04:42 PM
Hi John_M,
What specific KnowledgeBase are you following for the 2-wire loopback test? Have you tried going through the process explained in this community example? The author of this community example found that his method was more successful than the method described in this KnowledgeBase.
04-22-2010 07:59 AM
Sara,
I did follow the first community example that you listed, including running the attached vi.
04-23-2010 02:00 AM
Hi John,
A 4-wire loop I can understand but a 2-wire loop not. You cannot do a loopback test with RS-485 with 2-wires.
Further do you have error number or message (do you use labview ?)
04-23-2010 08:12 AM
KC,
I cannot do a loopback with the two wire. I have not tried to do a two wire that is not in auto mode, I have only tried the auto mode. I do not get any error messages. I just don't get anything when I try and receive.
I'm using labview 2009.
04-23-2010 08:36 AM
OK, that's clear.
Do you know for sure that your device is receiving the Tx data from your computer ?
04-26-2010 11:02 AM
04-26-2010 12:23 PM - edited 04-26-2010 12:24 PM
How long is your cable.
Normally in a test situation I don't care for the terminator resistors, but for longer lines it might be a problem.
Depending on the value of the terminate resistors and if they are active or passive you should measure a resistance of 50 - 70 ohm. (with power off)
To much termination will kill your signal. With no termination at all it should work on short (<5 mtr I guess) lines.
I assume you set the auto 2-wire mode in MAX ?
04-26-2010 12:37 PM
04-26-2010 01:01 PM
Terminators of 120ohms at both ends is a normal value, so that should not kill your signal.
Can you measure the resistance to be sure that it is not too low ?
Probably no problem but are both ends at the same 0V level. RS485 connection are always (99.99%) made without a ground connection. This works when the difference between the 0V levels are within the common mode range of the transceivers.
The last thing I can come up with is a defective board, but I am sure that is something you already thought of.
I will think it over...............