Re: [Emc-developers] undefined reference linkage problem

2010-03-31 Thread Alexey Starikovskiy
Flying Electron Inc пишет: > Hi all! > > This is kind of out there, but hoping someone might know what I did > wrong. I am trying to add a STRAIGHT_TRAVERSE2 function right next to > the original STRAIGHT_TRAVERSE function in the code. > > I did the following: > > 1. Added a STRAIGHT_TRAVERSE2 fu

Re: [Emc-developers] undefined reference linkage problem

2010-03-31 Thread EBo
Look in the .h files to find the prototype for STRAIGHT_TRAVERSE, and add one for STRAIGHT_TRAVERSE2. That is my only guess without looking at the code. EBo -- Flying Electron Inc said: > --001636ed62f85029d7048312ceb1 > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all! > > This is

[Emc-developers] HallMeter wrong time!

2010-03-31 Thread Slavko Kocjancic
Hello... Today I pull my hear from head discoveryng why my EPP IO board is so slow. For measurment's I put 10 out cycles in write_board procedure.. static void write_board(void *arg, long period) { epp_board_t *board; board = arg; rtapi_outb(0, board->base_addr+3); rta

Re: [Emc-developers] HallMeter wrong time!

2010-03-31 Thread Jeff Epler
.time and .tmax (as well as the numbers in halcmd show thread) are in CPU cycles, not ns. Some versions of rtai performed very poorly when requesting the current time, so we switched to using the TSC. Is it possible that your system is 2GHz or so? If you saw a mention of .time and .tmax in the d

Re: [Emc-developers] HallMeter wrong time!

2010-03-31 Thread Slavko Kocjancic
2010/3/31 Jeff Epler > .time and .tmax (as well as the numbers in halcmd show thread) are in > CPU cycles, not ns. Some versions of rtai performed very poorly when > requesting the current time, so we switched to using the TSC. Is it > possible that your system is 2GHz or so? > > If you saw a m

Re: [Emc-developers] undefined reference linkage problem

2010-03-31 Thread Flying Electron Inc
Thanks Alex and EBo! I didn't realize that the extra function would need to reimplemented in those extra places. I looked at the code and now I understand why it has to be reimplemented in those two additional places and it compiles great now! Thank you again! Lawrence On Wed, Mar 31, 2010 at