-
-
Save canismarko/e4bc0c61fcf7c5b4803d69a7a691cb30 to your computer and use it in GitHub Desktop.
labjack IOC error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------ | |
# Define environment variables | |
# < envPaths | |
# Number of points for waveform digitizer and waveform generator | |
epicsEnvSet WDIG_POINTS 2048 | |
epicsEnvSet WGEN_POINTS 2048 | |
#------------------------------------------------------------------------------ | |
# Register all support components | |
# LABJACK=/net/s25data/xorApps/epics/synApps_6_2_1/support/LabJack-GIT | |
dbLoadDatabase("$(LABJACK)/dbd/LabJackApp.dbd") | |
LabJackApp_registerRecordDeviceDriver(pdbbase) | |
#------------------------------------------------------------------------------ | |
# Put a list of the available devices in the ioc console | |
LabJackShowDevices | |
#------------------------------------------------------------------------------ | |
### A labjack T4 for testing ### | |
# epicsEnvSet PORT LJT4_0 | |
# epicsEnvSet P $(PREFIX)LabJackT4_0: | |
# LabJackConfig("$(PORT)", "labjack25idc01.xray.aps.anl.gov", $(WDIG_POINTS), $(WGEN_POINTS)) | |
# dbLoadTemplate("$(LABJACK)/db/LabJack_T7.substitutions", "P=$(P), PORT=$(PORT), WDIG_POINTS=$(WDIG_POINTS), WGEN_POINTS=$(WGEN_POINTS)") | |
#------------------------------------------------------------------------------ | |
### Voltmeter device for the upstream table ### | |
epicsEnvSet PORT LJT7V_0 | |
epicsEnvSet P $(PREFIX)LJT7Voltmeter_0: | |
LabJackConfig("$(PORT)", "labjack25idc02.xray.aps.anl.gov", $(WDIG_POINTS), $(WGEN_POINTS)) | |
dbLoadTemplate("$(LABJACK)/db/LabJack_T7.substitutions", "P=$(P), PORT=$(PORT), WDIG_POINTS=$(WDIG_POINTS), WGEN_POINTS=$(WGEN_POINTS)") | |
#------------------------------------------------------------------------------ | |
### Voltmeter device for the upstream table ### | |
# epicsEnvSet PORT LJT7V_1 | |
# epicsEnvSet P $(PREFIX)LJT7Voltmeter_1: | |
# LabJackConfig("$(PORT)", "labjack25idc03.xray.aps.anl.gov", $(WDIG_POINTS), $(WGEN_POINTS)) | |
# dbLoadTemplate("$(LABJACK)/db/LabJack_T7.substitutions", "P=$(P), PORT=$(PORT), WDIG_POINTS=$(WDIG_POINTS), WGEN_POINTS=$(WGEN_POINTS)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment