LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Max Baudrate setting with OpenComConfig.

Solved!
Go to solution

I'd like to connect to a motor controller (Newport Conex CC) using serial port, but it requires baudrate to be 921600, however, the maximum allowed baudrate in OpenComConfig() is only  256,000. Is there a way around it.

 

By the way, I have tried hyper terminal and everything works fine with baudrate 921600

0 Kudos
Message 1 of 6
(3,603 Views)
Solution
Accepted by topic author hitheng

I can tell that the function viSetAttribute of the VISA library does work up to baud rates of 921600, I haven't tried it with OpenComConfig.

 

But others have, as you can see here: you can use higher rates as long as the driver itself (provided by the manufacturer of your port hardware) supports non-standard baud rates; the limit mentioned by you is only a limited selection of predefined values of the function panel.

0 Kudos
Message 2 of 6
(3,602 Views)

@ Wolfgang, thanks a lot!

 

I tried to manually input 921600 in OpenComConfig, and it works.

0 Kudos
Message 3 of 6
(3,594 Views)

Were you successful in creating a driver for the controller? I'm interested in purchasing a newport controller and I want to use it in labview

0 Kudos
Message 4 of 6
(3,457 Views)

Yes, it has been working fine. I am using CVI by the way, LabView should work the same

0 Kudos
Message 5 of 6
(3,449 Views)

That's encouraging news. Thank you!

0 Kudos
Message 6 of 6
(3,444 Views)