Search found 32 matches

by Koen
Thu Jan 31, 2019 12:55 pm
Forum: Projects
Topic: Docker
Replies: 15
Views: 2164

Re: Docker

Is there anyone in the forum who is presently using docker (or Linux/x64 in general) for Ultibo development? I use Ultibo (compiler + Lazarus) on Linux Mint 17.2 Rafaella 64-bit. It feels like I installed some years ago using the install instructions (the install-script did not excist yet) from the...
by Koen
Mon Oct 08, 2018 6:44 am
Forum: Discussion
Topic: Stopwatch
Replies: 6
Views: 463

Re: Stopwatch

mohamed wrote:Hi everybody
any Idea to make stopwatch ( receive start signal from gpio16 , stop signal from gpio21 , and reset from gpio7)

hello mohamed,
have a look at https://github.com/ultibohub/Examples/tree/master/14-GPIOHandling
by Koen
Fri Sep 28, 2018 1:17 pm
Forum: Discussion
Topic: Lazarus run in QEMU on linux
Replies: 3
Views: 440

Re: Lazarus run in QEMU on linux

Is the "Tools/Run in QEMU" lazarus menu item available on a linux host?

Not in my install.
Linux Mint 17.2 Cinnamon 64-bit
by Koen
Fri Aug 31, 2018 5:44 am
Forum: Projects
Topic: Data Aquisition Box, preferably with ~100kHz@16bit Signal sampling
Replies: 87
Views: 7282

Re: Data Aquisition Box, preferably with ~100kHz@16bit Signal sampling

I'll see if I can find anywhere we have discussed the ARM timer clock,

Maybe these two are usefull:
fiq design https://ultibo.org/forum/viewtopic.php?f=10&t=306#p1255
and
Nanosecond timer https://ultibo.org/forum/viewtopic.php?f=13&
by Koen
Tue Aug 21, 2018 4:09 pm
Forum: General
Topic: DataMemoryBarrier
Replies: 2
Views: 391

Re: DataMemoryBarrier

Thanks for replying.
I 'll add the DataMemoryBarrier to my code.
by Koen
Tue Aug 21, 2018 11:02 am
Forum: General
Topic: DataMemoryBarrier
Replies: 2
Views: 391

DataMemoryBarrier

I 've been reading about the DataMemoryBarrier instruction on ARM but i 'm not sure about when to use it. If i use my own GPIO pin acces (in Ultibo) writing directly to the GPIO registers do i have to insert a DataMemoryBarrier instruction? I see you do so in e.g. unit BCM2709. As far as i understan...
by Koen
Tue Jun 19, 2018 9:22 am
Forum: General
Topic: unit initialization
Replies: 7
Views: 670

unit initialization

If I add a startup-code to the end of a unit like e.g. begin HTTPListener:=THTTPListener.Create; HTTPListener.Active:=True; WebStatusRegister(HTTPListener,'','',True); end. should I add a ThreadHalt(0); More general: is the start-code of all the units started in one thread or single threads? Just fo...
by Koen
Tue Jun 19, 2018 7:46 am
Forum: General
Topic: send binary data to javascript
Replies: 4
Views: 580

Re: send binary data to javascript

You also have a spelling mistake, if you change responceType to responseType then your script starts working. Thanks! That was the deciding error! It did not show up as error in the browser-konsole. It seems I don't like javascript. The case-sensitive names are annoying me too. I don't know if appl...
by Koen
Mon Jun 18, 2018 1:59 pm
Forum: General
Topic: send binary data to javascript
Replies: 4
Views: 580

Re: send binary data to javascript

Good advice! I made the changes as you proposed. Now I get a response with the expected length. The new problem is the response type is string as I found out by using typeof(xmlhttp.response) in the script. I do set xmlhttp.responceType = 'arraybuffer' in the script. I took a look at the HTTP unit a...
by Koen
Sun Jun 17, 2018 11:54 am
Forum: General
Topic: send binary data to javascript
Replies: 4
Views: 580

send binary data to javascript

I am trying to send an array to a webpage but something is wrong. In the DoGet function of a THttpDocument i set the Responce.ContentStream pointing to a memorystream. The script receives a readyState switching between 4 and 1 and the status is always 0. The corresponding DoGet function is called mo...

Go to advanced search