LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Non standard baud rates serial support?

1. I have a microcontroller board sedind data tp FT232R(usb uart IC) which then forms a COM port on PC to commnicate with labview serial visa.

2. I am able to communicate with standard baud rates with any problem like 9600 or 38400 bps.

3. I want to know can I can communicate wit non-standard baud rates like 500Kbps with labview also???

 

0 Kudos
Message 1 of 9
(4,440 Views)
LabVIEW has nothing to do with what baud rates you can set. What hardware do you have? Some of the converters from NI will support non-standard rates.
0 Kudos
Message 2 of 9
(4,428 Views)

Hi Vindhyachal,

 

LabVIEW isn't the problem here. The problem will be the hardware in your computer and it's associated hardware driver!

You need to check them, but not LabVIEW…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 9
(4,421 Views)

1. As I had told I have custom microcontroller board which set the baud rate.

2. I want to know if I send data from non standard baud rate from microcontroller baud to PC, will labview be able to receive them correcly.

 

because hyperterminal don't give any option to set non standard baud rate?

0 Kudos
Message 4 of 9
(4,420 Views)
You aren't paying attention. You need non-standard HARDWARE on the pc that supports different baud rates. Buy a different serial converter and LabVIEW will support it.
0 Kudos
Message 5 of 9
(4,418 Views)

LabVIEW supports this card which supports any integer baud rate from 2 to 1,000,000 baud

https://www.ni.com/en-us/shop/model/pcie-8430-2.html

0 Kudos
Message 6 of 9
(4,372 Views)

What is the device model number? Can you post a link to the manual?

 


Dennis, you missed something here-  I do not often even attempt to correct you.

 

VISA baud rates are variable by integer values.- not enums!

 

 the FTDI  chip sets baud rates are often are negotiable, the firmware on the other end.....:,) is often not.

 

You are absoloutly correct to request the manual!  

 

 

@the OP what is the device?  Have you read the manual?

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 7 of 9
(4,335 Views)
Where did I say that the VISA baud rate is an enum?
0 Kudos
Message 8 of 9
(4,321 Views)

@Dennis_Knutson wrote:
Where did I say that the VISA baud rate is an enum?

My Bad - I wasn't paying attention!  No wonder I seldom attempt to correct you!Smiley Very Happy

 

So lets talk about serial baud rates.  LabVIEW does not have anything to do with it other than implement calls to the VISA API- VISA not LabVIEW handles serial communications.

 

VISA does not limit serial baud rate to anything other than "a positive non zero integer "(Actually a 0 baud rate just garuntees a timeout error and is silly, negative baud rates are sillier still- think about it for a moment)

 

Most hardware today detects the clock rate of the incomming TX and adapts baud properly.

 

Some legacy devices exist that were designed prior to the advent of clock recovery.  These are mostly obsolete and should be considered for replacement.

 

Some modern hardware that could support clock recovery has firmware developed without support for the feature either for "optimization" (it may be run from an underpowered CPU) or because the developer has been copy-pasting that same #include for decades.  Those firmware engineers are also mostly obsolete and IMHO should be considered for replacement.

 

 

All that being said 500K baud is not inconcievable- but, you better watch out for noise in your cabling and inside the hardware too! including the COM port of the PC!

 

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 9
(4,290 Views)