Skip to content
Snippets Groups Projects
Commit 8130e8e1 authored by mooney's avatar mooney
Browse files

changes to comply with tyGSAsynInit()'s new argument list

begin/end comments
parent 95c27b0f
No related branches found
No related tags found
No related merge requests found
###############################################################################
# BEGIN serial.cmd ------------------------------------------------------------
# Initialize Octal UART stuff # Initialize Octal UART stuff
# tyGSOctalDrv(int maxModules) # tyGSOctalDrv(int maxModules)
tyGSOctalDrv(1) tyGSOctalDrv(1)
...@@ -12,16 +14,17 @@ tyGSOctalDrv(1) ...@@ -12,16 +14,17 @@ tyGSOctalDrv(1)
# slot - location of module on carrier -- 0..3 for slot A..slot D # slot - location of module on carrier -- 0..3 for slot A..slot D
tyGSOctalModuleInit("UART_0", "232", 0x80, 0, 0) tyGSOctalModuleInit("UART_0", "232", 0x80, 0, 0)
# int tyGSAsynInit(char *port, char *moduleName, int channel, int baud, char parity, int sbits, # int tyGSAsynInit(char *port, char *moduleName, int channel, int baud,
# int dbits, char handshake, char *eomstr) # char parity, int sbits, int dbits, char handshake,
tyGSAsynInit("serial1", "UART_0", 0, 9600,'N',2,8,'N',"") /* SRS570 */ # char *inputEos, char *outputEos)
tyGSAsynInit("serial2", "UART_0", 1,19200,'E',1,8,'N',"") /* MKS */ tyGSAsynInit("serial1", "UART_0", 0, 9600,'N',2,8,'N',"","") /* SRS570 */
tyGSAsynInit("serial3", "UART_0", 2, 9600,'E',1,7,'N',"") /* Digitel */ tyGSAsynInit("serial2", "UART_0", 1,19200,'E',1,8,'N',"","") /* MKS */
tyGSAsynInit("serial4", "UART_0", 3, 9600,'N',1,8,'N',"") /* MPC */ tyGSAsynInit("serial3", "UART_0", 2, 9600,'E',1,7,'N',"","") /* Digitel */
tyGSAsynInit("serial5", "UART_0", 4, 9600,'E',1,7,'N',"") /* McClennan PM304 */ tyGSAsynInit("serial4", "UART_0", 3, 9600,'N',1,8,'N',"","") /* MPC */
tyGSAsynInit("serial6", "UART_0", 5,19200,'N',1,8,'N',"") /* Keithley 2000 */ tyGSAsynInit("serial5", "UART_0", 4, 9600,'E',1,7,'N',"","") /* McClennan PM304 */
tyGSAsynInit("serial7", "UART_0", 6, 9600,'N',1,8,'N',"") /* Oxford ILM cryometer */ tyGSAsynInit("serial6", "UART_0", 5,19200,'N',1,8,'N',"","") /* Keithley 2000 */
tyGSAsynInit("serial8", "UART_0", 7,19200,'N',1,8,'N',"") /* Love controllers */ tyGSAsynInit("serial7", "UART_0", 6, 9600,'N',1,8,'N',"","") /* Oxford ILM cryometer */
tyGSAsynInit("serial8", "UART_0", 7,19200,'N',1,8,'N',"","") /* Love controllers */
# Newport MM4000 driver setup parameters: # Newport MM4000 driver setup parameters:
# (1) maximum # of controllers, # (1) maximum # of controllers,
...@@ -130,3 +133,4 @@ dbLoadRecords("$(IP)/ipApp/Db/SR570.db", "P=xxx:,A=A1,PORT=serial1") ...@@ -130,3 +133,4 @@ dbLoadRecords("$(IP)/ipApp/Db/SR570.db", "P=xxx:,A=A1,PORT=serial1")
#loveServerDebug=1 #loveServerDebug=1
#dbLoadRecords("$(IP)/ipApp/Db/love.db", "P=xxx:,Q=Love_0,C=0,PORT=PORT2,ADDR=1") #dbLoadRecords("$(IP)/ipApp/Db/love.db", "P=xxx:,Q=Love_0,C=0,PORT=PORT2,ADDR=1")
# END serial.cmd --------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment