From e07162850165cb936e8e54d518e61e60443daf09 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 5 Jun 2003 17:36:57 +0000 Subject: [PATCH] MX example. --- iocBoot/iocNoAsyn/i0.dat | 101 ++++++++++++++++++++++++++++++++++++ iocBoot/iocNoAsyn/it.dat | 101 ++++++++++++++++++++++++++++++++++++ iocBoot/iocNoAsyn/st.cmd.mx | 13 +++++ iocBoot/iocNoMPF/i0.dat | 101 ++++++++++++++++++++++++++++++++++++ iocBoot/iocNoMPF/it.dat | 101 ++++++++++++++++++++++++++++++++++++ iocBoot/iocNoMPF/st.cmd.mx | 13 +++++ 6 files changed, 430 insertions(+) create mode 100644 iocBoot/iocNoAsyn/i0.dat create mode 100644 iocBoot/iocNoAsyn/it.dat create mode 100644 iocBoot/iocNoAsyn/st.cmd.mx create mode 100644 iocBoot/iocNoMPF/i0.dat create mode 100644 iocBoot/iocNoMPF/it.dat create mode 100644 iocBoot/iocNoMPF/st.cmd.mx diff --git a/iocBoot/iocNoAsyn/i0.dat b/iocBoot/iocNoAsyn/i0.dat new file mode 100644 index 00000000..785f9902 --- /dev/null +++ b/iocBoot/iocNoAsyn/i0.dat @@ -0,0 +1,101 @@ +8950 157555 +8951 157823 +8952 158170 +8953 158333 +8954 158463 +8955 158458 +8956 158788 +8957 159070 +8958 159189 +8959 159292 +8960 159053 +8961 159275 +8962 159347 +8963 159396 +8964 159627 +8965 159326 +8966 159460 +8967 159690 +8968 159627 +8969 159682 +8970 159745 +8971 159840 +8972 160053 +8973 160313 +8974 160410 +8975 160762 +8976 160887 +8977 160988 +8978 161028 +8979 161064 +8980 160984 +8981 161161 +8982 161015 +8983 161069 +8984 161088 +8985 161018 +8986 161200 +8987 161327 +8988 161337 +8989 161322 +8990 161497 +8991 161496 +8992 161410 +8993 161410 +8994 161614 +8995 161683 +8996 161831 +8997 161831 +8998 161877 +8999 161999 +9000 162046 +9001 162095 +9002 161911 +9003 162190 +9004 162038 +9005 162164 +9006 162293 +9007 162129 +9008 162230 +9009 162170 +9010 161890 +9011 162286 +9012 162331 +9013 162317 +9014 162374 +9015 162483 +9016 162509 +9017 162320 +9018 162310 +9019 162430 +9020 162345 +9021 162376 +9022 162439 +9023 162552 +9024 162582 +9025 162625 +9026 162761 +9027 162845 +9028 162663 +9029 162692 +9030 162701 +9031 162561 +9032 162617 +9033 162586 +9034 162531 +9035 162564 +9036 162557 +9037 162583 +9038 162535 +9039 162504 +9040 162304 +9041 161609 +9042 159694 +9043 160016 +9044 162222 +9045 162759 +9046 162825 +9047 162820 +9048 162698 +9049 162699 +9050 162860 diff --git a/iocBoot/iocNoAsyn/it.dat b/iocBoot/iocNoAsyn/it.dat new file mode 100644 index 00000000..cd291a2e --- /dev/null +++ b/iocBoot/iocNoAsyn/it.dat @@ -0,0 +1,101 @@ +8950 395527 +8951 397385 +8952 399842 +8953 400917 +8954 401645 +8955 401494 +8956 403659 +8957 405675 +8958 406268 +8959 406722 +8960 404554 +8961 405881 +8962 405794 +8963 405550 +8964 406522 +8965 403507 +8966 403562 +8967 404049 +8968 402105 +8969 400442 +8970 398177 +8971 394713 +8972 389458 +8973 377355 +8974 345928 +8975 280021 +8976 213430 +8977 187933 +8978 188234 +8979 193119 +8980 188754 +8981 178281 +8982 166890 +8983 156640 +8984 143264 +8985 127337 +8986 112287 +8987 99609 +8988 89420 +8989 83563 +8990 82755 +8991 85219 +8992 88971 +8993 92543 +8994 95141 +8995 95149 +8996 92518 +8997 87593 +8998 83236 +8999 81763 +9000 83340 +9001 86828 +9002 89978 +9003 93541 +9004 95689 +9005 98596 +9006 101057 +9007 101874 +9008 102134 +9009 101552 +9010 100100 +9011 99666 +9012 98004 +9013 95900 +9014 93743 +9015 91861 +9016 89868 +9017 87733 +9018 85903 +9019 84462 +9020 82911 +9021 82220 +9022 82327 +9023 83211 +9024 84657 +9025 86522 +9026 88822 +9027 91046 +9028 92728 +9029 94292 +9030 95520 +9031 96048 +9032 96604 +9033 96630 +9034 96310 +9035 95917 +9036 95300 +9037 94749 +9038 94274 +9039 94140 +9040 93972 +9041 93150 +9042 89742 +9043 89947 +9044 93355 +9045 93570 +9046 92953 +9047 92474 +9048 92023 +9049 91978 +9050 92163 diff --git a/iocBoot/iocNoAsyn/st.cmd.mx b/iocBoot/iocNoAsyn/st.cmd.mx new file mode 100644 index 00000000..f6925414 --- /dev/null +++ b/iocBoot/iocNoAsyn/st.cmd.mx @@ -0,0 +1,13 @@ +# This example if for running a motor record that uses the MX device +# driver support on a Unix host. This example does not require MPF. + +# Start errlog Task before any possible error messsage to prevent +# erroneous "Interrupted system call" message on Linux OS host. +errlogInit(0) + +dbLoadDatabase("../../dbd/example.dbd",0,0) +registerRecordDeviceDriver(pdbbase) +dbLoadRecords("../../db/softMotorTest.db","user=rls") +MXmotorSetup(1, "example3.dat", 10) + +iocInit() diff --git a/iocBoot/iocNoMPF/i0.dat b/iocBoot/iocNoMPF/i0.dat new file mode 100644 index 00000000..785f9902 --- /dev/null +++ b/iocBoot/iocNoMPF/i0.dat @@ -0,0 +1,101 @@ +8950 157555 +8951 157823 +8952 158170 +8953 158333 +8954 158463 +8955 158458 +8956 158788 +8957 159070 +8958 159189 +8959 159292 +8960 159053 +8961 159275 +8962 159347 +8963 159396 +8964 159627 +8965 159326 +8966 159460 +8967 159690 +8968 159627 +8969 159682 +8970 159745 +8971 159840 +8972 160053 +8973 160313 +8974 160410 +8975 160762 +8976 160887 +8977 160988 +8978 161028 +8979 161064 +8980 160984 +8981 161161 +8982 161015 +8983 161069 +8984 161088 +8985 161018 +8986 161200 +8987 161327 +8988 161337 +8989 161322 +8990 161497 +8991 161496 +8992 161410 +8993 161410 +8994 161614 +8995 161683 +8996 161831 +8997 161831 +8998 161877 +8999 161999 +9000 162046 +9001 162095 +9002 161911 +9003 162190 +9004 162038 +9005 162164 +9006 162293 +9007 162129 +9008 162230 +9009 162170 +9010 161890 +9011 162286 +9012 162331 +9013 162317 +9014 162374 +9015 162483 +9016 162509 +9017 162320 +9018 162310 +9019 162430 +9020 162345 +9021 162376 +9022 162439 +9023 162552 +9024 162582 +9025 162625 +9026 162761 +9027 162845 +9028 162663 +9029 162692 +9030 162701 +9031 162561 +9032 162617 +9033 162586 +9034 162531 +9035 162564 +9036 162557 +9037 162583 +9038 162535 +9039 162504 +9040 162304 +9041 161609 +9042 159694 +9043 160016 +9044 162222 +9045 162759 +9046 162825 +9047 162820 +9048 162698 +9049 162699 +9050 162860 diff --git a/iocBoot/iocNoMPF/it.dat b/iocBoot/iocNoMPF/it.dat new file mode 100644 index 00000000..cd291a2e --- /dev/null +++ b/iocBoot/iocNoMPF/it.dat @@ -0,0 +1,101 @@ +8950 395527 +8951 397385 +8952 399842 +8953 400917 +8954 401645 +8955 401494 +8956 403659 +8957 405675 +8958 406268 +8959 406722 +8960 404554 +8961 405881 +8962 405794 +8963 405550 +8964 406522 +8965 403507 +8966 403562 +8967 404049 +8968 402105 +8969 400442 +8970 398177 +8971 394713 +8972 389458 +8973 377355 +8974 345928 +8975 280021 +8976 213430 +8977 187933 +8978 188234 +8979 193119 +8980 188754 +8981 178281 +8982 166890 +8983 156640 +8984 143264 +8985 127337 +8986 112287 +8987 99609 +8988 89420 +8989 83563 +8990 82755 +8991 85219 +8992 88971 +8993 92543 +8994 95141 +8995 95149 +8996 92518 +8997 87593 +8998 83236 +8999 81763 +9000 83340 +9001 86828 +9002 89978 +9003 93541 +9004 95689 +9005 98596 +9006 101057 +9007 101874 +9008 102134 +9009 101552 +9010 100100 +9011 99666 +9012 98004 +9013 95900 +9014 93743 +9015 91861 +9016 89868 +9017 87733 +9018 85903 +9019 84462 +9020 82911 +9021 82220 +9022 82327 +9023 83211 +9024 84657 +9025 86522 +9026 88822 +9027 91046 +9028 92728 +9029 94292 +9030 95520 +9031 96048 +9032 96604 +9033 96630 +9034 96310 +9035 95917 +9036 95300 +9037 94749 +9038 94274 +9039 94140 +9040 93972 +9041 93150 +9042 89742 +9043 89947 +9044 93355 +9045 93570 +9046 92953 +9047 92474 +9048 92023 +9049 91978 +9050 92163 diff --git a/iocBoot/iocNoMPF/st.cmd.mx b/iocBoot/iocNoMPF/st.cmd.mx new file mode 100644 index 00000000..f6925414 --- /dev/null +++ b/iocBoot/iocNoMPF/st.cmd.mx @@ -0,0 +1,13 @@ +# This example if for running a motor record that uses the MX device +# driver support on a Unix host. This example does not require MPF. + +# Start errlog Task before any possible error messsage to prevent +# erroneous "Interrupted system call" message on Linux OS host. +errlogInit(0) + +dbLoadDatabase("../../dbd/example.dbd",0,0) +registerRecordDeviceDriver(pdbbase) +dbLoadRecords("../../db/softMotorTest.db","user=rls") +MXmotorSetup(1, "example3.dat", 10) + +iocInit()