Re: Installation problems with Comedi

Hi Harold

you need to start the command "make user" as normal user in order to modify 
the .scilab file. Don't forget to check the Scilab version, to be sure that 
you'll modify the right startup file. After starting the command you can 
check the file ".Scilab//scilab-4.0/.scilab" (or equivalent) to see if you 
have the lines:

load('SCI/macros/RTAI/lib')
%scicos_menu($+1)=['RTAI','RTAI CodeGen','Set Target']
scicos_pal($+1,:)=['RTAI-Lib','SCI/macros/RTAI/RTAI-Lib.cosf']

Regards

Roberto

On Friday 25 August 2006 19:03, Harold D. Skank wrote:
> On Fri, 2006-08-25 at 11:39 -0500, Thomas Netter wrote:
> > Harold,
> >
> > Did you do the commands of section 2.11 on page 10 of the RTAI-Lab
> > tutorial?
> > Namely:
> > 1. cd /usr/src/rtai/rtai-lab/scilab/macros
> > 2. Adjust Scilab version and installation directory in Makefile, e.g.:
> >    SCILAB VERSION = 4.0
> > 3. make install
>
> Thomas,
>
> I did perform this step, however the resulting files were somewhat
> different from those you quote below.  In particular, I had no CVS/
> directory (I was installing directly from the tar file) and there were
> no rtai4_* files.  Most of the rest of the files were as you listed, but
> to make certain of what I got, I have included a list below of the
> contents of my /usr/local/scilab-4.0/macros/RTAI/ directory.  Here it
> is:
>
> RT_templates/
> C_RTAI_BLK.bin
> C_RTAI_BLK.sci
> genlib
> lib
> Makefile
> names
> RTAICodGen_.bin
> RTAICodeGen_.sci
> rtai_comedi_datain.bin
> rtai_comedi_datain.sci
> rtai_comedi_dataout.bin
> rtai_comedi_dataout.sci
> rtai_comedi_dioin.bin
> rtai_comedi_dioin.sci
> rtai_comedi_dioout.bin
> rtai_comedi_dioout.sci
> rtai_extdata.bin
> rtai_extdata.sci
> rtai_fifo.bin
> rtai_fifo.sci
> rtai_generic_inp.bin
> rtai_generic_inp.sci
> rtai_generic_out.bin
> rtai_generic_out.sci
> rtai_led.bin
> rtai_let.sci
> RTAI-Lib.cosf
> rtai_mbx_ovrwr_send.bin
> rtai_mbx_ovrwr_send.sci
> rtai_mbx_rcb.bin
> rtai_mbx_Rcv_if.bin
> rtai_mbx_rcv_if.sci
> rtai_mbx_rcv.sci
> rtai_mbx_send_if.bin
> rtai_mbx_send_if.sci
> rtai_meter.bin
> rtai_meter.sci
> rtai_scope.bin
> rtai_scope.sci
> rtai_sem_signal.bin
> rtai_sem_signal.sci
> rtai_sem_wait.bin
> rtai_sem_wait.sci
> rtai_sinus.bin
> rtai_sinus.sci
> rtai_square.bin
> rtai_square.sci
> rtai_step.bin
> rtai_step.sci
> SetTarget_.bin
> SetTarget_.sci
> tmp_Bin
> tmp_Macros
>
> At this point I'm trying to understand the details of the
> compile/link/execute steps in scicos.  I'm still missing an RTAI menu
> tab on my scicos window, however RTAI-Lab is listed (in the edit->
> Palette window, I believe).  It appears I can draw block diagram OK, but
> I seem to be missing the "Set target" menu described in sub-section
> 3.4.2.  As a consequence, I haven't yet been able to edit "Target", and
> "Ode function" as described in that sub-section.  I'm still uncertain
> regarding the results of my compile step.
>
> Hope this information helps you.
>
> 	Harold Skank
>
> > This should install the RTAI-Lab files in the Scilab directory:
> > /usr/local/scilab-4.0/macros/RTAI/
> >
> > C_RTAI_BLK.bin            rtai4_scope.bin          rtai_led.sci
> > C_RTAI_BLK.sci            rtai4_scope.sci          RTAI-Lib.cosf
> > CVS/                      rtai4_sem_signal.bin
> > rtai_mbx_ovrwr_send.bin
> > genlib                    rtai4_sem_signal.sci
> > rtai_mbx_ovrwr_send.sci
> > lib                       rtai4_sem_wait.bin       rtai_mbx_rcv.bin
> > Makefile                  rtai4_sem_wait.sci       rtai_mbx_rcv_if.bin
> > names                     rtai4_sinus.bin          rtai_mbx_rcv_if.sci
> > rtai4_comedi_datain.bin   rtai4_sinus.sci          rtai_mbx_rcv.sci
> > rtai4_comedi_datain.sci   rtai4_square.bin         rtai_mbx_send_if.bin
> > rtai4_comedi_dataout.bin  rtai4_square.sci         rtai_mbx_send_if.sci
> > rtai4_comedi_dataout.sci  rtai4_step.bin           rtai_meter.bin
> > rtai4_comedi_dioin.bin    rtai4_step.sci           rtai_meter.sci
> > rtai4_comedi_dioin.sci    RTAICodeGen_.bin         rtai_scope.bin
> > rtai4_comedi_dioout.bin   RTAICodeGen_.sci         rtai_scope.sci
> > rtai4_comedi_dioout.sci   rtai_comedi_datain.bin   rtai_sem_signal.bin
> > rtai4_extdata.bin         rtai_comedi_datain.sci   rtai_sem_signal.sci
> > rtai4_extdata.sci         rtai_comedi_dataout.bin  rtai_sem_wait.bin
> > rtai4_fifo.bin            rtai_comedi_dataout.sci  rtai_sem_wait.sci
> > rtai4_fifo.sci            rtai_comedi_dioin.bin    rtai_sinus.bin
> > rtai4_led.bin             rtai_comedi_dioin.sci    rtai_sinus.sci
> > rtai4_led.sci             rtai_comedi_dioout.bin   rtai_square.bin
> > rtai4_mbx_ovrwr_send.bin  rtai_comedi_dioout.sci   rtai_square.sci
> > rtai4_mbx_ovrwr_send.sci  rtai_extdata.bin         rtai_step.bin
> > rtai4_mbx_rcv.bin         rtai_extdata.sci         rtai_step.sci
> > rtai4_mbx_rcv_if.bin      rtai_fifo.bin            RT_templates/
> > rtai4_mbx_rcv_if.sci      rtai_fifo.sci            SetTarget_.bin
> > rtai4_mbx_rcv.sci         rtai_generic_inp.bin     SetTarget_.sci
> > rtai4_mbx_send_if.bin     rtai_generic_inp.sci     tmp_Bin
> > rtai4_mbx_send_if.sci     rtai_generic_out.bin     tmp_Macros
> > rtai4_meter.bin           rtai_generic_out.sci
> > rtai4_meter.sci           rtai_led.bin
> >
> > Thanks for your feedback. I'm using your comments to improve some of
> > the
> > sections in the tutorial. Keep me posted for further questions
> > regarding
> > the tutorial.
> >
> > -Thomas
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi

-- 
University of Applied Sciences of Southern Switzerland
Dept. Innovative Technologies
CH-6928 Lugano-Manno
http://www.dti.supsi.ch/~bucher

Received on 2006-08-29Z16:40:37