Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I test my RS 232 port with Hyper terminal ?

Solved!
Go to solution

Hello,

 

I have a big problem with the driver XANXDC for Xantrex xdc 30-200 alim since few days, I can't connect my alimentation with my program, I choose a VI gave with the driver (getStarted), but there is an error, I would test the RS 232 connection to be sure that all it's ok, with an hyper terminal, but I don't know how to perform, I have never do this before...

 

Someone could help me please?

0 Kudos
Message 1 of 7
(9,343 Views)

You can get quite a ways by using windows help and once you launch Hyperterminal, it's help.

 

Start>Programs>Accessories>Communications will start Hyperterminal. After clicking through the modem/phone line questions, you are prompted for a name. Enter whatever you want. You will then be prompted for the com settings. Make absolutely sure that what you enter matches the instrument settings. The instrument settings will be documented in it's manual.

 

You connected and you can start typing commands. Try a command that you know the instrument should return something. AS I HAVE ALREADY MENTIONED, if you get nothing, then you need to check the com settings and cable. Verifying that the instrument has it's com port enabled is also a good idea. I also recomended that you use an ohmeter to check the cable. Have you even done that simple task? The manual should explain what type of serial cable to use. If it does not, then contact the vendor to get this vital piece of information. Nothing will work if you are using the incorrect cable type.

0 Kudos
Message 2 of 7
(9,336 Views)
Yes thank you I have check the cable, I use a little VI to test my port with a loop on my connector. All it's okay, now I try to use a VI of the driver to control my xantrex, I have no errors but when I put the button remote on my xantrex the VI stop, I try to work with that and I will test if my vi (gave by my driver) send a good command to my xantrex.
0 Kudos
Message 3 of 7
(9,333 Views)
A loop back test is worthless! It tells you absolutely nothing about the type of cable that is required for connecting to your instrument. You need to check to see whether the instrument requires a null modem or straight through cable. If the instrument requires a straight through cable and you have a null modem cable, you will never be able to communicate. the same is true if you are using a straight through cable and the instrument requires a null modem connection.
0 Kudos
Message 4 of 7
(9,331 Views)

Yes I have understand...

The xantrex need a null modem cable.

0 Kudos
Message 5 of 7
(9,327 Views)

I have test my cable to see if it was a null modem or a straigh through cable, I follow this schema:

 

http://digital.ni.com/public.nsf/allkb/1EE0DD8AF67922FA86256F720071DECF

 

I took the next connector like if it was the femal connector and the other on the right the male connector.

 

If I follow my cable, with the schema before, my cable it's not a null modem and not a straigh through 😐

 

For the pin I have:

 

fem    mal

1---->5

2---->4

3---->3

4---->2

5---->1

...

 

?

0 Kudos
Message 6 of 7
(9,320 Views)
Solution
Accepted by leo2b
Assuming that your pin numbers are correct, you will have to replace the cable.
Message 7 of 7
(9,316 Views)