CR1000 CS I/O ComME SerialOpen Format Code_Campbellsci论坛问答

Hello

I've tried to communicate from my CR1000 (os v17) to a microcontroller using the CS I/O port. To do so I tried to open the serial port using this command:
SerialOpen (ComME,2400,16,100,255)
Unfortunately this gives a compiler error: "Format option only available on COM1...COM4"

CR1000 CS I/O ComME SerialOpen Format Code_Campbellsci论坛问答

But the help file (CRBASIC1.HLP) supplied with the cr1000 firmware v17 states:
"The Format parameter is used to specify the type of error detection to be used for the exchange of data. These format options apply to all ComPorts except COM310/COM320, ComSDC7, and ComSDC8."

So "ComME" should work?!
Does anybody know why I get an error message?

新对话如下:

Hi Monte,

When in doubt, trust the compiler. (I write the CRBasic help ;)

I will double check with the developer and get back with you. TTL logic may apply only to the COM (e.g., C1/C2) ports.

Dana

新对话如下:

Hi Dana

Thanks for your answer.
Have you doublechecked with the developer?
If the TTL format options are not supported right now, will there be support in the near future?

Monte

新对话如下:

Hi Monte,

This from the developer:


* Com1..Com4 are capable of all the options.

* ComRS232 and ComME are capable of all but TTL.

* Format options 0, 3, and 4 are the only options applicable using SDC comports.

I wouldn't expect there to be any changes to this.

Regards, Dana

新对话如下:

Thanks for clarifying this. (You might add these informations to the CRBasic help files?)

Regards
Monte

新对话如下:

I will correct the information in the help files for any future release.

Dana

分享到:

原文链接:,转发请注明来源!
海洋仪器网 仪器使用 CR1000 CS I/O ComME SerialOpen Format Code_Campbellsci论坛问答
「CR1000 CS I/O ComME SerialOpen Format Code_Campbellsci论坛问答」评论列表

发表评论