ο»ΏI have been measuring the transmit time for the USB Slave by using β€GetTickCount’ or β€TimeGetTime’ in the Delphi program IE:-
StartT:= TimeGetTime; // or GetTickCount
lRetVal := ECIO_Transmit(bDataOut,TxLen,@nTxDataCnt,bDataIn,32,@nRxDataCnt,50);
EndT:= TimeGetTime; // or GetTickCount
Some.Text:= IntToStr(EndT - StartT); //ms - write to a text box
(To use β€TimeGetTime’ place MMSystem in the β€uses’ section at the top of the document).
Something similar sould apply to the β€VB’ program.
The addition of an acknowledge β€Send Macro’ in the Flowcode after it has recieved data reduces the transmit time to less
than 1ms. The β€Send Macro’ can be a byte or string with the same effect.
The time measured for a data transmit without acknowledge was 78ms - Time Out of 50ms + 28ms. Where did the 28ms go?
USB Slave Transmit Time
For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.
Jump to
- Announcements
- ↳ Announcements
- The Knowledge Exchange
- ↳ Programming Tips & Tricks
- ↳ Freelance Embedded Engineers
- ↳ Article Discussion
- Microcontroller Programming
- ↳ General Programming
- ↳ Flowcode V9
- ↳ Flowcode V8
- ↳ Feature Requests
- ↳ Bug Reports
- ↳ User Components
- ↳ Flowcode V7
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Fixed bugs
- ↳ 8-Bit PIC
- ↳ 16-Bit PIC
- ↳ 32-Bit PIC
- ↳ AVR & Arduino
- ↳ 32-Bit ARM
- ↳ Poll Discussion
- ↳ Flowcode V6
- ↳ Flowcode v6 Beta
- ↳ Bug reports
- ↳ Getting Started
- ↳ User Components
- ↳ Feature requests
- ↳ Bug reports
- ↳ Flowcode V5
- ↳ Flowcode V5 Issues
- ↳ Flowcode V5 Suggestions
- ↳ Flowcode V5 Free Edition
- ↳ Flowcode V4
- ↳ Flowcode 4 Bugs
- ↳ Flowcode 4 Suggestions
- ↳ Flowcode V2 & V3
- ↳ General / Misc
- ↳ Components (Comms)
- ↳ Components (Other)
- ↳ Bugs / Application Errors
- ↳ Suggestions
- ↳ BTEC Unit 6
- ↳ C and ASM Programming
- ↳ E-blocks
- ↳ Formula AllCode
- ↳ Formula Flowcode
- ↳ MIAC
- Language Support Forums
- ↳ Deutsch Support-Forum
- ↳ Forums d'aide en français
- ↳ Foro de soporte español
- Other Matrix products
- ↳ Electronics products
- ↳ Matrix Online Courses
- ↳ Other products
- ↳ CoCo
- Hidden