I successfully got to the correct directory and can see the file in the anaconda prompt. when I put in the python RFD900_PC.py command I get two errors: could not open com port 6 and windows could not find the file specified. I don't understand what is happening as it should be connecting to com port 3. I checked and it is set to that in the file. Any ideas?
I know this is an old thread but figured I would give some feedback in case others are having the same issue. Make sure the com port is the one you expect it to be by looking in the device manager, right click the windows menu icon and select device manager, under ports you will see the com port numbers. This number needs to be the same in the RFD900_PC.py file, the com port number in the .py file needs to match the com port number shown in device manager. The com port will change if using another ftdi cable on the same computer or the same ftdi cable on a different computer. The com port number is unique to the cable/computer pair.
Post by David MSGC on Apr 27, 2017 21:05:43 GMT -7
"cannot find path specified" is not related to com ports, you are asking for a folder by the wrong name(a folder or file by that name does not exist). I would double check the name of the directory. "cd Desktop", then type "dir" to get a list of folders/files on the desktop and make sure the RFD folder is named what you expect it to be. It was originally named with underscores and not spaces, unless someone renamed your folder. If anything is named with spaces you will have to put the name in quotes when using Anaconda. If someone renamed your folder you will see the "new" names when you do a "dir" in the desktop folder.
Last Edit: Apr 27, 2017 21:07:06 GMT -7 by David MSGC
It looks like the RFD Ground Station folder has been moved or deleted from the desktop. Also the antenna tracker folder is missing and you have a file that is usually inside the antenna tracker folder on the desktop. If you can find the antenna tracker folder get the antenna_dualtracker.... file inside of it or it will not work, even though we are using v6 and not v4 I would still keep them altogether to keep updates easier and similar files don't get confused with others. You will also need to find the RFD folder since all of it's files need to be in the same folder as each other. If you cannot find the RFD or antenna tracker folders they are easy to get from git hub and I will be distributing instructions for updating from github in a couple days. In the meantime you can go to your desktop and right click the desktop, select "git bash here" at the prompt you will type: git clone github.com/MSU-BOREALIS/Antenna_Tracker.git This will create a new folder on your desktop with all the new antenna tracker code, leave all the files in the same folder, don't change the file structure. In the prompt make sure you are still on the desktop and not in the antenna tracker folder, the end of the promp should be ....\Desktop> If you are not on the desktop and are in the antenna tracker folder type: cd .. to move up a directory or close git bash and right click the desktop and select "git bash here" Once you are in git bash in the desktop directory you can now type: git clone github.com/MSU-BOREALIS/RFD_Ground_Station.git this will create a new RFD_Ground_Station folder on your desktop with all the RFD files, again don't change the file structure. In the RFD program you will have to enter the right com port per the RFD instructions and the antenna tracker program you will have to add your IMIE number to the v6/antenna_dualtracker..._v6.py around lines 167 where it has all x's for an IMIE number enter your IMIE number replacing the x's.
***** UPDATE TO THIS THREAD AS OF MAY 2, 2017 ***** I know this thread is about RFD, but there was some discussion about antenna tracker that I didn't want to leave behind and cause confusion later
There are changes to antenna tracker code and will be a couple more in May or June, please do a "git pull" to update your code. I will post link to video tutorial on git pull as soon as we have one, it should be at the eclipse.montana.edu page somewhere. We will be making additional announcements through EAR, email, and telecons for future updates.
**** WE WILL BE SHUTTING OFF THE 'OLD' DATABASE AND SERVER AROUND MAY 14, 2017 **** THE ANTENNA TRACKER CODE WILL HAVE TO BE UPDATED IN ORDER FOR THE ANTENNA TRACKER TO WORK ONCE THE OLD SERVER IS SHUT OFF ***** IF YOUR ANTENNA TRACKER CODE IS NOT UPDATED YOUR ANTENNA TRACKER WILL NOT WORK AFTER WE TURN OFF THE 'OLD' SERVER. *********
Last Edit: May 3, 2017 18:42:47 GMT -7 by David MSGC