Jump to content

LV User

Members
  • Posts

    12
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by LV User

  1. I am new to object oriented and I am interested in learning it. I have a problem that I am not sure what is the best way to solve in OOP design. For my test I use a Scope. I create a class called Scope and define the data type of my base class as Address, Set Horizontal settings. I will now create a inherited class from my base class for Model 1. The Model one is having the class datatype as my base class so I create overriding VIs that will let me set the values for Address and Set Horizontal Settings. 3 weeks later, customer wants to change the power supply from Model 1 to model 2. This model now has a new configuration called, Channel Range. I have written all my test code using the base class. Now my software has to support both my Model 1 and Model 2 at any time. What is the best way to handle this? Is there a simple way to add new configuration without much changes to my Test code that uses my base class. At any time I need to be able to swap between Model 1 and Model 2.

    The ways that I can think of are, In test code have a Case statement for just Model specific settings and where ever base class is applicable use the base VIs. I am not sure if it is the best way to do it.

    Thanks in advance

  2. I have a new requirement where I have 16 UUT to be tested in parallel. All the DUTs have their own separate input /output resources from the PXI. All the tests are same all the UUTs. I need to write a single program and be able to run for all the 16 UUTs in parallel. What is the best way to develop the test program.

  3. I have different customers using different version of labVIEW, I have all my reusable library stored in SCC (Perforce), Now I am having to manage my reusable components for multiple version of LabVIEW. What do you think is the best way to manage the code, I can do a branch of the code but it duplicates the code and every Issue I find, I will have to go and fix all the supported versions of LabVIEW. I am sure many developers would have gone through this, Can anybody suggest the best ways to do it. It will be also useful for many new engineers like me. Is there already a thread where we have discussed this ?

    With Regards

    Rajkumar

  4. How much time do you spend time in arranging the controls in the cluster ? We develop lot of Express VI and we use these kind on clusters in those express VIs. We spend much time on arranging the controls in the cluster in the front panel as shown below. Initially I had written a VI to arrange controls in cluster but I had to place it in project for it to be easily accessible under tools menu. Now I had created a RCF plugin to do this Thanks to JKI team :) . You can consider this as fifth menu option in Auto sizing Cluster. The image below will show two Clusters Cluster in the Left show the input cluster and the cluster in the right is the cluster that is cleaned up using the plugin. We need to select the cluster and Right Click to invoke the Arrange Controls RCF plugin. I thought this will be useful for people who develop clusters like me.

    Rajkumar B

    post-8685-12603426249_thumb.jpg

    Arrange Cluster Controls.zip

    • Like 2
  5. How many states do you have that you even thought of this?  Do you use the JKI State Machine or state headers?  The tree will separate into sections if your states have headers like "---------- Section ----------".  You can collapse/expand the states under these headers in the CaseSelect window.  This makes it easier to find the state you need.

    Regards,

    Jim

    Typically while debugging, we will be looking to someones code. We will not be really familiar with their naming convention of the State and also the way they organize the states. It will be time consuming and painful to find the states in their state machine. I always felt if there were search in the case selection it would be really useful for quickly navigating the cases. I had to debug very large state machine which had more than >30 cases.

  6. New Feature Request:

    It will be nice if we can have a search state Control on the top. It could be a combo box where user will type a search string and the combo box will populate all the relevant States which contain that search string. It could be such a way that as when the user types the closest match case could be automatically shown to the user... this will be really useful when there are many states

    Rajkumar

    • Like 1
  7. Convert you program into two parts. Application and Scripting engine. Let the application be as exe and this exe will dynamically load scripting engine VI in LabVIEW application Instance using its Port and run the Scripting Engine with Required inputs. This the only way to do if you want to build a scripting based software product.

    Rajkumar

×
×
  • Create New...

Important Information

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