Hi all
Not sure if this is the right place on the forum to put this question. I am in the process of setting up the importing of stored point locations from our automated stage on our Nikon petrographic microscope into Probe Software. As per usual nothing is easy and so the only output the Nikon/stage software will give us is an XML file which has some crazy formatting compared to what a POS file looks like. I am trying to find an easy way of getting that into a POS file format without having to do a lot of manual manipulation which would become quite tedious if there is a lot of points.
As such I was wondering what a LEP or DCD file looks like formatting wise, and if anyone was able to attach an example file of both so I can see if its easier to replicate the formatting from those rather than the POS file.
Cheers
Quote from: BenjaminWade on May 18, 2016, 09:59:37 PM
Hi all
Not sure if this is the right place on the forum to put this question. I am in the process of setting up the importing of stored point locations from our automated stage on our Nikon petrographic microscope into Probe Software. As per usual nothing is easy and so the only output the Nikon/stage software will give us is an XML file which has some crazy formatting compared to what a POS file looks like. I am trying to find an easy way of getting that into a POS file format without having to do a lot of manual manipulation which would become quite tedious if there is a lot of points.
As such I was wondering what a LEP or DCD file looks like formatting wise, and if anyone was able to attach an example file of both so I can see if its easier to replicate the formatting from those rather than the POS file.
Cheers
Hi Ben,
These formats should be in the PFE User Reference (!), but I've attached an example of each below.
john
Edit by John: I can't locate a copy of an example .lep file. Give me a few days and I'll try to find one.
John many thanks for this. This should be enough for me to convert my crazy Nikon XML file into this format for me to import
Cheers
Quote from: BenjaminWade on May 25, 2016, 06:18:40 PM
John many thanks for this. This should be enough for me to convert my crazy Nikon XML file into this format for me to import
Cheers
Hi Ben,
Katherine Venance is getting an example .LEP file for you to utilize, but it's on an old computer with only a 3.5 floppy drive! So she said it may take her a day or two...
Quote from: John Donovan on June 02, 2016, 01:00:29 PM
Quote from: BenjaminWade on May 25, 2016, 06:18:40 PM
John many thanks for this. This should be enough for me to convert my crazy Nikon XML file into this format for me to import
Cheers
Hi Ben,
Katherine Venance is getting an example .LEP file for you to utilize, but it's on an old computer with only a 3.5 floppy drive! So she said it may take her a day or two...
The example .LEP (Leica position file) is attached below. This is what it looks like. It's a fixed width ASCII format.
REF #1 -195279 80485 -2130 LEP SH # 2 1
REF #2 -55671 9769 -5227 LEP SH # 2 1
REF #3 -222595 -40036 3740 LEP SH # 2 1
OXIDE -192879 80303 -2237 201023-1 1
OXIDE -187449 80303 -2237 201023-2 1
OXIDE -182519 80472 -2237 201023-3 1
OXIDE -162776 80178 -3229 201023-4 1