sid5432 / pyOTDR

Simple OTDR SOR file parser written in Python
GNU General Public License v3.0
71 stars 28 forks source link

I'm having problems. I need help #46

Closed WongyDongy closed 6 months ago

WongyDongy commented 6 months ago

I did the pip install of the package yet I'm confused on how to exactly run the parser. You mentioned to parse the file you just type "pyotdr my_file.sor" yet thats not working and I'm sure I'm missing something here. I'm new to Github so I'm not exactly sure what how I'm suppose to run the parser after I do the install. Is there a script I'm suppose to run this command through or do I run this command through the terminal? I tried to run the command through the terminal but its saying it isn't recognized. Please help me

WongyDongy commented 6 months ago

I figured it out! It was my PATH. If anybody is having troubles you have to find the pathway for the pyOTDR.exe and then run the command. Just for safe measures I put the pyOTDR.exe as a PATH in my environment variables. Once you get command prompt to recognize the '"pyotdr" command then all you have to do is put your otdr files in the same folder as the executable. Also this has to be ran threw command prompt.

Thank you guys for writing this parser. I don't why but these companies never allow raw data files as outputs and when they do they never want to explain what values its plotting even when you are a customer of their products. Thank you guys again.