Welcome, Guest
Username: Password: Remember me

TOPIC: how to swap word order on ChanAi?

how to swap word order on ChanAi? 10 months 2 weeks ago #11139

  • jds
  • jds's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 86
  • Karma: 0
Hello,
a little bump to an old topic, but the same issues. Where can I find the file rt_io_bus.c to adjust the byte order?
Do I need to compile Proview from sources for this?
For now I'm using version 5.7, installed through the package manager, so I suppose no sources are installed?!?
The administrator has disabled public write access.

how to swap word order on ChanAi? 10 months 2 weeks ago #11146

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 2961
  • Karma: 0
Hi jds,

rt_io_bus.c is placed in src/lib/rt/src.
You have to download the source tarball an build from sources.

Note that you can also read the Ai with a ChanIi and Ii, and swap and convert fo float in a CArithm.

/Claes
The administrator has disabled public write access.

how to swap word order on ChanAi? 10 months 2 weeks ago #11151

  • jds
  • jds's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 86
  • Karma: 0
claes wrote:

Note that you can also read the Ai with a ChanIi and Ii, and swap and convert fo float in a CArithm.

/Claes

Idd, I already solved it that way :) But I can assume when you've got a lot of channel to do it can be a pain in the ...
for now I changed the byte order to big endian so no changes have to be made.
The administrator has disabled public write access.
Time to create page: 0.680 seconds