≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Javascript interface with RS-232 Serial Port
Posted by:
(you are not logged in)
Enter the missing letter in: "Internatio?al"
(you are not logged in)
Text:
[quote][b][/b] wrote: Nice Idea too Damians ! :) I try using your first idea (semaphore/flags). The middle .exe receive data from arduino CC write a file containing data to transmit (f1.txt) and when it has finished it write a file called 'ok'.txt on the disk. When the middle .exe sees the "ok.txt" file it reads f1.txt and delete ok.txt after. It seems to work. In the inverse transmission (Arduino to CC) the middle .exe receives data from arduino using RS232, writes it immediately into f2.txt if it has changed. CC read f2.txt every 20 ms and strangely I never had any read error from CC but the problem is not solved. How CC could be aware, without using a "fileexist" function (CC doesn't allow this), of the existence of a file on the disk ? (I would like to use the same flag/semaphore system like "CC reads a file if it sees ok.txt on the disk).[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact