restarted my 7890/5975 GCMS system, with a CombiPAL CTC, yesterday and got the following error on the instrument start up log and chemstation (MSD E.02.02) closed down. If i don't include the CTC in the instrument configuration then chemstation starts, and the software will also start if and offline system is configured. I can't find where the checkctcmaxvial macro is but it looks like this might be the issue. Any ideas? Tried deleting and re-installing the CTC software supplied when the system was installed but same issue.
Variable locking is OFF
dim _ALSMaxvial,3
Array _ALSMaxvial(3) has been created
dim _HSMaxVial,3
Array _HSMaxVial(3) has been created
dim _CTCMaxVial,3
Array _CTCMaxVial(3) has been created
if _isCTC = 1
CheckCTCMaxVial
local palPLATES,j,a,b,c,a$,b$,c$
varlock 0
Variable locking is OFF
_NumOfTrays = _CTCNumOfTrays
3
j=0
0
palPLATES=Val(GetIniString$(_INSTPATH$+"PALDATA\CTC.INI","Config","Plates"))
3
dim _CTCMaxVial,palPLATES+1
Array _CTCMaxVial(4) has been created
a$=GetIniString$(_INSTPATH$+"PALDATA\CTC.INI","Config","TrayOrder")
Tray1,Tray2,Agitator,
While j<palPLATES
b$=GetIniString$(_INSTPATH$+"PALDATA\CTC.INI","Config",a$[1:(InStr(a$,","))-1]))
VT98,7,14
c$=b$[Instr(b$,",")+1:Len(b$)]
7,14
a=Val(c$[1:Instr(c$,",")])
7
b=Val(c$[InStr(c$,",")+1:Len(c$)])
14
c=a*b
98
If c=0
endif
_CTCMaxVial[j+1]=a*b
ARRAY of length 4
a$=a$[(InStr(a$,",")+1):Len(a$)]
Tray2,Agitator,
Print b$,_CTCMaxVial[j+1]
VT98,7,14 98
j=j+1
1
EndWhile
While j<palPLATES
b$=GetIniString$(_INSTPATH$+"PALDATA\CTC.INI","Config",a$[1:(InStr(a$,","))-1]))
Tray2
c$=b$[Instr(b$,",")+1:Len(b$)]
Tray2
a=Val(c$[1:Instr(c$,",")])
Wed Jan 04 09:08:58 2023
App: msinsctl.exe, Method: DEFAULT.M, RunType: Sampl, Vial: 1
DataFile: C:\MSDCHEM\1\DATA\5975_001.D
Macro: CHECKCTCMAXVIAL, Cmd: a=Val(c$[1:Instr(c$,",")])
Msg:
Array index 1 out of bounds
C:\MSDCHEM\1\DATA\5975_001.D
startuperror 1
on_error
local fmt$
fmt$=_$(28737,"Macro error ###### % ")
Macro error ###### %
print _error,_errmsg$
24 Array index 1 out of bounds
alert _$(28736,"The ChemStation did not complete its initialization cycle."),2
if check("variable","icstartlog$")=1
logging 0