Jump to content

Read data of basesystems


---
 Share

Recommended Posts

Hi,

I am wondering if there is a way to get XYZ and vectors of stored basesystems without running special program on Calypso.

I would like to create an app which will scan basesystems and show their origin on machine coordinates.
All i saw was some type of encrypted data ( never found info about "BOSS 7" files ).

My colleague run program and it was going straight to collision with granite table - so i would like to see where was it's origin.
Link to comment
Share on other sites

It happens that I did almost exactly this some weeks ago. Do you have PCM?

I made a program which goes through all base alignments by a previously created list and reads the vector and matrix variables from the BOSS7 file (thx to Eric for the infos you sent me long ago!). However, I don't know how to access BOSS7 files without Calypso. Since this is a Smalltalk-specific binary storage format it's probably difficult to read from it outside of the Smalltalk environment.

Be that as it may, my program then writes all the values to a CSV file. The final calculation (multiplying vector with matrix) is done in an Excel sheet, but you may as well code it in PCM. For me it was more convenient to do it in Excel.

But before doing all that, you might want to take a look at the PCM function writeDiffCoordSysToFile, which is said to create the same values. I haven't tried it yet, but if it works, it would be way more convenient than fiddling with BOSS7 files.

Here's the link to my thread: viewtopic.php?t=10792
Link to comment
Share on other sites

Thx Norbert,

unfortunately i don't have PCM licence. I'll try something with Calypso then.
It would be nice if those files were readable easily.

Perhaps one day I'll break that storage 🤣
Link to comment
Share on other sites

Please sign in to view this quote.

I can confirm, that on Calypso even without PCM you can call this code to save that - I putted into element result that and it saved some data. ( ord used to get ZERO or ONE number )
ord( writeDiffCoordSysToFile("BASE", "MCS", "coord_diff.txt") )
Link to comment
Share on other sites

The link I put in the post shows how to multiply by the rows, but here it seems you need to multiply by the columns. I don't know why it's different, but it worked for me.
Link to comment
Share on other sites

Well I am mostly concerned about origin - not so much for vectors.
Next thing i'll do is make a program with 3D space ( something like offline station ) where will be shown positions of programs.
Perhaps i'll just write down positions and link that info into pictures of fixtures ( last time colleague put fixture as photo, but maybe i moved origin due some process and forgot to make new picture )
Link to comment
Share on other sites

Please sign in to view this quote.

Yes, i thought the same way at first. But I had to realize that the X/Y/Z I was reading from the BOSS7 is NOT always the correct origin, but a vector, which only gives correct values if correctly multilpied with the matrix. If the alignment is not rotated relative to the machine system, you might notice no difference. But with rotated alignments you may get wrong coordinates if you don't multiply with the matrix (e.g. negative X offset).
I can only speak for the variables read from the BOSS7 here, I did not compare them to the output of the PCM function.
Link to comment
Share on other sites

 Share

×
×
  • Create New...