
|
INFO - FAQ - CC2-Forum - CCPro-Forum |
|
||
|
Hello, after the first command the CF-Module needs 3 seconds to learn how the commands will be closed (with CR,LF or just LF). That's why you use long pauses (3 sec.). Then the CF-Module sends an answer (Ok or ERROR). At the same time the C-Control sends the next command. I don't believe the CF-Module is able to send and receive data at the same time. The pause after the first command should perhaps be longer than 3 seconds. Greetings Mario > Thanks Mario > > that is correct > thats why the long pauses after each command > but every idea is welcom > > Greetings > Hans > > > > Hello Hans, > > > > The CF-Module sends an answer to each command (OK or ERROR). I'm not sure, but possibly the C-Control sends a new command while the CF-Module is sending an answer, and so the CF-Module is not ready to receive a new command. > > > > > Bedankt Mario > > > > > > Ik heb je voorstel uitgeprobeerd maar het werkt jammer genoeg niet > > > I have tried out your proposal but it works unfortunately not > > > I have now simplified it > > > > > > AND > > > Now the data is coming direct from the C-control M-Unit 2.0 PIN 52 instead of the IC RS232 > > > and that works > > > > > > Now there is made a TEXT file test A.txt > > > > > > But unfortunately there is no data written > > > > > > We are nearly there, wat can be possibly wrong > > > > > > print "at+create testA.txt" 'Maakt een file testA.txt. > > > pause 150 '3 sec. > > > > > > #start > > > Print "at+datastream " ' To Send Data > > > PAUSE 150 > > > PRINT "DIT IS EEN TEST" > > > PRINT "Alles wat hier staat moet zichtbaar zijn" > > > PAUSE 25 'pause 0,5 sec > > > PRINT "+" 'Stop recording > > > PAUSE 25 > > > PRINT "+" 'Stop recording > > > PAUSE 25 > > > PRINT "+" 'Stop recording > > > pause 25 > > > > > > END > > > > > > |
| Antwort schreiben |