epics-modules / sscan

APS BCDA synApps module: sscan
https://epics.anl.gov/bcda/synApps/sscan/sscan.html
Other
2 stars 14 forks source link

Record "SSCAN-EX:ScanDimH1" is of unknown type "scalcout" #31

Open Baokangwen opened 2 months ago

Baokangwen commented 2 months ago

@hanak @ralphlange @jlmuir @prjemian I run ioc has an error:Record "SSCAN-EX:ScanDimH1" is of unknown type "scalcout" Error at or before ")" in file "/home/guest/EPICS/synApps_6_1/supports_6_1/support/sscan/sscanApp/Db/standardScans.db" line 220 Error: syntax error dbLoadRecords:failed to load /home/guest/EPICS/synApps_6_1/supports_6_1/support/sscan/sscanApp/Db/standardScans.db

ralphlange commented 2 months ago

The sscan module depends on the calc module. (Which contains the scalcout record.)

Baokangwen commented 2 months ago

@ralphlange I added calc, but it still same error, it doesn't seem to be the reason.

MarkRivers commented 2 months ago

You need to add both the dbd and library files for calc to your IOC Makefile.

Baokangwen commented 2 months ago

@MarkRivers Dear Mark,

I don't know how to add it? I've been using it normally before, and today I restarted the system and I had this problem.

MarkRivers commented 2 months ago

myApp_LIBS += calc myApp_DBD += calcSupport.dbd

Baokangwen commented 2 months ago

@MarkRivers Thank you Mark. I know how to do this.