Hi,
dEX 2.0 still have a few issue on conversion from the old dEX. It can't take 2 things correctly: Manual channel and channel with alarms.
If your previous program contain a few lines of manual channels either in one or several location within the script then you can do a bit of modification before we release another version of dEX 2.0.
You have to send your previous program into dataTaker using the old dEX, then you have to gain access to dataTaker FTP server to retrieve CONFIG.dxc within user folder. CONFIG.dxc is used to populate dEX 2.0.
Retrieve that file and open it using notepad or notepad++ and do the following modification:
Any manual channel will have 'user define marking before declaration.
' User defined
P39=0;
'5DSO(W)=0
IF(200CV==1)"nollaus"{[4CV=0 40CV=0 95CV(W)=0 97CV(W)=0 98CV(W)=0 100CV(W)=0 2CV(W)=0]}
You will need to remove that marking and replace it with 2 statement before and after the declaration
'Manual "Alarms1"{
P39=0;
'5DSO(W)=0
IF(200CV==1)"nollaus"{[4CV=0 40CV=0 95CV(W)=0 97CV(W)=0 98CV(W)=0 100CV(W)=0 2CV(W)=0]}
'Manual}
"Alarm1" is the manual channel name, you can use this name to differentiate between manual channels.
There is a limit on the number of line for each manual channels, you can't put more than 4 lines.
That manual channel with 4 lines of code is useful when you have a lot of conditional statement in your program.
'Manual "Alarms64"{
ALARM22(T><12:45:00,12:45:15)"dRAW OFF"{[29CV=0.735 333CV=10 5CV=4 100CV=1]}
ALARM23(T><14:30:00,14:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM24(T><15:00:00,15:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM25(T><15:30:00,15:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
'Manual}
'Manual "Alarms65"{
ALARM26(T><16:00:00,16:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM27(T><16:30:00,16:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM28(T><17:00:00,17:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM29(T><18:00:00,18:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
'Manual}
- But if you want to declare a channel using manual channel please make sure to use one Manual channel per measurement channel. Otherwise you will not be able to plot the reading into Widgets.
After you finish with modification, you have to overwrite the existing CONFIG.dxc with the modified one. Then you can try to load it into dEX 2.0.
Make sure to send the program to the logger using Apply to Logger button.
If you still have conversion email, please contact me for assistance since dEX is not 100% error free.
Notes:
You can't display dEX 2.0 program on the old dEX configuration page but you should be able to plot the data using old mimics.
Best regards,
Rudy Gunawan
Hi,
dEX 2.0 still have a few issue on conversion from the old dEX. It can't take 2 things correctly: Manual channel and channel with alarms.
If your previous program contain a few lines of manual channels either in one or several location within the script then you can do a bit of modification before we release another version of dEX 2.0.
You have to send your previous program into dataTaker using the old dEX, then you have to gain access to dataTaker FTP server to retrieve CONFIG.dxc within **user** folder. CONFIG.dxc is used to populate dEX 2.0.
Retrieve that file and open it using notepad or notepad++ and do the following modification:
- Any manual channel will have **'user define** marking before declaration.
````
' User defined
P39=0;
'5DSO(W)=0
IF(200CV==1)"nollaus"{[4CV=0 40CV=0 95CV(W)=0 97CV(W)=0 98CV(W)=0 100CV(W)=0 2CV(W)=0]}
````
You will need to remove that marking and replace it with 2 statement before and after the declaration
````
'Manual "Alarms1"{
P39=0;
'5DSO(W)=0
IF(200CV==1)"nollaus"{[4CV=0 40CV=0 95CV(W)=0 97CV(W)=0 98CV(W)=0 100CV(W)=0 2CV(W)=0]}
'Manual}
````
"Alarm1" is the manual channel name, you can use this name to differentiate between manual channels.
- There is a limit on the number of line for each manual channels, you can't put more than 4 lines.
- That manual channel with 4 lines of code is useful when you have a lot of conditional statement in your program.
````
'Manual "Alarms64"{
ALARM22(T><12:45:00,12:45:15)"dRAW OFF"{[29CV=0.735 333CV=10 5CV=4 100CV=1]}
ALARM23(T><14:30:00,14:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM24(T><15:00:00,15:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM25(T><15:30:00,15:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
'Manual}
'Manual "Alarms65"{
ALARM26(T><16:00:00,16:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM27(T><16:30:00,16:30:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM28(T><17:00:00,17:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
ALARM29(T><18:00:00,18:00:15)"dRAW OFF"{[29CV=0.105 333CV=25 5CV=3 100CV=1]}
'Manual}
````
- But if you want to declare a channel using manual channel please make sure to use one Manual channel per measurement channel. Otherwise you will not be able to plot the reading into Widgets.
After you finish with modification, you have to overwrite the existing CONFIG.dxc with the modified one. Then you can try to load it into dEX 2.0.
![5de73e6922754](serve/attachment&path=5de73e6922754)
Make sure to send the program to the logger using **Apply to Logger** button.
If you still have conversion email, please contact me for assistance since dEX is not 100% error free.
Notes:
You can't display dEX 2.0 program on the old dEX configuration page but you should be able to plot the data using old mimics.
Best regards,
Rudy Gunawan