Experimental Physics and
| |||||||||||||||
|
Thank you very much for the reply. I really appreciate your help. As you told me, I moved back to the basic_asyn_motor.db and the proper C,S values for OUT. So the "syntax" error disappeared. dbDumpRecord shows now the substitution for OUT: (...) grecord(motor,"IOC:m2") { field(DESC,"motor 2") field(DTYP,"MDrive") field(VELO,"1") (...) field(OUT,"#C0 S1 @") (...) field(HVEL,"0.1") } But I still have the same result: Illegal field value PV: IOC:m1 motor_init_record_com(): card does not exist! I checked: epics> asynReport L0 multiDevice:No canBlock:Yes autoConnect:Yes Serial line /dev/ttyUSB0: Connected L1 multiDevice:No canBlock:Yes autoConnect:Yes Serial line /dev/ttyS0: Connected I also dealt with Eos and asynOctetSetOutputEos and asynOctetSetInputEos, just in case. With asyn-4-13 testGpibSerial I can communicate and send commands through the PV. For instance, I can get the parameter list produced by the controller, showing it's ok. As a novice, I played around a lot. I printed the variables card, brdcnt and brdptr->exists with that message about motor_init_record_com() (in motorApp/MotorSrc/motordevCom.cc). I added a second serial port (and its needed MDriveConfig) to see the corresponding change in the number of boards: Illegal field value PV: IOC:m1 motor_init_record_com(): card does not exist! card =0 of 2 cards, existing= 0 (NO=0) The problem is due to brdptr->exists, that is obviously false. But what should I do to have the "card" 0 available? Have a nice weekend! James
LaboratÃrio Nacional de Luz SÃncrotron â CNPEM/ABTLuS + 55(19) 3512 1228 BRAZIL [email protected] http://www.lnls.br Just to recall: ==== my st.cmd: < envPaths epicsEnvSet("ARCH","linux-x86") (...) epicsEnvSet("MOTOR","/root/epics/synApps_5_5/support/motor-6-5") dbLoadDatabase("/root/epics/synApps_5_5/support/motor-6-5/dbd/WithAsyn.dbd") WithAsyn_registerRecordDeviceDriver(pdbbase) dbLoadTemplate("motor.substitutions") dbLoadRecords("/root/epics/synApps_5_5/support/motor-6-5/db/motorUtil.db", "P=IOC:")
MDriveSetup(2, 10) # IMS MDrive driver configuration parameters: # (1) controller# being configured, # (2) ASYN port name MDriveConfig(0, "L0") MDriveConfig(1, "L1") var drvMDrivedebug 4 iocInit Starting iocInit ############################################################################ ## EPICS R3.14.11 $R3-14-11$ $2009/08/28 18:47:36$ ## EPICS Base built Sep 8 2010 ############################################################################ Illegal field value PV: IOC:m1 motor_init_record_com(): card does not exist! card =0 of 2 cards, existing= 0 (NO=0) asynOctetSetOutputEos("L0",-1,"\r\n") asynOctetSetInputEos("L0",-1,"\n") # motorUtil (allstop & alldone) motorUtilInit("IOC:") epics> Em Thu, 11 Nov 2010 10:23:34 -0200, Mark Rivers <[email protected]> escreveu: Hi James,
| ||||||||||||||
ANJ, 12 Nov 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |