Jump to content

Austin Lee

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Austin Lee

  1. Speaking of the event structure, you could turn those nine cases into one if you present the enums in a cluster, and use cluster-to-array for a 1d solution. Or use a cluster of 9 pic rings for the display, and convert it to enums in the code.

     

    Oh I now understand how I could easily apply this to the Enum Displays updating. Also, I could use the oldval of the "X" enum in the event structure to check the validity of the moves and the newval to update the display. Thats a very helpful trick. If I combine this with more states instead of SubVIs then I could use local variables to reference the values of the enums instead.

     

    Thanks!

  2. Hey LAVA,

     

    I'm relatively new to Labview and I created a tool that allowed me to obtain and rename the bookmarks in a Microsoft Word 2007 Document through Active X using the RGT for Word. I have attached two VIs, the first is the method in application and the second is the method itself. It is important for me to point out that to my knowledge Microsoft Word doesn't allow you to rename bookmarks it only allows you the ability to copy or delete them. I believe that this method coupled with the RGT could allow others to do some easy report manipulation or programmatic auto fill of created fields. I must warn everyone that because I am just a beginner, my code is a bit lacking in proper style and the method application is a bit shaky, impractical, and tends to throw errors in its current state (I am working to improve it).

     

    I'm sure that there is a lot of feedback that can be given towards my code, style, and the inefficiency of the implementation of the method but the method itself is what I really want to share so that others can use it and implement something similar.

     

    I know that it could save a lot of time.

     

    Regards,

    Austin

     

     

    Bookmark Replace.vi

    post-29377-0-52681600-1360269566_thumb.p

    Bookmark Replacer.vi

  3. Hi I am relatively new to Labview (about a month of training) and I created a project that allows you to play Tic Tac Toe against an AI for practice. The VI itself works fine and you can play games properly in succession  My problem is that when the main level VI reaches the second event structure in the Idle>Turn Handler Case Structure the player turn case wont register to start a new game because it is waiting for an event from the enums. I am looking for a practical way of skipping this because if I add a new event in the second event structure it runs the new game case on start up as well.

     

    Any help with the project in general is welcome as well as style tips because I am learning.

     

    I'm hoping that somebody can provide me with some insight into my project.

     

    Thanks,

    Austin

    TicTacToe.zip

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.