Realbasic 7.4 serial




















Sage Infragistics NetAdvantage for Windows Forms Vol 2. Norton internet security ACDSee Pro 2. Registry Repair Wizard Kaspersky Internet Security 7. Ashampoo Burning Studio Full Serial. Landwirtschafts Simulator Gold Edition. Roxio Creator Ultimate. Driver Genius Professional 9. AAA Logo Norton AntiVirus KLS Backup Kaspersky Internet Security kis 8. Acronis True Image Home 12 Build Eset Nod32 Antivirus 3.

I am writing a realbasic console application which polls several serial ports for data and saves the results to a database. My initial idea was to open the port, read the data and then close it again, The problem is, that opening a serial port can take up to 4 seconds and I may need to read from up to 8 ports, so opening and closing the port is not practical for each cycle.

So is it possible to detect whether a port is open and alive so that I can leave the port open and only close and re-open it when I detect that the connected device has gone away. The serial port is a bluetooth serial port, it is talking to a bluetooth radio which in turn talks to a microcontroller.

I have start and end characters which I listen for and all of this works fine, until the bluetooth device goes out of range and effectively disconnects leaving the serial port still open. I can of course close the port and try and open it again, but instead I would like to detect whether the device is still connected to the bluetooth serial port. Also, calling serial. As it takes up to 4 seconds to open a serial port, the best solution would be to use a direct HID connection to the bluetooth radio instead of a SPP serial connection, however it appears that nobody has ever connected realbasic to a bluetooth HID device before and so there's no info or help on it.

The Serial class has a "LineStateChanged" event. Have you checked if that gets invoked once the BT conn is lost or reconnected? I don't have any examples for this, though.

And I'm not even sure that this is the right way to do it. It probably comes down to learning what a C program would do, and translate that to RB. About the bad performance: That's usually due to RB's limited control over its event management: It doesn't see that it needs to poll the serial port more often, and thus only checks on it rarely as long as it has no other reasons to ask for more idle time from the OS.

The trick is to run a Timer with a high frequency e. Your request is kind of odd because typically what you do is connect to the serial port and then wait to receive any data sent to that port.

Let me put it another way. The serial port does not store any data waiting to disgorge for you when you connect. You're either listening or your not. Driver Genius pro 9. DM Driver Genius Pro Multilingual Xp Repair Pro Version 4. XP Repair Pro Version v3. Put here a software name you are looking serial numbers for, i. Carambis Driver Updater 1. Driver genius Install version Driver scanner version 4.

Quick time 7 Pro MacosX Driver Genius PRO Driver Genius Pro 8. Driver Genius Pro Driver Genius Pro v9. Driver Genius Pro 7. Driver Genius Pro Edition v9.



0コメント

  • 1000 / 1000