Tom DeVito 6.17.2011

Start: 10:00

Creating a Library:

Com Console:

  • Got a bit annoyed with the Library not working so I decided to continue setting up the Com Console for when I have the Data Dictionary in it.
  • Made it so all the data elements of command and response were in a struct and changed the set get methods to work with this.

End: 6:30

6/19/2011 Note: I tried the library again on Sunday.  Its not giving me compiling errors anymore but I haven’t really tested it yet.  I will try to test it tomorrow.

Dong Shin 06.17.2011

  • PPM Chages
    • fixed a bug not saving Financial Status data correctly
    • recalculate the total – skip totals for Initiate, Commit, PM Actuals (duplicates)
    • duplicates (Initiate, Commit, PM Actuals) for Direct Cites grayed out (disabled)

Phil 6.17.11

7:30 – 4:00 VISIBILITY

  • Working on getting VNC or something similar runing on my Linux box
  • Installed VNC server according to the directions here: http://www.havetheknowhow.com/Configure-the-server/Install-VNC.html
  • Have the vnc server and client running, but can’t control the desktop. Could be because I’m logged into the server. Going to install updates, restart, and try without being logged in.
  • Got VNC running without a click of ‘OK’ on the server, but I still have to be logged in.
  • Brian has to fill out a (SPF?) form to get Jeff’s server onto both networks. Looks like we need some additional approval, too.

Tom De Vito 6.16.2011

Start: 10:00

Data Dictionary:

  • Found that you can’t compare char* directly.  First tried strcmp(char* first, char*second) but found this only compares the first char in string.
  • strncmp(char* first, char*second, size)  is the way to go.  Was originally using a defined maximum but Phil told me it would be better to make sure the string length is equal first then set the size to the string length.
  • getData(char* name) implemented
  • deleteItem(char * name) implemented
  • added toString() to print out current contents

Com Console:

  • Cleared all test code
  • Added sendBuffer and recieveBuffer to ComMgr
  • Added toBuffer methods to command, response, and state classes.

End: 6:30

Tom DeVito 6.15.2011

Data Dictionary:

  • Had very strange compiling errors.
  • Moved project to its own solution.  Problem was not resolved.
  • Eventually realized that DataElement.h was missing a ; at the end.
  • Changed addItem and DataElement to have the void* to the data in their parameters/constructor.
  • Changed addItem to return void.

Dong Shin 06.16.2011

  • cleaned up Flex workspace and projects for Flash Builder 4.5 – lot more warning(?)
  • PPM Changes
    • added FY clause in Financial Status to retrieve the matching Funding Request Data
    • fixed total amount calculation – use total from all appropriation in the year
    • reworking the calculation…..

Phil 6.16.11

8:00 – 4:00 VISIBILITY

  • FB 4.5 appears to be happy and integrated. Back to the cloud IDE
  • looking at the jEdit plug-in architecture, which has a nice example (http://www.jedit.org/users-guide/plugin-implement.html).
    • Oh, drat. jEdit can’t work with Web Start: http://www.jedit.org/FAQ/installation.html#id446561. This is due to the plugin architecture (i.e dynamic loading).
    • Eclipse appears to work with Web Start. On the other hand, downloading the Eclipse environment and using remote file access could be a lot less effort, and download time. My concern is that eclipse comes with java compilers, which take up room and slow the download.
    • According to this FAQ (http://wiki.eclipse.org/index.php/TM_and_RSE_FAQ), the best option is to install Eclipse on the server and remote desktop in with a VNC such as NX Server.
    • Set up an Ubuntu box in my office to play with.
  • Nothing going on with our probnlem server, except that more people are noticing that they can’t get their VMs set up either… Bill. D. did give us a nice shout out though 🙂

Tom De Vito 6.14.2011

Arduino to PC Communication:

  • Was able to pass a structure back from the arduino
  • recieveData gets the buffers pointer and writes to the buffer.
  • To make testing easier all this is still done within the ComMgr.

Data Dictionary:

  • Phil helped set up the data dictionary.
  • use strcpy(des, ori) to copy a char*.3
  • Anytime malloc or new is used, remember to free resources.
  • Still not sure how data is put into the data elements.

Dong Shin 06.15.2011

  • rebuilt workspace for Flash Builder 4.5 – kept giving warnings about previous version
  • built and deployed MavenAssist – 1.9.2.12
    • http://mavenassist.sourceforge.net/updates
    • installed in Flash Builder 4.5! – couldn’t install before
    • contains flexmojos:flexbuilder bug fix – set Bypass flexmojos:flexbuilder flag in Configuration
    • add these to enable M2_REPO variable within <configuration/> in flexmojos’ <plugin/> tag
      • <enableM2e>true</enableM2e>
      • <useM2Repo>true</useM2Repo>
    • seems MavenAssist don’t work with the M2REPO settings…

Phil 6.15.11

8:00 – 4:00 VISIBILITY

  • Testing flexMojosStandin – not working yet
    • Copied over the <libraryPath> children from the working version in CVS. No change
    • Changed <actionScriptProperties version=”3″> to <actionScriptProperties version=”3″>. No change
    • Changed <libraryPath defaultLinkType=”3″> to <libraryPath defaultLinkType=”0″>. Compiles now!
  • Not that I have a solution, looking for the minimum change that converts a flexmojos-generated file to a working one.
    • Changed <libraryPath defaultLinkType=”3″> to <libraryPath defaultLinkType=”0″>.
  • Added all the changes back into MavenAssist and added a checkbox to enable disable the flexMojos bypass.
  • No progress on our problem server today – now we have different groups saying that it’s someone else’s job to open the port

Phil 6.14.11

8:00 – 4:30 VISIBILITY

  • Forgot to bring the cat in off the deck.
    • Back now. Cat was happily sleeping in a patch of sun, with his chin on a paving stone. He was not all that interested in coming in.
  • Can build FGMUtils45 with maven, but not with FlexBuilder. Trying Mike’s test of rebooting. Nope. It looks like flexmojos is screwing up again. I’m going to try putting the flexMojosStandin() method back in, probably with a checkbox to enable, since this seems to pop up a lot.
  • Phone screen with Tim Lotz.
  • Indoc at 1:30.
  • Added a checkbox to Maven assist that allows you to bypass flexbuilder:flexmojos and use the internal .actionscriptproperties code. We’ll see if that helps with the current problem.

Tom De Vito 6.13.2011

start: 10:30

Communications Testing:

  • The Arduino’s Serial.available() alone will only recieve 1 bit.  It needs to be set equal to some number to receive more.
  • The Structure finally passed and casted correctly once I got the array to load properly
  • The original test structure had chars as its data members.  This worked with no problem.
  • The Arduino uses 16 bit integers while visual C++ defaults to 32 bit integers.  In order to pass structures with integer data members you have to make sure that you pass 16 bit ints.

#include <stdint.h>

int16_t var;

  • PC now can send properly and the arduino can recieve properly
  • Set up Arduino to PC communication.  Not working properly yet.

end: 6:30

Dong Shin 06.13.2011

  • installed Flash Builder 4.5 – needed SN from 4.0 to upgrade
  • SENSIAC Briefing (?) at 1:30 tomorrow!
  • PPM Changes
    • Grouped Funding Request data in Financial Status by encapsulating the UNION query into a SELECT statement and group it by uid and contract id – (SELECT * FROM (the UNION query) AS t1 ORDER BY uid, contractUid
    • Financial Status shows the one amount data from a funding request
    • disabled editing of amount data where amount is not set
    • double click to edit Contracts in Contracts Panel
    • double click to edit/view Appropriations in Appropriations Panel

Phil 6.13.11

8:00 – 4:30 VISIBILITY

  • 1:30 kickoff(?) meeting tomorrow.
  • Installing Flashbuilder 4.5
    • Installed, but when I tried to point my FB4 Eclipse to the new SDK, I got compile errors that Eclipse couldn’t find the player.
    • Looked around for help on installing FB4.5 as a plugin, and found this: (http://joeygutierrez.wordpress.com/2011/05/04/flash-builder-4-5-plugin/). It turns out that in the installation folder, under ‘utilities’, is the ‘Adobe Flash Builder 4.5 Plug-in Utility.exe’
    • Tried running the plug in utility, but it choked on my 64-bit version of eclipse, which amusingly enough FB4 had no problem with. Going to go download the latest Eclipse 32-bit version now…
    • Well, that appeared to work. Now we just have to put all the plugins together again.
  • FGMUtils chokes on DataGridColumn, trying out FGMFlexUtils45.
    • Which doesn’t have a pom file. WTF? Waiting for Mike.
  • Deployed Visibility3, Visibility Scripting on Jeff’s server
  • Added the accounts Brian asked for

Tom De Vito 6.10.2011

Fixing Communication:

  • Realized that the reason the ComMgr was not working was because I was trying to set properties which were DWORD with char*.
  • DWORD is a unsigned long
  • Set up a char[256] buffer on both the ComMgr side and the Arduino side to receive communications waiting to be decoded by type(command, response, state)
  • Made a struct to char array method