• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

exhaust data from total station

  • Thread starter Thread starter Tristus
  • Start date Start date

Tristus

Guest
I looked everywhere, but I couldn't find much. I look for a utility that allows me to download data from a total station directly from autocad. therefore a utility that connects to a certain door com and manages the transmission parameters (baud, etc.) and eventually create a dxf of points (it would be enough only the dxf of points).
I have utilities for data unloading, but it would be very practical to work as autocad.

to the limit would be enough for me to read the coordinates of the points in a design on autocad and write said coordinates in a text file, separating the fields with a point and comma and assigning a numerical value at each point, so that it is not obliged to open the file and correct it for it to be digestible to the instrument (a nikon dtm 330) when I prepare it for data reception. Is there a lisp utility that can help me in this kind of work?
 
many years ago I wrote a lisp to extract the tracking data of the displacement of the landslides: I went to look at the file (in text format openable with notepad... though with a strange extension) to try to understand how the coordinates were written.... however my friend who had "commissioned" me the work managed to export the file in dxf format and from that moment it was much easier to create the dxf and then import it on autocad, instead of "damaging the soul" to find a way to do the same thing with a lisp!
so my advice is to find the way to export to dxf: almost certainly your tool is able to do so.
just so you don't get dissatisfied, I'll tie you the lisp I did at the time (you'll notice that the file dates back to 1996!), maybe it can be useful as a starting point... .
 

Attachments

Thank you. I'll try your lisp.
Unfortunately the tool does not export directly to dxf, but in raw format or coordinates (both files are in text format, so editable with a common text program). to obtain the dxf you need a data drain program accompanied by the utility for creating the dfx.

what I wanted to avoid was to remain slave to these programs. in fact if I have to uninstall what I currently use most, I should reload it from the home site to get a new installation password. are programs that are provided free of charge, at least the part that concerns data unloading. the trouble is that often these sites after a few years disappear or change version to the software and I often find myself with a program that is no longer functional to me.
 
Thank you. I'll try your lisp.
Unfortunately the tool does not export directly to dxf, but in raw format or coordinates (both files are in text format, so editable with a common text program). to obtain the dxf you need a data drain program accompanied by the utility for creating the dfx.

what I wanted to avoid was to remain slave to these programs. in fact if I have to uninstall what I currently use most, I should reload it from the home site to get a new installation password. are programs that are provided free of charge, at least the part that concerns data unloading. the trouble is that often these sites after a few years disappear or change version to the software and I often find myself with a program that is no longer functional to me.
try to use a program I'm developing (è in beta!!).
allego il vlx to load with appload.
type rad and then send me the 'machine code' that is displayed.

the idea is that the program reads data files (in ascii format) of data recorder and 2d object drawings based on the codes assigned to points. all customizable.

on this page animation to understand the use: http://www.domenicoieva.com/rad-dal-rilievo-al-disegno.htm
 

Attachments

type rad and then send me the 'machine code' that is displayed.
Thank you! I saw animation on your site. I find it really interesting to manage codes and the ability to assign an action to each code. but above all the possibility to choose the separator between the fields of the record. my nikon, in fact, in the phase of data reception, does not accept some symbols as separators, so I am forced (when I go in reception) to open the text file to change those separators. If the job is short, but when the hit points are so many, this replacement job can become frustrating.

I'll explain. Once the survey is carried out in the country and returned to the office to download from the tool, often you have the need to process the resulting dxf by adding (always on cad) additional points that identify, for example, new dividers in the case of fractions of batches. At this point, in order to return to the country and materialize on the ground the new points studied at the coffee table with the cad, it is necessary that the instrument acquires a new work understanding of the old relief plus the points studied at the table, to carry out the phase of pickling. and at this point I encounter the difficulties I mentioned before; i.e. the instrument does not digest certain separators. because, whether I use autocad or another utility with which to export the coordinates of the points of the dxf... the tool, when I go in reception refuses them, forcing me to open the text file to replace the separators with those liked to my nikon.
I speak of records containing the 3 xyz coordinates of each point and its codes.



the code that is displayed is as follows:
(b)

the tool was connected to the com5
settings (in case they could be useful) for data transfer are:
baudrate 9600
Data bits 8
equality
stop 1 bit
 
Last edited:
I remember that rad reads a data file already present on the hd and does not connect to the tool.with the tool manuals you should understand the data structure that accepts... If you want to send me an example data file so I look at it.
code: 1600a7993879179225263
 
I opened a previously recorded work on the tool. The program asks me to define the codes. But I never use codes, preferring to do the old way and marking the descriptions on a notebook. However there is no problem, I will make some test book by recording the description codes of each point on the instrument. (these tools have too small buttons to write texts)

I downloaded the job and these are the corresponding files. I used xpad office for transfer.

the first file, (project 13) contains details for each point.
or, station from which reading was made, instrumental height, wrought point name, horizontal angle, zenith angle, inclined distance, prism height, reduced distance, difference in altitude.

the second file (project 13a) contains the xyz coordinates of each point

at this point, if I had to study on cad a divider and then materialize it on the ground going to pinch it with the instrument, I should do the following steps.

from autocad extract the coordinates of all points saving them in a text file. then let autocad check an identification number for each point.
open the file just created by autocad, delete the points names previously assigned by autocad, including the separator symbol immediately following the deleted name and finally prepare the tool for the data load.
My nikon at this point accepts everything. as a procedure is laborious, but I've been able to test it and it works.
 

Attachments

Last edited:
In practice, when I go to prepare the instrument in reception, this only accepts me and only a file that contains records with 3 coordinates (xyz).
so when I extract with autocad the coordinates of each point, from the resulting text file I am forced to delete the points identifiers, leaving only and only the coordinates.
when I go to retrieve a point from the tool (i.e. when I am in the pickup stage) the tool assigns to each point the autocad identifier assigns it. an identifier that can be different from what I originally assigned to the point at the time of its recording on instrument.
as this happens I don't know, but this is also reported in a video tutorial that the dealer nikon gave me when buying the tool.

That doesn't make me any trouble. the problem is to have to open the file to erase the data I said before. If the data is few there is no problem, but when the beaten points begin to be many, the job can be frustrating.
 
thank you said: I would not have had time in these days to put me down a lisp for tristus!
 
thank you said: I would not have had time in these days to put me down a lisp for tristus!
I understand the fear, in fact, after all I wrote anyone would be frightened, because of my prolixity in writing, which often doesn't facilitate me in summarizing my request and makes it look more complicated than it actually is.
to sum up everything, what I need is not very complicated.
for the data discharge phase I can arrange with the programs I have.

It is above all the phase of sending data to the tool that is a problem.
for me would be of great help a utility that prepares me a text file in which to write the 3 coordinates of each point, you visualize on video the identifiers that autocad assigns to every single point.

here is the format that my tool accepts when receiving data. (i.e. an identifier and the 3 coordinates, all separated from a comma).
100, 000, 000, 000,
101,-4,02,6.34,0.76,
102.-3.51.13.09.1.05.
103.0.37.6.24.1.36.
104,0.83,10.94,0.87,
 
Last edited:
Thank you. I'll try it. hoping you won't ask me to connect to their site to get the installation key. Unfortunately almost all programs of this type ask, during installation, to connect to the site to get the above installation key.
the comunquie became coordinate of objects (points circle lines...) from autocad in a file you can try my free coordinate program... there are several configurable parameters.http://www.domenicoieva.com/coordinate.html
 
the comunquie became coordinate of objects (points circle lines...) from autocad in a file you can try my free coordinate program... there are several configurable parameters.
It's what I do to send the data to the tool! It's fine.
I carry points numbers and coordinates.
in phase of export of the coordinates, I put the check on "cdf data separated by comma". After that I give a name to the file. your program then creates a .txt file.
file that I renounce in .csv only to make it recognize to the program data tranfer, which sends it to the tool.

a particular feature of these programmes is that they re-number points. i.e. when sending data to the instrument, I can no longer rely on the numbering of the original relief. benignly, this also happened with the old data transfer program that gave me with nikon (wintop download data, which with windows 8 does not turn well).
But it doesn't matter. with your program select the points and he displays to video the new numbering of points. so the coordinates and new points identifiers will be written correctly, separated by commas.

When I go to the country to make the new spikes studied at the coffee table, I bring the print of the relief with the new numbering. But as I said before, I was forced to do the same thing with the wintop downloading data.
 
Last edited:
I don't know if it's too much to ask, and I don't want to abuse your kindness, but it wouldn't be bad if there was a chance to get the name in the text placed next to the point, as an identification of the point itself... I'm a little programmer analyst.

I explain: if I, by autocad, draw 4 points (only 4 points) that describe any perimeter, autocad automatically assigns a progressive number to each point. or care highly if I had registered that point with the name 100 (or pf47) on the instrument.
at the first point I typed he assigns value 1, to the second value 2 and so on.
In fact, as I go to extract the coordinates with "set data" those points names are written on the export file.
It wouldn't be bad if you could reassign the old names to those points.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top