Support Forums
Trouble generating a oninsert.dxc file

I want to run my DT85 from a USB stick. My understanding is that this can be done by porting your program to a file called oninsert.dxc.

I am currently using DeLogger4 to create my job which I can run when connected via USB cable. For the life of me I can't find a way to create an oninsert.dxc file with this program.

Can DeLogger create this file or should I be using a different program?

I see that DeLogger is no longer supported. What is the current GUI people are using?

Thanks in advance.

I want to run my DT85 from a USB stick. My understanding is that this can be done by porting your program to a file called oninsert.dxc. I am currently using DeLogger4 to create my job which I can run when connected via USB cable. For the life of me I can't find a way to create an oninsert.dxc file with this program. Can DeLogger create this file or should I be using a different program? I see that DeLogger is no longer supported. What is the current GUI people are using? Thanks in advance.

Good morning Teabone,

What exactly are you putting in the contents of the OnInsert.DXC fire?
You will also need to delete any data and alarms before you can put in a new program.

DeLogger was replaced about 4 years ago by the dEX web based application which is served from the logger.

dEX will not currently run on the DT8x Series 1 but we will be offering a return to factory upgrade that will enable dEX to run on a Series 1 latter this year.

Regards,
Roger

Good morning Teabone, What exactly are you putting in the contents of the OnInsert.DXC fire? You will also need to delete any data and alarms before you can put in a new program. DeLogger was replaced about 4 years ago by the dEX web based application which is served from the logger. dEX will not currently run on the DT8x Series 1 but we will be offering a return to factory upgrade that will enable dEX to run on a Series 1 latter this year. Regards, Roger

Hi Roger.

The manual says you can store your job onto an oninsert.dxc file which will run automatically when you insert said file into the DT85 via a USB stick. How do you generate this file with DEX? Am I missing something here?

Thanks,
Teabone

Hi Roger. The manual says you can store your job onto an oninsert.dxc file which will run automatically when you insert said file into the DT85 via a USB stick. How do you generate this file with DEX? Am I missing something here? Thanks, Teabone

Hi Teabone,

My bad I didn't explain in detail.

Ok, the OnInsert.DXC file Must contain the native dataTaker code.

You can either write the code yourself
Get it from the command window in DeLogger (Load the program code then copy and paste)
Get the code from dEX (From the menu bar > View > Command Language)

You need everything from the Begin to the End and make sure you have LogOn some where in there as well.

Cheers,
Roger.

Hi Teabone, My bad I didn't explain in detail. Ok, the OnInsert.DXC file Must contain the native dataTaker code. You can either write the code yourself Get it from the command window in DeLogger (Load the program code then copy and paste) Get the code from dEX (From the menu bar > View > Command Language) You need everything from the Begin to the End and make sure you have LogOn some where in there as well. Cheers, Roger.

Hi Roger.

I copied the program from where you suggested and pasted it into Notepad. I then saved the file as oninsert.dxc to the root directory of the USB stick. The file type was Text Documents and the Encoding was ANSI. When I plugged in the USB drive, the DT85 reads it but does not execute the program.

The manual is very vague on how to create this file. Preferably DEX would provide an option create the file. I mean you can use DEX to save your job to a file for later use but you still need a laptop to download the job to the logger.

What am I doing wrong?

Hi Roger. I copied the program from where you suggested and pasted it into Notepad. I then saved the file as oninsert.dxc to the root directory of the USB stick. The file type was Text Documents and the Encoding was ANSI. When I plugged in the USB drive, the DT85 reads it but does not execute the program. The manual is very vague on how to create this file. Preferably DEX would provide an option create the file. I mean you can use DEX to save your job to a file for later use but you still need a laptop to download the job to the logger. What am I doing wrong?

Good morning Teabone,

The dEX interface does not have an option to create an OnInsert file because for dEX to work correctly there are a number of other files that need to be transferred as well.
An onInsert program can contain a list of any dataTaker commands and is not restricted to code containing a begin - end pair. I often use an Oninsert to change profile settings or automate the unloading of data.

1/ The file on the USB device must have the name OnInsert.DXC.
2/ If a job exists in the logger it must have the data and alarms deleted before any new job can be entered.
3/ There must not be any syntax errors in the job.

If you would like, contact me at the support email address and I will review your code and provide assistance.

Cheers,
Roger

Good morning Teabone, The dEX interface does not have an option to create an OnInsert file because for dEX to work correctly there are a number of other files that need to be transferred as well. An onInsert program can contain a list of any dataTaker commands and is not restricted to code containing a begin - end pair. I often use an Oninsert to change profile settings or automate the unloading of data. 1/ The file on the USB device must have the name OnInsert.DXC. 2/ If a job exists in the logger it must have the data and alarms deleted before any new job can be entered. 3/ There must not be any syntax errors in the job. If you would like, contact me at the support email address and I will review your code and provide assistance. Cheers, Roger
74
5
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