LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RS 232

I am controlling keysight power supply by Rs 232,i am getting an error time our experied
0 Kudos
Message 1 of 6
(3,149 Views)

Hi rajkumar,

 

and what exactly is your problem?

What question do you have?

 

In general:

- attaching VIs or snippets would help us to understand your code

- asking questions is a simple way of letting others know what you're looking for

- your program should have some error handling code, so a "time out" error isn't a problem at all!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,137 Views)

Way too many possibilities here:

1. Serial port settings are wrong

2. You are sending an incorrect command

3. You do not have the termination character set up properly

4. The instrument is not connected

5. You are trying to use the wrong port

 

Please give us a lot better details so that we can help you.  What Keysight device?  Are you using any LabVIEW drivers?  Please share code.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(3,115 Views)
You should also check for existing drivers.

Keysight (formerly Agilent (formerly HP)) appears to have simply relabeled existing products so the same commands should work whether you use the serial or GPIB interface.

The manual should tell you how to use the interface, format commands and even build a proper serial cable.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,073 Views)
Thank you so much your reply was very useful to me
0 Kudos
Message 5 of 6
(2,998 Views)

Thanks are given with kudos, and by marking solutions to the thread, so that others who have similar issues can see what solved your issue. Read this for more on kudos and solutions.

0 Kudos
Message 6 of 6
(2,982 Views)