Support Forums
USB issues

I am looking for advice on an issue i am having with a DT82I it was setup to record data at 0.5 second intervals which was producing to many rows of information for excel to produce a spreadsheet of a weekly download which is how i was hoping it would work, subsequently i have a new oninsert file written and i thought that after inserting this file if i was to remove the usb clear it of files and reinsert it the data taker would then output a file every hour to the usb stick.

unfortunately it is not working i was wondering if anyone could see if there was something wrong with the parameters that have been inputted.

DELALLJOBS

BEGIN"config"
' Generated by dEX Configuration Builder Version 1.29.1924 (Firmware Version 9.08.3932)
' Target device: DT82I-3
password=""

S1=0,2500,0,100

' User defined
200CV=0

RS1S
RA"Schedule_1"("b:",ALARMS:OV:100KB:W60,DATA:OV:900MB)500T:200~CV
LOGONA
1*L(N,"Pressure_1~PSI",LM,S1,NA,100)
1+L(N,"Pressure_2~PSI",LM,S1,NA,100)
1-L(N,"Pressure_3~PSI",LM,S1,NA,100)
1DS("handle",LM)

' User defined
1PE(=1CV,w)

' User defined
2CV(w)=(1CV/4000)

' User defined
2CV("Turns: ",FF3)

RB"USB"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H
LOGONB

' User defined
ALARM(9SV>0.5)200CV,1WARN{COPYD start=new dest=a: format=csv archive=y; REMOVEMEDIA}

END

I am looking for advice on an issue i am having with a DT82I it was setup to record data at 0.5 second intervals which was producing to many rows of information for excel to produce a spreadsheet of a weekly download which is how i was hoping it would work, subsequently i have a new oninsert file written and i thought that after inserting this file if i was to remove the usb clear it of files and reinsert it the data taker would then output a file every hour to the usb stick. unfortunately it is not working i was wondering if anyone could see if there was something wrong with the parameters that have been inputted. DELALLJOBS BEGIN"config" ' Generated by dEX Configuration Builder Version 1.29.1924 (Firmware Version 9.08.3932) ' Target device: DT82I-3 password="" S1=0,2500,0,100 ' User defined 200CV=0 RS1S RA"Schedule_1"("b:",ALARMS:OV:100KB:W60,DATA:OV:900MB)500T:200~CV LOGONA 1*L(N,"Pressure_1~PSI",LM,S1,NA,100) 1+L(N,"Pressure_2~PSI",LM,S1,NA,100) 1-L(N,"Pressure_3~PSI",LM,S1,NA,100) 1DS("handle",LM) ' User defined 1PE(=1CV,w) ' User defined 2CV(w)=(1CV/4000) ' User defined 2CV("Turns: ",FF3) RB"USB"("b:",ALARMS:OV:100KB:W60,DATA:OV:1MB)1H LOGONB ' User defined ALARM(9SV>0.5)200CV,1WARN{COPYD start=new dest=a: format=csv archive=y; REMOVEMEDIA} END

Hi Paddy,

dEX program is not the same as text program, when you want to program dataTaker through USB stick you were using text program.
dEX program recognise only a single job name which is "CONFIG" therefore you can only have one job written in dEX in dataTaker.
While in text program, you can have many jobs with different name as long as there is a free memory.

Your program was written in dEX, which I can see on the job name.
So when you want to re-written the job using the same name "CONFIG" while not deleting the old one, dataTaker will give an error.
Please note if you are doing this overwriting as text program you can no longer access your program via dEX as those two are not interchangeable.

Best regards,
Rudy Gunawan

Hi Paddy, dEX program is not the same as text program, when you want to program dataTaker through USB stick you were using text program. dEX program recognise only a single job name which is "CONFIG" therefore you can only have one job written in dEX in dataTaker. While in text program, you can have many jobs with different name as long as there is a free memory. Your program was written in dEX, which I can see on the job name. So when you want to re-written the job using the same name "CONFIG" while not deleting the old one, dataTaker will give an error. Please note if you are doing this overwriting as text program you can no longer access your program via dEX as those two are not interchangeable. Best regards, Rudy Gunawan

Rudy,

Thanks for the reply,I need to apologise for a poor copy and paste i have missed a DELALLJOBS at the top of the page, i am aware of the fact that i can't use Dex i don't need to use it if this program is correct i am just interested in the outputted file to USB. i was just wanting some verification that the coding was correct. are you saying that due to this originally being produced in Dex and then manipulating it to suit it won't work as a text program? the issue is that i get an outputted file an hour after this program is running but that is all i get, i had hoped it would send an hourly file to the usb if it was plugged in.

thanks again

Paddy

Rudy, Thanks for the reply,I need to apologise for a poor copy and paste i have missed a DELALLJOBS at the top of the page, i am aware of the fact that i can't use Dex i don't need to use it if this program is correct i am just interested in the outputted file to USB. i was just wanting some verification that the coding was correct. are you saying that due to this originally being produced in Dex and then manipulating it to suit it won't work as a text program? the issue is that i get an outputted file an hour after this program is running but that is all i get, i had hoped it would send an hourly file to the usb if it was plugged in. thanks again Paddy

Hi Paddy,

If you want to have hourly file in your USB stick please remove REMOVEMEDIA from COPYD declaration.
That action will "soft" detach your stick from dataTaker (9SV will turn to 0, similar to safe removal in your PC).
So even physically the stick is still attached, you can't save any data in it.

Rather than using this:
ALARM(9SV>0.5)200CV,1WARN{COPYD start=new dest=a: format=csv archive=y; REMOVEMEDIA}

Please use this
DO{COPYD start=new dest=a: format=csv archive=y}

Best regards,
Rudy Gunawan

Hi Paddy, If you want to have hourly file in your USB stick please remove REMOVEMEDIA from COPYD declaration. That action will "soft" detach your stick from dataTaker (9SV will turn to 0, similar to safe removal in your PC). So even physically the stick is still attached, you can't save any data in it. Rather than using this: ALARM(9SV>0.5)200CV,1WARN{COPYD start=new dest=a: format=csv archive=y; REMOVEMEDIA} Please use this DO{COPYD start=new dest=a: format=csv archive=y} Best regards, Rudy Gunawan
20
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft