Best architectural approach ?

Hi,
We are in the process of creating a PoC to integrate WebLogic Web Services, Oracle Coherence and Oracle Composite Database. We have followed the below approach to integrate them...
1. Created a CompositeView in Oracle Composite by connecting to three different databases / flat files ( Oracle, MySQL & XML ).
2. Designed a Distributed Cache using Oracle Coherence on top of Oracle Composite ( with DB Cache Store implemented as read only ).
3. Have a WebLogic Web Service ( implemented using JAX-WS ) which queries Oracle Coherence for data.
Currently we have a single method exposed in our web service to take an orderId as an input and return a complex datatype ( plain Java Bean ) with one row of data. In DB cache store, we have implemented only the load() method to load each row from Oracle Composite in case there is a cache miss. Being a Poc, we have stuck to basics of coherence and web services. Do you have any better approach in implementing what we are trying out currently.
Thanks
Karthik

Have you looked into relative path's? that would solve the issue of different OS path names.
Also, you might want to consider the deployment descriptors you can use when compiliing, you can set enviroment specific variables like paths in there.

Similar Messages

  • Need best Architecture design for the following scenario

    Hi Experts,
    I need best architecture design for the following scenario:
    Sender: Mail
    Receiver: if sender body contain u201DApproveu201D, then call SOAP adapter, If SOAP adapter execute successfully, then  send Mail(SOAP adapter executed successfully) and SMS .  So receiver is SOAP, Mail and SMS.
    My current approach issue:
    Three message mapping:
    Mapping1: mail to SOAP
    Mapping2: mail to Mail
    Mapping3: mail to SMS
    In interface determinant>u201DSelect all three operation mappingu201D> u201Cselect order at runtimeu201D.
    Issue in current approach: For me first SOAP adapter should complete successfully, after that only my Mail and SMS operation mapping should execute:
    But problem is before success of SOAP adapter engine, Mail and SMS mapping completed or integration engine executed.
    Note: There is possible to fail the SOAP request in adapter engine.
    Kindly help me --> u201CAm I going correct way or want to change the architectureu201D?
    Thanks for advance!!
    Regards, Kumar

    What do you mean by successful execution of soap call?  Are you talking about Successful response (happy flow) from the soap call instead of application error ? Then based on the response you want to decide sending mail and sms.  How big call is your soap ?  If your soap interface is very simple I can give the other possible way.
    Sender sends the message, use mapping  to read the content and then do soap call in the mapping itself and after seeing the soap response decide about two receivers (mail and SMS).  If your soap call is very simple one, you can go for it. Otherwise I would not recommend this. The reason is you loose some visibility regards to monitoring during soap call in the mapping.
    Other option is go for CCBPM.  Here you receive the message, use send step to soap interface which is sync step. Then after seeing the response create another block with fork steps each for two senders mail and sms. If response bad then dont proceed or execute the next block. Simply use exeception or control step to jump out from the block,

  • Best architecture and design pattern to use

    I am currently designing a moderately sized LabView application and cannot decide on the best architecture/design pattern or combinations thereof to implement.
    The program basically polls an instrument connected to a serial port continuously at a 2-10Hz rate. When operator clicks a button to start a run, the polled data is then filtered, has math functions performed on the data, writes collected data to files, and produces reltime graphs and calculates point-by-point statistics. At the completion of a run, some additional data files are written. I pretty much know how to accomplish all these tasks.
    What is also required is main-vi front panel interaction by the operator to access a database (via a C# dll with .Net) to query for specifications to apply in order to determine pass/fail status. Setup conditions also need to be changed from time to time by the operator and applied to the data in real time (ie- a measurement offset). I have prototyped the database portion successfully thus far.
    For the main vi, I started off using the Top Level Application Using Events design pattern (Event structure within a while loop). Copious use of bundled clusters and shift registers keep the database data updated. I cannot figure out how to have the top level vi concurrently poll the serial device as outlined above. The Event structure is only active when defined control values change, and use of a timeout is no help since it prevent data from being collected while the user is accessing the database. All database and setup parameters must be applied to the data as it comes in from the serial port. Error trapping/recovery is a must.
    I believe what I need is two parallel processes running under my main vi (one for database and setup, the other for polling and data processing/display, but what would be the preferred choice here?
    Revert back to a polled loop in lieu of Events, use notifiers, occurrences, user-defined events, Producer-consumer loops?
    It�s been about 3 years since I have had an application on this level (which used a state machine architecture), and a lot has changed in LabView (using 7.1 Prof Devel). I am currently having a mental block while trying to digest a lot of features I have never used before.
    Suggestions Welcome!
    Thanks.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    I suggest a (3) state machine(s) architecture. The first is the user interface. Your main VI is a good start. Another state machine handles the instrument I/O (your serial polling). The third handles all data processing. The three loops run independently. Each has a wait to allow LV's scheduler to share CPU time among the loops. I like queues or functional globals for inter-loop communications.
    This allows a lot of flexibility. Each portion can be tested alone. Each can have different timing and priority.
    Spend some time thinking about what needs to be done and plan the structure carefully before you do any coding (except for little test programs to try new ideas).
    I also like Conway and Watts "A Software Engineering Approach to LabVIEW", published
    by Prentice Hall.
    Lynn

  • Best possible approach to add fields in an FPM WDA application

    Hi guys,
    Our SRM 7 has FPM based WDA views. Extending the customer include by appending fields alone will not work for us as some fields are dropdowns that will perform actions and display/hide other custom fields.
    I can think of the enhancement framework to enhance the views. Since i am knew to WDA and FPM I am thinking there is another easier way to do this.
    What is the best possible approach to fulfil this requirement?
    Regards
    Ali

    Thanks to responses from Chaitanya and Thomas.
    I managed to create additional fields(with action assigned) in the standard shopping cart screens.
    I extended the SRM header structure, added the custom fields of this structure in the header node of the context, and by binding the property of these fileds to the attributes, I don't have to code for the fields enable/disable when the transation is called in edit/create/display mode.
    However, I am still struggling with the dropdown(with action). They remain enabled, even when the data has been saved or the transaction is in display mode. Hints?
    Regards, Ali

  • What is best performing approach to report building in my case?

    Hi all,
    I want to know what is the best performing approach in the case of an overload of the system,
    understood as large number of concurrent operations.
    Each operation is a query that, in most cases, returns a large amount of data.
    I am interested in the approach that not create bottlenecks and slow down, blocks for a long time the system.
    The alternatives that I would like more information about are:
    1) reports built with the JDBC (JNDI) specifying "java:jdbc/xxxxdatasource"
    (taken from the oracle-ds.xml's jndi-name tag) as "Connection name (optional)"
    with the query written into the rpt file and runned by Crystal Reports that I think makes a direct connection to DB
    and integrated into Java with Java Reporting Component.
    This approach has also threads limits, depending on the version of the report engine.
    2) reports built with "Field definition only" with the query written and runned into the my application that call the report only through the resultSet to be displayed
    (reportClientDoc.getDatabaseController().setDataSource(resultSet, tableName , tableName);)
    My concern with this approach is that it seems to require loading all results into memory
    and generating the report in one big step.
    Is there a way to avoid this? Some-how to page through report data?
    I've also read that Crystal Reports can work with any data provider that implements ResultSet.
    Is this true? If so, could I create my own custom ResultSet implementation that would let me
    page through my results without loading everything into memory at-once?
    If possible, please point me to the documentation for this approach.
    I haven't been able to find any examples.
    If there is a better approach that I haven't mentioned, please let me know.
    Thanks in advance

    The first option is the best one for performance.  The only time you should use result sets is when you need to do runtime manipulation of the data through your application and is not acheivable in a stored procedure.

  • Best practice approach for seperating Database and SAP servers

    Hi,
    I am looking for a best practice approach/strategy for setting up a distributed SAP landscape i.e separating the database and sap servers. If anyone has some strategies to share.
    Thanks very much

    I can imagine the most easiest way:
    Install a dialog instance on a new server and make sure it can connect nicely to the database. Then shut down the CI on the database server, copy the profiles (and adapt them) and start your CI on the new server. If that doesn't work at the first time you can always restart the CI on the database server again.
    Markus

  • Best Architecture for Fortran Code with Line Numbers

    Hi all,
    I have large fortran 90 file (10+ pages) which I need to convert to LabVIEW.
    It contains several branching statements with Line Numbers, e.g.:
    1000 IF (condition) goto 2000
    I would like to know what is the best architecture to deal with this branching of the program.
    Should I break the sections (based on line numbers) into user events or states?
    Has anyone done similar conversions? 
    Cheers,
    Battler.

    battler. wrote:
    Hi all,
    I have large fortran 90 file (10+ pages) which I need to convert to LabVIEW.
    It contains several branching statements with Line Numbers, e.g.:
    1000 IF (condition) goto 2000
    I would like to know what is the best architecture to deal with this branching of the program.
    Should I break the sections (based on line numbers) into user events or states?
    Has anyone done similar conversions? 
    Cheers,
    Battler.
    I would insert a preliminary step where I would assign a descriptive name to each line number that is the target of a branch. The names become the names of the states (like Christian was hinting at) then diagram the code into a state transition diagram. The rest gets passed to a developer to complete.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Which would be the best NAC approach with thin clients up today?

    Hello guys,
    Which would be the best NAC approach using CAM/CAS infrastructure for thin clients? I guess nac agent is still not supported on thin clients/virtual desktops right?
    Would mac address authentication be the best option?
    Regards,
    Emilio

    Hello guys,
    Which would be the best NAC approach using CAM/CAS infrastructure for thin clients? I guess nac agent is still not supported on thin clients/virtual desktops right?
    Would mac address authentication be the best option?
    Regards,
    Emilio

  • Best architecture for testing multiple (8) serial devices

    I am not new to LabVIEW but am being tasked with a challenging project I want to be prepared for as best I can.  I am familiar with Event Structures and State Diagrams but feel these may not be adequate for the following specifications:
    1.  Most likely 8 serial devices need tested simultaneously
    2.  Tested every 2 hours for 48 hours
    3.  Records for each one must be created and saved at each interval
    I want to learn Queue's etc and am thinking a combination of producer consumer and the above two mentioned may be required.
    Any basic architecture recommendations that may work would be appreciated.  FYI, I have never used Producer Consumer.
    Thanks

    As tbob pointed out, the architecture will be fully dependent on the exact details of the problem.  That being said, I do have my two cents to put in.  In my work, I deal a lot with serial communication (too much, in my opinion); in some instances, I am dealing with the same device on different machines and in other instances, different devices talking on different ports on the same machine.  Regardless of what the implementation is, you will find that there is a lot of commonality to be found in serial IO (open port, close port, configure port, send ascii command, receive ascii data, block simultaneous attempts to R/W, etc, etc) that is really independent of implementation.  To me, this just screams for an object-oriented approach.  The ability to reuse or change the details of the code while limiting changes to the interface itself is awesome.  In your case, if you have 8 similar devices, I see 8 instances of a class which inherits properties from a Serial IO superclass; if we are dealing with different types, then you can exploit the inheritance features of objects to basically call 8 instances of different children of the Serial IO superclass. 
    All that being said, I think some of the details are missing as tbob pointed out.  However, instantiation of 8 objects will prevent some of the issues that might be associated with asynchronicity as all of the properties and methods would be associated with an instance. 
    Anyway, that's my thought.  Give me another week or two and I will probably have an example of this up.
    Cheers, Matt 
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Best as3 approach for this website...

    Hi everyone!
    This post will be a little bit long and I thank you in advance for the patience and help. Sorry for any (or all) English errors. I'm brazilian.
    Well, I want to reconstruct a website I have but now using as external .swf and .as files as I can. Also I need to change the way it works.
    I have problems with loaders but I'm decided to dive into the subject and put it into practice here, for the first time.
    The website will be really simple and here I have a scheme I just made to help you understand what are my doubts.
    How this is going to work?
    - When the user clicks a button, the current section will slide out (maybe unload?) while  the new section slide in. This is the basic functionality.
    - The website will have a home page when the user clicks the company logo.
    - In the scheme you see all 4 sections but only one will be visible. The others will be hidden by a  mask.
    To start, I guess the best thing I can do is built each section in a separeted .fla file to have 4 external .swfs to load.
    Then I thought about loading all 4 sections inside a sprite container. Then, "onSectionClick" slide the sprite to the right X position to show the correspondent section.
    Now, what's the best approach to achieve that? The obvious is that each section should load only when the user clicks a button. Should each seaction has its own loader? When is the user going to see the message "loading section" or progress bar? Should I slide the section in onLoadingComplete or should I slide it in and show the message/progress bar? Should I unload the current section when that slide out?
    I also thought about working with two sprites. One to loadSection and slideIn and another to load another section. Then, onSectionClick the currentSprite slideOut while the other slideIn and on background the first sprite unloads its content, change its X position and get ready to load another section when requested.
    I think that's all.
    I have this thing working but it's terrible because all sections load at once and there's no loading progress or whatsoever.
    And thanks again!

    thanks kglad!
    So every section will become a distinct part of the site.
    I was really thinking about making every section an external .swf instead of exporting movieClips from stage (linkage option). Which one is better?
    As I said, Andrei helped me with the loading process. Actually he's still helping me but with what he already taught me I think I'll be able to do the loading thing.
    Anyway, to make my life easier, imagine that all sections will tween to stage from the right side of it... to do that I'll have an onLoad method that will run when the loading process has finished. This method will call other two methods, slideOut and slideIn.
    slideIn will only bring the loaded .swf loader on stage (from the right side) while the slideOut will push the current .swf out of stage (to the left side), unload it and finally be positioned at the other side of the stage (right) to receive the next section when requested?
    Is this the best way to do this?
    I think this is so confusing that not even you will understand what I'm trying to say.

  • Best Possible Approach : Service Broker or replication?

    I have a business scenario. I have an application whose DB resides on SQL Server A. My application resides on SQL server B. Both SQL servers are on the same network. Server A has a table that is being constantly updated via a web application. We want that
    table to be on Server B. At present it is updated nightly from Server A to Server B.
    We want the changes to be replicated to server B in almost real time. 30 minutes delay could work.
    Now considering this business case what would eb my best options:
    1. Implement CDC on server A for the interested table ( Please note that CDC is only for 1 table, I'm not sure if this is possible) . Bring the table from Server A once to Server B using a Linked Server. Then use the CDC from server A to Merge and Update
    on table on Server b using a SP and Schedule this SP after 30 minutes.
    OR
    2. Use CDC and Service combination.
    OR
    3. use Replication.
    OR  ...???
    Any help will greatly be appreciated.

    Snapshot Replication is OK solution here.  You would need to set the snapshot period to 30 min or less. If you want changes to get populated immediately use transactional replication. Service Broker is the best approach since you wouldn't
    have to maintain infrastructures associated with establishing replication facility. But use of Service Broker will require some expertise. Also take a look at this product called SnipeDB framework SnipeDB.com SnipeDB framework would not replicate the
    table, but would allow any subscriber application to get an update on any change in your data.

  • What is the best MVC approach for designing Swing application

    Hi...
    I am designing an client/server application. In this I am using java swing for the front-end development. We decided on using MVC approach for the front-end design. I found that there are more than one approachs for designing in MVC.
    Which is the best way to model. To create your model taking View into consideration or Creating the Model taking the tables into consideration.
    Can anybody give help me out in this this is urgent. Thanks
    sai

    I'm not sure what you are asking, so I'll just ramble a bit and hope it helps.
    Create your model taking the view and the data into consideration. :-)
    Design a class to hold instances of the rows in your database that correspond (more or less) to the structure of the data. Add any needed methods to that data object to support the data that you might need for the view.
    For example, suppose your database stores a name in two columns (firstname and lastname). You pull that data from the database into a collection of Person objects into your model. Your Person class has two fields (and set/get methods) to hold that data. Now, in your view, you want to display the name as one string, so add a method to the Person object to get the full name (just by concatenating the two data elements).
    You have to take everything into consideration. How you are going to view the data as well as how it might be structured.

  • What is the best architecture for such app ?

    Each user will have independent block with info.
    For example
    - picture with info
    - timetable
    - favorite books
    He can show or hide each block.
    Some block can be obsolete in the future.
    Another block can be added in the future.
    First idea is put every info in user table.
    public class User
        public int UserId {get;set;}
        public string UserName {get;set;}
        //First block info
        public byte[] Image {get;set;}
        public string Deskription {get;set;}
        public bool IsInfoEnabled {get;set;}
        //Second block info
        public int TimeTableId
        public int TimeTableName
        public bool IsTimeTableNameEnabled {get;set;}
    So I get table which will be growing up in width ( i mean columns ).
    But I don't like to delete columns from these big table.
    That's why I decided to move all content block to separate table.
    Second idea :
    public class User
        public int UserId {get;set;}
        public string UserName {get;set;}
        public int InfoBlockId {get;set;}
        public int TimeTableBlockId {get;set;}
    public class InfoBlock
        public int InfoBlockId {get;set;}
        public byte[] Image {get;set;}
        public string Deskription {get;set;}
        public bool IsInfoEnabled {get;set;}
    public class TimeTableBlock
        public int TimeTableBlockId {get;set;}
    In second way scalability is better, but I will get more queries through numerous tables.
    What is the best way ? If you have your additional idea share it!
    My .NET Blog with projects and feedback.
    Since May 30, 2014 I am waiting for Microsoft fix
    these 2 bug. If you know how to speed them up, please help

    As your question is about architecture..
    The first question is: Do you want to follow a Code-First or Database-First design.
    Then you may choose the appropriate forum. From your post, I guess, it's Code-First. So take your wording as an outline. Thus you need a User class and blocks. As blocks can have different types, we need some polymorphism here. Thus it could be an IBlock.
    So that your concrete types derive from it:
    Instead of an interface it could be also an abstract base class:

  • Best Query Approach

    I have a scenario to display data from 2 tables combined. First table Named 'DayTable' consists of daily plan and actual. Second table named 'MonthTable' consists of Monthly plan and actual. I need to display last 6months data and the current month daily
    data.
    My output is like
    For this i wrote the query in 2 methods. One is using temp tables and another with out temp table. Please suggest the best apporach for this. Details are below
    Approach 1: Using Temp Table
    Declare @startdate date = CONVERT(DATE, DATEADD(dd, -DAY(DATEADD(MONTH, 0, GETDATE())) + 1, DATEADD(MONTH, 0, GETDATE())))
    Declare @endDate date = DATEADD(DAY, -DAY(DATEADD(MONTH, 1, GETDATE())), DATEADD(MONTH, 1, GETDATE()))
    CREATE TABLE #TEMP
    PlanDate NVARCHAR(100),
    [PastTrend - Plan] INT,
    [PastTrend - Actual] INT,
    [Current - Plan] INT,
    [Current - Actual] INT,
    ;With cte
    as
    Select @startdate sDate
    Union All
    Select DATEADD(day,1,sDate) From cte where DATEADD(day,1,sDate) <= @endDate
    INSERT INTO #TEMP
    SELECT
    REPLACE(CONVERT(CHAR(6), A.sDate, 106),' ',' - ') PlanDate
    ,NULL AS [PastTrend - Plan]
    ,NULL AS [PastTrend - Actual]
    ,SUM(B.PlanQuantity) AS [Current - Plan]
    ,SUM(B.Actual) AS [Current - Actual]
    FROM cte A
    LEFT OUTER JOIN DayTable B
    ON A.sDate = CONVERT(DATE,B.PlanDate)
    GROUP BY A.sDate
    SELECT
    FROM
    SELECT
    CONVERT(CHAR(3), datename(month,PlanMonth)) + ' ' + RIGHT(CONVERT(VARCHAR(4), YEAR(PlanMonth)), 2) AS PlanDate
    ,SUM(PlanQuantity) AS [PastTrend - Plan]
    ,SUM(Actual) AS [PastTrend - Actual]
    ,NULL AS [Current - Plan]
    ,NULL AS [Current - Actual]
    FROM
    MonthTable
    WHERE CONVERT(DATE, PlanMonth) >= CONVERT(DATE, DATEADD(dd, -DAY(DATEADD(MONTH, 0, GETDATE())) + 1, DATEADD(MONTH, -6, GETDATE())))
    group by PlanMonth
    UNION ALL
    SELECT
    PlanDate
    ,[PastTrend - Plan]
    ,[PastTrend - Actual]
    ,[Current - Plan]
    ,[Current - Actual]
    FROM
    #TEMP
    ) T1
    DROP TABLE #TEMP
    When i use Actual execution plan, Query Cost (relative to the batch) : 90%
    Approach 2: With out temp Table
    Declare @startdate date = CONVERT(DATE, DATEADD(dd, -DAY(DATEADD(MONTH, 0, GETDATE())) + 1, DATEADD(MONTH, 0, GETDATE())))
    Declare @endDate date = DATEADD(DAY, -DAY(DATEADD(MONTH, 1, GETDATE())), DATEADD(MONTH, 1, GETDATE()))
    ;With cte
    as
    Select @startdate sDate
    Union All
    Select DATEADD(day,1,sDate) From cte where DATEADD(day,1,sDate) <= @endDate
    SELECT
    T1.PlanDate
    ,T1.[PastTrend - Plan]
    ,T1.[PastTrend - Actual]
    ,T1.[Current - Plan]
    ,T1.[Current - Actual]
    FROM
    SELECT
    A.sDate AS OriginalDate
    ,REPLACE(CONVERT(CHAR(6), A.sDate, 106),' ',' - ') PlanDate
    ,NULL AS [PastTrend - Plan]
    ,NULL AS [PastTrend - Actual]
    ,SUM(B.PlanQuantity) AS [Current - Plan]
    ,SUM(B.Actual) AS [Current - Actual]
    FROM cte A
    LEFT OUTER JOIN DayTable B
    ON A.sDate = CONVERT(DATE,B.PlanDate)
    GROUP BY A.sDate
    UNION ALL
    SELECT
    PlanMonth AS OriginalDate
    ,CONVERT(CHAR(3), datename(month,PlanMonth)) + ' ' + RIGHT(CONVERT(VARCHAR(4), YEAR(PlanMonth)), 2) AS PlanDate
    ,SUM(PlanQuantity) AS [PastTrend - Plan]
    ,SUM(Actual) AS [PastTrend - Actual]
    ,NULL AS [Current - Plan]
    ,NULL AS [Current - Actual]
    FROM
    MonthTable
    WHERE CONVERT(DATE, PlanMonth) >= CONVERT(DATE, DATEADD(dd, -DAY(DATEADD(MONTH, 0, GETDATE())) + 1, DATEADD(MONTH, -6, GETDATE())))
    group by PlanMonth
    ) T1
    ORDER BY T1.OriginalDate
    Here Query Cost (relative to the batch) : 100%
    So can you suggest the best one. Actually i wrote the second method to avoid temp tables. If any failed in the query after create temp table, it will deleted. To avoid like problems and for simplicty i prefer the second. one. But now i am confused
    which is the best one in the performance wise also. 

    p>I will try to chnage as per your suggestions. Actually here the presentation is fully dynamic and the header is always used from the column name. So only i try to give the name with hyphen.
    I added the schema design of the table. The application uses multilingual so we use nvarchar. The tables are aggregated tables. The data populated daily or monthly using sql job
    CREATE TABLE [dbo].[MonthPlan](
    [IPCMonthlyVsActualId] [int] IDENTITY(1,1) NOT NULL,
    [IPCPlanMonth] [datetime] NOT NULL,
    [ModelId] [int] NOT NULL,
    [ModelName] [nvarchar](50) NOT NULL,
    [PlanQuantity] [int] NOT NULL,
    [Actual] [int] NOT NULL,
    [DifferenceQuantity] [int] NOT NULL,
    [ReasonCode] [nvarchar](max) NULL,
    [Remarks] [nvarchar](max) NULL,
    [Createdby] [int] NOT NULL,
    [CreatedDate] [datetime] NOT NULL,
    [CreatedIP] [nvarchar](30) NOT NULL,
    [Approval] [int] NULL,
    [UnApproval] [int] NULL,
    [ModelTypeName] [varchar](100) NULL,
    [ModelCategoryName] [varchar](100) NULL,
    [ModelColorName] [varchar](100) NULL,
    [ModelGroupName] [varchar](100) NULL,
    [ModelLocationName] [varchar](100) NULL,
    [ModelTypeId] [int] NULL,
    [ModelCategory] [int] NULL,
    [ModelColor] [int] NULL,
    [ModelGroup] [int] NULL,
    [ModelLocation] [int] NULL
    ) ON [PRIMARY]
    GO
    CREATE TABLE [dbo].[DayTable](
    [IPCDailyVsActualId] [int] IDENTITY(1,1) NOT NULL,
    [IPCPlanDate] [datetime] NOT NULL,
    [ModelID] [int] NOT NULL,
    [ModelName] [nvarchar](50) NOT NULL,
    [PlanQuantity] [int] NOT NULL,
    [Actual] [int] NOT NULL,
    [DifferenceQuantity] [int] NOT NULL,
    [ValuesetparameterId] [int] NULL,
    [ReasonCode] [nvarchar](20) NULL,
    [Remarks] [nvarchar](200) NULL,
    [CreatedBy] [int] NOT NULL,
    [CreatedDate] [datetime] NOT NULL,
    [CreatedIP] [nvarchar](30) NOT NULL,
    [Cell1Cell2Map] [int] NULL,
    [Cell3Actual] [int] NULL,
    [FB] [int] NULL,
    [Remarks2] [nvarchar](max) NULL,
    [Remarks3] [nvarchar](max) NULL,
    [Remarks4] [nvarchar](max) NULL,
    [Remarks5] [nvarchar](max) NULL,
    [Remarks6] [nvarchar](max) NULL,
    [Remarks7] [nvarchar](max) NULL,
    [Remarks8] [nvarchar](max) NULL,
    [Remarks9] [nvarchar](max) NULL,
    [Remarks10] [nvarchar](max) NULL,
    [Remarks11] [nvarchar](max) NULL,
    [Remarks12] [nvarchar](max) NULL,
    [UpdatedBy] [int] NULL,
    [UpdatedDate] [datetime] NULL,
    [UpdatedIP] [nvarchar](30) NULL,
    [ClosureFlag] [bit] NULL,
    [UnApproval] [int] NULL,
    [ModelTypeName] [varchar](100) NULL,
    [ModelCategoryName] [varchar](100) NULL,
    [ModelColorName] [varchar](100) NULL,
    [ModelGroupName] [varchar](100) NULL,
    [ModelLocationName] [varchar](100) NULL,
    [ModelTypeId] [int] NULL,
    [ModelCategory] [int] NULL,
    [ModelColor] [int] NULL,
    [ModelGroup] [int] NULL,
    [ModelLocation] [int] NULL
    ) ON [PRIMARY]

  • What's best architecture for DAQmx app with two operational modes?

    I have an architectural question.  I am writing an application which takes measurements from a custom sensor which has two modes of operation: 1) idle mode where two voltages are sampled slowly, run through a transform, and then the result is plotted such that the user can see the idle state of the sensor; 2) a testing mode where the user defines a testing time of some number of seconds then hits 'Go' and records high-speed acquisition for the specified number of seconds (with some sort of simultaneous real-time plotting) and then writes the data out to a file.  I am trying to use the 'Top Level Application using Events" VI template but have run into issues with the VI not responding to UI clicks when in an event case...I got around **some** of these issues but now I am stuck because I can't get the app to register an abort button click when in testing mode.  I think I am missing something when it comes to events as LabVIEW defines them.  (I'm a .NET programmer)  My basic question is what is the best top-level VI architecture to use for something like this?  I don't want to go down the wrong path and have to re-write the whole thing...
    **I did come up with a seemingly neat way to get a tab control to switch tabs from inside an event case...I look at the X, Y coordinates of a mouse click and if it is within one of the tab selector zones at the top, left of the control I programmatically swith to the corresponding tab...seems like there should be an easier way but it works.

    I think that the best would probably be a producer consumer type architecture  with events.  You can do a search in the example finder and find a good one. As for the events not responding, you probably just need to uncheck the check box for disabling the front panel until the event finishes. You will find this at the bottom of the dialog box for the event structure.
    Joe.
    "NOTHING IS EVER EASY"

Maybe you are looking for

  • Error Code 1

    I had problems with Photoshop Premier Elements 8 crashing.  I uninstalled both Elements and Premier Elements 8 and reinstalled them.  Now when I try to open either program I receive a message with error code 1 on it.  Can anyone help me with this pro

  • Accessing data at different levels in a chain of InputStream types

    Hi, I have a requirement to see both the pre- and post- filtered/processed InputStream data read through a chain of input streams. I?m assuming this is a fairly common requirement, and I have come up with a solution that works, but wanted to see if a

  • [Athlon64] whats wrong with my MB?

    i have 768mb of ram in my pc. runs fine. then i installed one more 256 mb of ram and my pc goes crazy. when i turn on the pc i always get error. says that it has uncover an error and had to shut down. i have a k8t neo with amd 64bit processor. anybod

  • Before I hit the button for a clean SL install

    In addition to my OS X drive, a second internal drive is my Time Machine partition. To overcome recurring performance issues that have followed me through several upgrades through 10.5.x, and then through 10.6, 10.6.1 and 10.6.2, I plan to make a 'cl

  • No auto-connect at home

    I've had this connectivity issue for about 6 months now. When I start my system in the morning, the computer starts normally, AIrport Express starts and green-lights, but none of my computers will auto-join my home network. All 4 are set to autmatica