Hi TJF, I'm trying to solve the bug as you described to niro some posts ahead. After I've followed the instruction on the library site, I've:
cd pruio/ vim pruio_adc.bas (modify buggy lines) ./make.sh ./build.sh After that a file named `libpruio.so` appear in the current directory The problem is that I can't build anything with that lib. When I try to compile the c_example shipped with the library I run into the annoying error sos.c:(.text+0x128): undefined reference to `pruio_new' ecc I'm doing something wrong? Why the libpruio library that I build doesn't export the pruio_* functions? Thanks, Andrea Il giorno lunedì 19 ottobre 2015 18:05:48 UTC+2, TJF ha scritto: > > Hi Akshay! > > Am Montag, 19. Oktober 2015 02:48:44 UTC+2 schrieb akj...@gmail.com: >> >> I am trying to use the example you provided here to sample an analog >> signal. >> > > I guess you're refering to the example rb_file, which is sampling three > analog signals? > > >> With the default setting of tmr=5000, I am getting configuration error: >> >> config failed: sample rate too big >> >> It works with tmr=20000 and dumps the data into 2 files. Though the data >> looks to be in binary format. >> >> Could there be something in my setup that may need tweaking to run this >> at 200KHz? >> I am using libpruio v0.2 and installed it following the steps mentioned >> here >> <http://users.freebasic-portal.de/tjf/Projekte/libpruio/doc/html/_cha_preparation.html> >> . >> > > This example is pre-published (from next version). In libpruio-0.2 the > limit checking for the timer value is too rigid. See this post > <https://groups.google.com/d/msg/beagleboard/CN5qKSmPIbc/_UpnpOzUceIJ> on > how to fix this. > > BR > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.