LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MAX & 230400 Baud Rate Setting

 

When I configure a com port in MAX to operate at 230400 baud rate, I get this error message. On the same computer, using Tera Term I can configure the same port with exactly the same information and Tera Term works fine. Please I want to find out if this is bug with MAX or I am missing something. Thanks.

 

 

max com error.JPG

 

 

0 Kudos
Message 1 of 13
(4,122 Views)

Can you configure the serial port in LabVIEW using the VISA Configure Serial Port VI with those serial settings?




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 2 of 13
(4,091 Views)

Thanks for your response. Yes I can and I did but I get the same error message so I concluded that I have to get it working in MAX first.

0 Kudos
Message 3 of 13
(4,065 Views)

Hi there,

 

Have you tried with a lower baud rate to see if it works? Just to test the device.

 

If you open the Visa test panel>> Input/Output>> set the bytes to read to 16 and click Query (you are going to write *IDN?\n to your device and you are going to recive some information about it). When you do that are you able to have some information or it gives you an error?

 

Regards

0 Kudos
Message 4 of 13
(4,047 Views)

Are you sure that'as the right COM port?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 13
(4,039 Views)
Have you tried with a lower baud rate to see if it works? Just to test the device.

Yes lower baud rate works fine.

 

If you open the Visa test panel>> Input/Output>> set the bytes to read to 16 and click Query (you are going to write *IDN?\n to your device and you are going to recive some information about it). When you do that are you able to have some information or it gives you an error?

I will try your recommended test and report back later today. Thanks.

 

0 Kudos
Message 6 of 13
(3,992 Views)

 

Yes, I am using the right COM port. Same port with the same configuration works fine with Tera Term. Thanks.

0 Kudos
Message 7 of 13
(3,990 Views)

@aderogba wrote:
Have you tried with a lower baud rate to see if it works? Just to test the device.

Yes lower baud rate works fine.

 

A lower baud rate works in MAX or when you use TeraTerm (or both)?

 

If you open the Visa test panel>> Input/Output>> set the bytes to read to 16 and click Query (you are going to write *IDN?\n to your device and you are going to recive some information about it). When you do that are you able to have some information or it gives you an error?

I will try your recommended test and report back later today. Thanks.

 

Be aware that the advice given above assumes an IEEE 488.2 command compatible device and will return unexpected results if the device is not compatible.  What is the serial port connected to?  Also, is this a "real" COM port or a USB-to-serial adapter?


 

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 13
(3,971 Views)

@aderogba wrote:

 

Yes, I am using the right COM port. Same port with the same configuration works fine with Tera Term. Thanks.


Sorry, the reason I asked this is because MAX is really only reporting what the serial port is telling it.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 13
(3,962 Views)

A lower baud rate works in LabVIEW or when you use TeraTerm (or both)?

  • Lower baud rate ( less than 128000 & 230400 ) works fine in MAX and Tera Term.

 

Also, is this a "real" COM port or a USB-to-serial adapter?

  • USB-to-serial adapter

 

 

0 Kudos
Message 10 of 13
(3,960 Views)