sorry, there is my hal file
# hostmot2 driver loadrt hostmot2 debug_idrom=1 debug_module_descriptors=1 debug_pin_descriptors=1 debug_modules=1 # load low-level driver loadrt hm2_pci config="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0" #load threads loadrt threads name1=tt period1=10000 name2=tt2 period2=1000000000 #naložimo pyvcp ter počakamo da se le ta zažene loadusr -Wn iotest pyvcp -c iotest iotest.xml addf hm2_5i20.0.read tt addf hm2_5i20.0.write tt addf hm2_5i20.0.read_gpio tt addf hm2_5i20.0.write_gpio tt addf hm2_5i20.0.pet_watchdog tt setp hm2_5i20.0.watchdog.timeout_ns 10000000 # razmerje 1000 pulzov za 1mm setp hm2_5i20.0.encoder.00.scale 1000 setp hm2_5i20.0.encoder.00.counter-mode FALSE setp hm2_5i20.0.encoder.01.counter-mode FALSE setp hm2_5i20.0.encoder.02.counter-mode FALSE setp hm2_5i20.0.encoder.03.counter-mode FALSE # ENCODERS net rc0 hm2_5i20.0.encoder.00.position iotest.enc0 net rc1 hm2_5i20.0.encoder.01.position iotest.enc1 net rc2 hm2_5i20.0.encoder.02.position iotest.enc2 net rc3 hm2_5i20.0.encoder.03.position iotest.enc3 # DACs setp hm2_5i20.0.pwmgen.00.output-type 3 setp hm2_5i20.0.pwmgen.01.output-type 3 setp hm2_5i20.0.pwmgen.02.output-type 3 setp hm2_5i20.0.pwmgen.03.output-type 3 setp hm2_5i20.0.pwmgen.00.scale 1 setp hm2_5i20.0.pwmgen.01.scale 1 setp hm2_5i20.0.pwmgen.02.scale 1 setp hm2_5i20.0.pwmgen.03.scale 1 setp hm2_5i20.0.pwmgen.pdm_frequency 6000000 net pwme0 iotest.dac0-ena hm2_5i20.0.pwmgen.00.enable net pwme1 iotest.dac1-ena hm2_5i20.0.pwmgen.01.enable net pwme2 iotest.dac2-ena hm2_5i20.0.pwmgen.02.enable net pwme3 iotest.dac3-ena hm2_5i20.0.pwmgen.03.enable net pwm0 iotest.dac0-f hm2_5i20.0.pwmgen.00.value net pwm1 iotest.dac1-f hm2_5i20.0.pwmgen.01.value net pwm2 iotest.dac2-f hm2_5i20.0.pwmgen.02.value net pwm3 iotest.dac3-f hm2_5i20.0.pwmgen.03.value # reset counter net res00 iotest.out08 hm2_5i20.0.encoder.00.reset start On Sat, Sep 12, 2009 at 5:32 PM, Chris Radek <ch...@timeguy.com> wrote: > On Sat, Sep 12, 2009 at 05:27:00PM +0200, Klemen Ozebek wrote: > > Hello everybody, > > > > i have a problem with analog output from 7I33 mesa analog interface. If > i'm > > testing outputs with old mesa drivers i get desired signal from analog > > output, but if i use hostmot2 driver, i just get 0 and for any other > value > > 10V. What i'm doing wrong? > > Not posting your HAL settings along with your question! > > (But really, maybe your scale is wrong.) > > Chris > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users