Feldman Project Log

  • Strain gauge amplifiers need to have ground attached to negative on the power supply not V-
  • Attached is a Better Diagram for straing gauge amplifer set up
  • Increasing the gain on the amp and decreasing the offset makes strain gauges more sensitive but they tend to loose calibration easier so a higher deadzone is required
  • Pushing on bar right on motor1 makes motor 2 go clockwise, pushing left makes it go counter-clockwise
  • Motion is currently very jerky because it simply goes to angle and has to stop for a cycle before going again.  This is a problem in the stepper controller which needs to be changed anyways so that we can have a more analog input of speed.
  • Since there is no set velocity method we will probably have to set max velocity and change it on the fly.  I think setting it to a position that it will never be able to get to and changing max speed will give it a servo motor type functionality while still having accurate stop points if we need them later.  Need to add a set max_pos command to stepper controller and set max_speed so that it can be changed to negative when force is couter clockwise and positive for clockwise.  Max_speed will very proportionally to the amount of voltage registered.   The same principle will work for the controller motor(assuming it works at all) except max_pos will change depending on the force of the collision motor 2 encounters.
  • Calibrating the strain gauges is a little tricky.  Seems some combination of settings hold the calibration better.  There is a problem when the power cuts off that it doesn’t reset to what it shut off at.  Once its been on and off a couple times it seems to hold better.  This may be due to the difference in resistance between the strain gauges and the resistors or that the gain is set too high because of the resistance of the strain gauges. Might try using the the variable resistors to lower the resistances not sure if that will help.

Phil 3.25.2010

8:00 – 5:00

  • Meeting with S14 with another portfolio manager. Printed out the newest form for Dong to check over
  • More work on storing scripts. Added a description field. Need to integrate with mxml. Done
  • Odd bug – Getting the following error: Message: Remote Object Fault – Client.Message.Encoding Cannot create class of type  ‘com.edgeti.Utils.logging.LoggingEntry’. Detail: Type ‘com.edgeti.Utils.logging.LoggingEntry’ not found. The thing is, I’m not using edgeti.Utils.logging anywhere, so I wonder where that’s coming from. It should only be in the Visibility3 war, which I’m not referencing anywhere?

Dong Shin 03.25.2010

  • played with the query for a while…. finally got it!
    • basic algorithm –
    • SELECT *, (N-1) * FROM table ( LEFT JOIN table on (conditions) ) * N-1 WHERE (condition) (AND  (N-1 conditions))
  • ObjectUtils.copy() doesn’t work for Array???????
  • itemEditPreEnd and itemEditPostEnd added to control user inputs and display format
    • check for invalid inputs (other than numbers and .)
    • auto formats to two decimal places
  • 0 is treated as NULL in the Obligation/Outlay DataGrid
  • Save Obligation/Outlay data works!
  • somehow NULL fields show up as a single space character on the Obligations/Outlays DataGrid, need to look into this.
  • Phil got me more data to look at.

Feldman Project Log

  • Attempted to wire strain gauges.  Not working at the moment.
  • Called the guy at Industrologic.   The only thing I really got out of this was that the resistors had to be very close together which they are. He also recommended against changing the potentiometers on the VRO and VRG at this point. Besides that the conversation kinda went the way it goes when I try to explain to someone how to fix their computer over the phone and they don’t know where the control panel is.  I told him I would call tomorrow when your in so that maybe between the two of us we can figure it out.

Dong Shin 03.24.2010

  • Obligations and Outlays data retrieval working
  • formatted display data to two decimal points
  • obligation outlays canvas almost working….
  • the query kinds of works, but need some tuning…. cannot get rid of the null rows…

Phil 3.24.2010

8:00 -5:00

  • Nothing new at site
  • Working on getting a new method in ScriptFacades, but can’t get ScriptingServer to see the output. Grr. Had to close and open the project to get the change detected.
  • Got most of the user db interaction handled
  • Got started on saving scripts

Feldman Project Log

  • Got the buttons working so button 0 starts it button 7 stops it
  • Anytime a command is received make sure as part of the check that it isNew() and then after it runs it acknowledge() it so its no longer a new command.
  • Set output 0 to always be on so we will have power for the strain gauges
  • Powered up second motor that has completed strain gauge bar on it.  Holding torque seems high enough for our purposes not sure about how much it will be able to push back before stalling while moving.
  • Command, Response, and State all now display which device is receiving or responding.
  • Need to change the way motor moves so it can be interrupted while moving.  Currently it waits to stop before receiving new commands.

Phil 3.22.2010

8:00 -4:00

  • Ingested S14 Data
  • Noon meeting with Jim M – Got a lot of good stuff. A
  • Added list of available scripts and databases to Flex Scripting app

Dong Shin 03.23.2010

  • Add Project working
  • Program Manager and Program Supervisor information gets added to ProjectViewer on Project Builder
  • Financial information (Funding) can be added/removed from Project Viewer

Dong Shin 03.22.2010

  • set up users for Project Portfoli management
    • added additional fields to database table
    • modified AddUserForm and UserManagement
  • created ProjectViewer to display financial/funding data
  • met with Jim to clarify UI and work flow
  • created Add Project Form

Feldman Project Log

  • Added Output for command, response, and state.  Currently it does not tell you which device though will need to work on that next time.
  • Added bool isRunning function to steppercontrol so the program knows if the motor is running and sets and holds the state appropriately
  • Fixed the decision process might not be exactly the way its supposed to but it works.  Added move and reset states to PhidgetsExec’s states to diffientiate between forward and back commands.
  • Realized that motor going in reverse is negative velocity hence why it was going forward no problem but on the way back was being interrupted.
  • Currently does a 360 degree rotation and then goes reverse back to start.

Mike 3.19.2010

  • Added the ability for users to click on a specific map marker and edit the icon
  • The map will also look for an “icon” column containing the name of an uploaded icon, if it finds one it will display that icon instead of the default marker

Dong Shin 03.19.2010

  • started data definitions
  • discussed with Phil about design approach
  • added more information to user_info.user table to reflect the changes
  • created database and tables
    • contract
    • invoice
    • obligations_outlays
    • project
    • project_funding
    • project_cofunding
    • project_financials
    • relationship
    • relationship_type
  • defining relationships as it needs

Phil 3.19.2010

7:30 – 5:30

  • Added S2A role and a bunch of new users for Anne
  • Deployed the documentation
  • Spent some time with Dong working out how to handle the linkages in the data laid out by Jim yesterday. Here are the records as I have in my notes (additionally, note that each field(!?) needs to be able to store a STATIC/DYNAMIC flag and comments. My initial thought is that these fields default to some value, and any actual change is stored in a FIELD_STATE and COMMENTS table, since I’m guessing that they will be used infrequently:
    • Person Record
      • Last Name
      • First Name
      • Unclass Phone
      • Class Phone
      • JWCS email
      • SIPR email
      • Unclass email
      • Title (i.e. Project Manager, TRP Member, TST Portfolio Manager, etc)
      • Secretary for (Person Record/Cofund Record combo? Multiple)
    • Project Record
      • Project Number (I’m guessing this is a string)
      • Project Name
      • Project Description (can have classified parts)
      • TST Portfolio Manager (Person Record)
      • Co-funds (1+ Co-Fund Records)
    • Cofund Record
      • Project Manager (Person Record)
      • TRP Member (Person Record)
      • Financial Analyst (Person Record)
      • “Secretaries” – people who are authorized to enter data for someone else (Person Record)
      • Lab Location (City and State)
      • Period of Performance (Start and End)
      • Funding Source(s) (Funding and UFR Records)
      • Unfunded Requests (Funding and UFR Records)
      • Supplemental (Funding and UFR Records)
      • Contract (Contract Record)
      • MIPR Number
      • Invoices (Invoice Record)
    • Funding (And Unfunded Request) Record
      • Funding Source
      • Name
      • Amount
      • Remarks
      • Fiscal Year
    • Contract Record (For prime only)
      • Contract Number
      • Vendor Name
      • Vendor City
      • Vendor State
    • Invoice Record
      • Number
      • Date Sent
      • Date Received
      • Amount
  • Rolled in Mikes icon-drawing changes
  • Going to try to spend a minute or two on script handling. Hey! Got it working!