Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

hyperterminar and labview not working

serial port is not working. I tried the examples and hyperterminal loop back tests. Anyone can solve this problem please write to me.
thanks,
tes
0 Kudos
Message 1 of 7
(4,523 Views)

Hi Tes,

Does the serial port show up in Device Manager or in MAX?  Is the serial port a built-in port or a PCI serial card?  Do you have NI Serial installed?  As for the loopback test, have you tried a different cable?  I think more information would be helpful to troubleshoot.  When you say that the examples aren't working, are you receiving errors, or just no data?

Thanks!

Adam W
Applications Engineering
National Instruments

 
0 Kudos
Message 2 of 7
(4,516 Views)

Hi Adam, thanks for the reply.

I used to use it and it was working fine. To tell you what happened, I tried to send a command to SPEX monochromator and after that when i try to work with the SR830 LIA (which used to work, still works with other PC), it started prompting error "timeout expired before operation completed(BFF0015)"

For your questions :

-It shows up in MAX and Device manager

-It is built in( DELL Pentium4 desktop)

-the cable I am using is working.

Please reply me as soon as  you can

regards

tes

0 Kudos
Message 3 of 7
(4,500 Views)

Hi tes,

Make sure you are using the correct commands for the SR830.  Sometimes a timeout indicates that a termination character such as a carriage return(CR) or line feed(LF) is required.  Perhaps when you switched back from the other instrument you are still using the commands for the SPEX.

Also check to make sure that your port settings in MAX match the ones in device manager.

Hope this helps!

Adam W
Applications Engineering
National Instruments

0 Kudos
Message 4 of 7
(4,497 Views)
I am sure that the commands are right and even if it were wrong the lock in tells.
And i can't even use I/O assistant (tried all the possible term. chars). I am not sure if the port even sends the signal.
I tried hyperterminal and i can see what i write(only once, which must be two) only in echo mode and even it's not looped back.
can you see what is hapenning?
regards,
tes

Message Edited by Tesoptics on 01-26-2007 01:10 PM

0 Kudos
Message 5 of 7
(4,477 Views)

If you perform a loopback test with a VISA test panel in MAX, what happens?  What version of VISA are you using?  If its not the latest, try upgrading.  I am not sure what is going on with your port but if you can't get a loopback test to work in either MAX or hyperterminal, perhaps the port was damaged somehow.  If you can get a loopback to work, try another instrument and see if you can get the port working with something.

Regards,

Adam W
Applications Engineering
National Instruments

 
0 Kudos
Message 6 of 7
(4,466 Views)

I am using VISA 3.1/3.0. it seems the hardware is the problem. But I tried serial troubleshoter example in the labview example, and the handshaking  works fine but send and recieve. Now i am thinking of serial to usb converter utill i get the gpib.

thanks for all the help.

regards,

tes

0 Kudos
Message 7 of 7
(4,437 Views)