Relationship between DE/WM with Applications
Hello guys,
I am wondering if there is any comment on the relationship between your DE/WM and the applications installed in there. Let me explain my case.
I want a light and fluid system where I can use my apps without worries and using only the necessary amount of resources from my machine. I end up choosing the i3WM, however I noticed that the Libreoffice suite usually freezes when I am using, such thing was really uncommon when I had my XFCE.
This is possible to be happening due to the WM only?
I think my concern is more about the curiosity of figuring this out, than any reportable bug because it is not consistently happening.
Cheers,
Bartuka!
There are a few standards defining the interactions between WMs and client programs/windows. Most important would be Xorg's ICCM. This has been build upon byt the freedesktop's EWMH. EWMH is and always was supposed to be a suppliment on top of the ICCM. But, apparently, the most recent version of a popular toolkit has decided to ditch compatibility with the ICCM and only work through EWMH messaging systems.
This is fine for that toolkit when the people who make that toolkit also make a very widely used and influential WM/DE/Borg-Collective. All of their tools work together quite well, but if you use some of their tools, you may need to commit to using only their tools as they have decided to break ties with the rest of the X11 world (arguably this might not be an issue for long if Wayland gains as much traction as some seem to suspect it will).
XFCE has bowed to the pressures from that one version of that one toolkit. i3wm has not done so and instead remains compliant with existing standards. So the problem is not with your WM, but with the toolkit used by recent versions of libreoffice. Don't complain to the LO people, though - unless it's a suggestion that they use a different toolkit. Complain to the GTK3 people ... if you want, they probably wont listen as you are not using GNOME.
Similar Messages
-
What is the relationship between tcode 'SOLAR01' with 'SOLUTION_MANAGER'?
Hi all,
Can you tell me what are relationships between tcode 'SOLAR01' with 'SOLUTION_MANAGER'? My current system can't assign messages to the issue at 'SOLAR01'. But, messages are able assigned to issues at 'SOLUTION_MANAGERS'. How can it happen? What cause this phenomena happen?
Best Regards,
Chee Boonmost probably you don't have the authorization to create the messages in SOLAR01, but you have in DSWP...
Cheers
What cause this phenomena happen? Not "What" - "Who". And the answer is:
SAP -
How to give relationship between two tables with comon column with between oprator
Hi Folks,
I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables.
I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
Inventory Details Table having a column Card No and inventory Header Table having columns From card No and To Card No.
I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
Your help would be greatly appreciated .
Regards
hasthi.
email:[email protected]Hi Raju,
We have two way that we can relate to the table either join or quality condition use following syntax/Query for relating two tables
select * from Inventory_Details ID inner join Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
or
Select * from Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
Hope this will help you
Niraj Sevalkar -
How to find the table relationship between BSEG-BELNR with CE11000 table.
Hi,
Please help me to find out the table relationship between BSEG with CE11000 table.
I have BSEG-BELNR value.
Thanks in Advance
ShankarHello,
BAsically the relationship can be foundon the basis of cost centre it will be good if you paste the structure ce11000.
I have worked on it and as far i as i can recall it contain value fields right...like vv205,vv305 etc?
Provide me more details.
Are you preparing some reconcillation report for costing based COPA or Account based COPA..?
Hopefully will help you out..
Regards,
Nabheet -
Linkage between idoc fields with application tables
dear sir / madam ,
i want to know the post the KASSIERER 1000000001
CSHNAME Cash Customer segment name E1WPB01 of basic type WPUBON01 message type WPUBON into the vbrk header table .as the fields of segments KUNDNR moves to kunrg of vbrk .where is the linking so that i need to update the rest of the fields when i processed the idoc into the system .
thnxs,varungoto tcode : WE62 --> give the BASIC Type name & check the documentation.
In this documentation, you can see the table name & fields connections.
You can also see the mendatory & optional fields here. -
CRM - Bapi for creating relationship between BPs with sales area data
Hi
I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
Example - I would like to create relationship type CRMH03.
Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
Does anybody know such a bapi?
Regards
RadekHey Radek,
I am actually looking for the same functionality. Were you able to find a solution although no one replied to your question in this thread? If so, it would be very helpful for me to know. Maybe you have to combine more BAPIs in order to add the organization information to the relationship. But I have no idea how.
Best Regards
Mirko -
Relationship between condition type and payment term
Hi,
I created a purchase order (only 1 item) with with payment term "Within 14 days 2 % cash discount" So a condition type SKTO auto added for the item with discount is 2%.
can anybody show me the relationship between payment term with the condition type and the IMG T.code to make this relationship?
Thanks
LongIf you go to IMG - MM- Purchasing - conditions- Define price determination process - Define Condition types
For SKTO the condition category is E- Cash discount
For this condition type which is defined in the calculation procedure , the system internally derives a percentage from the terms of payment and inserts it in the condition type with the category E -
Can you tell me relationship between company code and shipping document
how to make the relationship between shipping document with company code .
i have selection criteria which having company code and shipping no.
but i am not able to make relationship, so please find and tell me the relationship table structure
Regards,
SivaHi Siva,
Read table TVKO to get the sales organizations (field VKORG) for the company code (BUKRS). This query might result into multiple VKORG entries.
Read deliveries (LIKP) with VKORG as input to get all deliveries for the sales organziation.
Regards,
Frank Umans -
How to create tables and relationship between ?
Hello everybody,<o:p></o:p>
I have three table with structures as follow:<o:p></o:p>
<o:p> </o:p>
Table1
contains information on ledger accounts,and
Table2 contains Groups of the detailed
accounts.
When defining ledger
accounts , we must associated them with
groups of detailed accountsthat
are
set
by the
Check
boxes. groups of detailed accounts are three
levels, At each level, there are fifteen
groups as follow:
1_others ,2_People ,3_companies ,4_
Cost centers ,5_projects ,6_
Letter of Credits ,7_ Current
Accounts ,8_
Banking facilities ,9_
Commodity ,10_ Branches
aggregation ,11_ Purchase
Contract
Services ,12_
Sales Contract
Services ,13_
Export Products ,14_
Control account ,15_
Months.Table3 contains detailed accounts information that should associated with groups of detailed accounts(fifiteen groups).
In addition, we
have in our program four combobox,
detailed accounts must be
linked to the detailed groups
so that, by selecting one ledger account in combobox1 it should display detailed accounts of level1 in combobox2 ,detailed accounts of level2
in combobox3 and detailed accounts of level3 in combobox4.<o:p></o:p>
<o:p> </o:p>
How
to design tables and the relationships between them, so
with select the ledger account I can see the detailed
accounts of per level in other comboboxes?<o:p></o:p>
<o:p> </o:p>
I've
spent
a lot of time
on this
subject
but
I have
not been able
to
solve this problem.<o:p></o:p>
Please help me,<o:p></o:p>
Best regards.<o:p></o:p>I am guessing....I hope it is helpful...
>1_others ,2_People ,3_companies ,4_
Cost centers ,5_projects ,6_
Letter of Credits ,7_ Current
Accounts ,8_
Banking facilities ,9_
Commodity ,10_ Branches
aggregation ,11_ Purchase
Contract
Services ,12_
Sales Contract
Services ,13_
Export Products ,14_
Control account ,15_
Months.
Setup a table for each.
>Table3 contains detailed accounts information that should associated with groups of detailed accounts(fifiteen groups).
Setup the AccountDetail(1,2,3 level) tables with 15 NULLABLE FOREIGN KEYs. If some group is not applicable for an FK, keep the value NULL, otherwise enter a valid PK value.
>Table1
contains information on ledger
accounts,and Table2 contains
Groupsof the detailed
accounts
Setup LedgerAccount tables.
Setup LedgerDetailXref table with FOREIGN KEYS to LedgerAccount & AccountDetail(1,2,3) tables.
FOREIGN KEY examples: http://www.sqlusa.com/bestpractices2005/bankdatabase/
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
What's the relationship between Agent and JMX-instrumented applications?
Hi, I'm a beginner of EM and JMX. I'm trying to integrate my application with EM. After reading some documents, I find I need to make my application JMX-instrumented first and then design the plug-in. But I'm still a little confused about the relationship between the Agent and the JMX-instrumented appliactions.
Here is what I'm confused:
1. Should the EM Agent be installed in the host where my JMX-instrumented application is installed? If this is true, then that will mean Agent cannot monitor the remote resource. But it sounds not reasonable.
2. When making the application JMX-instrumented, we should use the platform MBeanServer or create our own MBeanServer? Do they have a major difference? and will it impact the plug-in design?
Thanks in advance.Answers to your queries:
1. Should the EM Agent be installed in the host where my JMX-instrumented application is installed? If this is true, then that will mean Agent cannot monitor the remote resource. But it sounds not reasonable.
Its not necessary that EM Agent should be installed on the same host where JMX-instrumented application is/are installed. EM Agent has a fetchlet (named OJMX) that can be used. Refer to [Management Using Web Services and JMX|http://download.oracle.com/docs/cd/B19306_01/em.102/b16246/web_jmx.htm] for more details on emjmxcli tool, which can help to build the plug-in which can monitor the MBeans. [EM Extensibility Guide|http://download.oracle.com/docs/cd/B19306_01/em.102/b16246/toc.htm] contains all the details for building a plug-in.
2. When making the application JMX-instrumented, we should use the platform MBeanServer or create our own MBeanServer? Do they have a major difference? and will it impact the plug-in design?
To best of my knowledge, plug-in design doesn't get impacted -
Problem with 1:many relationship between entity beans.
Hi All!
I have two tables TMP_GROUP and TMP_EMPLOYEE with following fields:
TMP_GROUP: ID, CAPTION, COMMENT, STATUS.
TMP_EMPLOYEE: ID, LOGIN, GROUP_ID.
For this tables i create two entity beans GROUP and EMPLOYEE respectively.
The relationship looks like this
descriptor ejb.xml:
<ejb-relation>
<description>description</description>
<ejb-relation-name>employeesOfGroup</ejb-relation-name>
<ejb-relationship-role>
<ejb-relationship-role-name>com.mypackage.GroupBean</ejb-relationship-role-name>
<multiplicity>One</multiplicity>
<relationship-role-source>
<ejb-name>GroupBean</ejb-name>
</relationship-role-source>
<cmr-field>
<cmr-field-name>employees</cmr-field-name>
<cmr-field-type>java.util.Collection</cmr-field-type>
</cmr-field>
</ejb-relationship-role>
<ejb-relationship-role>
<ejb-relationship-role-name>com.mypackage.EmployeeBean</ejb-relationship-role-name>
<multiplicity>Many</multiplicity>
<relationship-role-source>
<ejb-name>EmployeeBean</ejb-name>
</relationship-role-source>
</ejb-relationship-role>
</ejb-relation>
descriptor persistent.xml:
<table-relation>
<table-relationship-role
key-type="PrimaryKey">
<ejb-name>GroupBean</ejb-name>
<cmr-field>employees</cmr-field>
</table-relationship-role>
<table-relationship-role
key-type="NoKey">
<ejb-name>EmployeeBean</ejb-name>
<fk-column>
<column-name>GROUP_ID</column-name>
<pk-field-name>ejb_pk</pk-field-name>
</fk-column>
</table-relationship-role>
</table-relation>
Now i implement business method:
public Long addEmployee(String login, long groupId) {
Long result;
try {
EmployeeLocal employee = employeeHome.create(login);
GroupLocal group =
groupHome.findByPrimaryKey(new Long(groupId));
Collection employees = group.getEmployees();
employees.add(employee);
result = (Long) employee.getPrimaryKey();
} catch (CreateException ex) {
result = new Long(0);
} catch (FinderException ex) {
result = new Long(0);
return result;
When i call this method from web service, the following exception is raised:
com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception in method com.mypackage.GroupLocalHomeImpl0.findByPrimaryKey(java.lang.Object).
P.S.
1) I have transaction attribute set to "Required" for all methods of all beans
2) I have unique index for each table:
TMP_GROUP_I1: CAPTION
TMP_EMPLOYEE_I1: LOGIN (however i think GROUP_ID must be added here too)
3) I tried many:many relationship with this tables and it works fine
4) I try another implementation of addEmployee method with
EmployeeLocal employee = employeeHome.create(login, groupId);
without using GroupLocal cmr-field and GroupLocalHome findByPrimaryKey method, the result is same error.
Can somebody help me with this problem?
Thanks in advance.
Best regards, Abramov Andrey.I have posted excerpts from my orion-ejb-jar.xml file in this posting: Problem mapping a 1:M relationship between two entity EJBs w/ a compound PK
Sorry for the duplicate postings, but I was getting errors on the submission.
April -
Relationship between NetWeaver PI and Composite Application Framework
I am new to PI and CAF and don't understand the relationship between these technologies. They both seem to allow users to identify and integrate application services.
Are they complementary? Is PI required for using CAF, or only in some instances? Is PI only needed if the application services are coming from both SAP and Non-SAP environments?
It would be appreciated if someone could shed some light on this for a generally non-technical person. I keep reading the PI and CAF product literature and can't clearly see the relationship.
thank you.
JonathanHi
Please go thru the below discussion,
PI 7.1 advantages related to ESOA ? (check pushkars comment)
about the installation...
Re: CAF on PI7.1 stack.
Regards
Ramg -
Problem with a 1:M relationship between two entity beans
I am having trouble trying to implement a 1:M relationship between two EJB2.0 entity beans using and EJBQL query. I have an ApplicantEJB, which contains a collection of phone numbers. The applicant table in the database has one primary key, applicant_id. The applicant_phones database table has a compound primary key--applicant_id and phone_type_id--so I have implemented a custom PK class to represent this, PhonePK. I have implemented a findByNameAndPhone method in my ejb-jar.xml file with the following syntax:
SELECT object(a) FROM applicants a, applicant_phones p where a.applicantID = p.applicantID and a.name = ?1 and p.phoneNumber = ?2
If I deploy this, Orion/OC4J translates the query in the orion-ejb-jar.xml with an incorrect reference to the applicant_phones.applicant_id column:
SELECT a.applicant_id FROM applicants a , applicant_phones p WHERE ((a.applicant_id = p.applicantID ) AND (a.name = ?) AND (p.phone_number = ? ))
I must have something wrong with the ApplicantEJB and PhoneEJB primary key mappings in my orion-ejb-jar.xml file, but I have tried many different combinations of values and keep getting them overwritten by the container with each deployment. Why is Orion/OC4J defaulting the applicant_id reference to the ob[i]Long postings are being truncated to ~1 kB at this time.I have posted excerpts from my orion-ejb-jar.xml file in this posting: Problem mapping a 1:M relationship between two entity EJBs w/ a compound PK
Sorry for the duplicate postings, but I was getting errors on the submission.
April -
Hi,
SharePoint 2010 Backup has been taken from production and restored through Semantic Tool in one of the server.The wepapplication of which the backup was taken is working fine.
But the problem is that the SharePoint is not working correctly.We cannot create any new webapplication ,cannot navigate to the ServiceApplications.aspx page it shows error.Even the Search and UserProfile Services of the existing Web Application is not working.Checking
the SharePoint Logs I found out the below exception
11/30/2011 12:14:53.78 WebAnalyticsService.exe (0x06D4) 0x2D24 SharePoint Foundation Database
8u1d High Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
11/30/2011 12:14:53.78 WebAnalyticsService.exe (0x06D4) 0x2D24 SharePoint Foundation Topology
2myf Medium Enabling the configuration filesystem and memory caches.
11/30/2011 12:14:53.79 WebAnalyticsService.exe (0x06D4) 0x12AC SharePoint Foundation Database
8u1d High Flushing connection pool 'Data Source=urasvr139;Initial Catalog=SharePoint_Config;Integrated Security=True;Enlist=False;Connect Timeout=15'
11/30/2011 12:14:53.79 WebAnalyticsService.exe (0x06D4) 0x12AC SharePoint Foundation Topology
2myf Medium Enabling the configuration filesystem and memory caches.
11/30/2011 12:14:55.54 mssearch.exe (0x0864) 0x2B24 SharePoint Server Search Propagation Manager
fo2s Medium [3b3-c-0 An] aborting all propagation tasks and propagation-owned transactions after waiting 300 seconds (0 indexes) [indexpropagator.cxx:1607] d:\office\source\search\native\ytrip\tripoli\propagation\indexpropagator.cxx
11/30/2011 12:14:55.99 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
75dz High The SPPersistedObject with
Name User Profile Service Application, Id 9577a6aa-33ec-498e-b198-56651b53bf27, Parent 13e1ef7d-40c2-4bcb-906c-a080866ca9bd failed to initialize with the following error: System.SystemException: The trust relationship between the primary domain and the trusted
domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection
sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName()
at Microsoft.SharePoint.Administration.SPAcl`1.Add(String princip...
11/30/2011 12:14:55.99* OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
75dz High ...alName, String displayName, Byte[] securityIdentifier, T grantRightsMask, T denyRightsMask) at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)
at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider
persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)
11/30/2011 12:14:56.00 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Topology
8xqx High Exception in RefreshCache. Exception message :The trust relationship between the primary domain and the trusted domain failed.
11/30/2011 12:14:56.00 OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Timer
2n2p Monitorable The following error occured while trying to initialize the timer: System.SystemException: The trust relationship between the primary domain and the trusted domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection
sourceSids, Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type
targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName() at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, Byte[] securityIdentifier, T grantRightsMask,
T denyRightsMask) at Microsoft.SharePoint.Administrati...
11/30/2011 12:14:56.00* OWSTIMER.EXE (0x1DF4) 0x1994 SharePoint Foundation Timer
2n2p Monitorable ...on.SPAcl`1..ctor(String persistedAcl) at Microsoft.SharePoint.Administration.SPServiceApplication.OnDeserialization() at Microsoft.SharePoint.Administration.SPIisWebServiceApplication.OnDeserialization()
at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid
id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64
currentVe...
Please guide me on the above issue ,this will be of great help
Thanks.I have same error. Verified for trust , ports , cleaned up cache.. nothing has helped.
The problem is caused by User profile Synch Service:
UserProfileProperty_WCFLogging :: ProfilePropertyService.GetProfileProperties Exception: System.SystemException:
The trust relationship between the primary domain and the trusted domain failed. at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids,
Boolean& someFailed) at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) at System.Security.Principal.SecurityIdentifier.Translate(Type
targetType) at Microsoft.SharePoint.Administration.SPAce`1.get_PrincipalName() at Microsoft.SharePoint.Administration.SPAcl`1.Add(String principalName, String displayName, SPIdentifierType identifierType, Byte[]
identifier, T grantRightsMask, T denyRigh...
08/23/2014 13:00:20.96* w3wp.exe (0x2204)
0x293C SharePoint Portal Server User Profiles
eh0u Unexpected ...tsMask) at Microsoft.SharePoint.Administration.SPAcl`1..ctor(String persistedAcl)
at Microsoft.Office.Server.Administration.UserProfileApplication.get_SerializedAdministratorAcl() at Microsoft.Office.Server.Administration.UserProfileApplication.GetProperties() at Microsoft.Office.Server.UserProfiles.ProfilePropertyService.GetProfileProperties()
Please let me know if you any solution found for this?
Regards,
Kunal -
1-to-1 Relationship Between UI and subVI Data Cluster
Discussion continued from here.
In summary:
JackDunaway wrote:
Yes,
I can see clear benefits in implementing this Idea - that is, if your
underlying datatype elements have a 1:1 relationship with the UI
elements.
I will
illustrate this point by showing some potential flaws in your example:
"Profile Running" and "Profile Complete" are mutually exclusive, no?
Wouldn't it be better to have a single enum named "Profile" with three
elements "Idle, Running, and Complete" for the underlying datatype?
Having two mutually exclusive pieces of data in an underlying datatype
is among my favorite of code smell indicators.
Also, the underlying datatype probably only needs "Forward Miles" and
"Reverse Miles" since "Total Miles" is derived. Exclude "Total Miles"
from the underlying cluster and just show the sum for display.
Another
argument against using a 1:1 relationship: the customer now wants to
multiply speed by -1 if Direction==Reverse and not show the Direction
enum on the UI. The data source (the VI that generates the data) would
need to be updated using your 1:1 relationship. Using underlying data
different from the display data, only the data client (the UI front
panel) needs to change. I would be much more inclined to service the UI
FP for a cosmetic upgrade rather than tracing the data source back
through the HMI framework, through TCP, back to the RT, back to FPGA...
Basically...
I question a perfectly overlapped Venn Diagram where the set of data
shown to the user equals the dataset used for underlying data
processing/messaging/storing. The underlying datatype should be as
stripped and streamlined as possible, while the display datatype can
inherit all the flair and post-processing that Upper Management wants to
see in a UI.
LabBEAN wrote:
<JackDunaway wrote
I will illustrate this point by showing some potential flaws in your example...
<LabBEAN response
The data you see maps directly to tags on the PLC.
<JackDunaway wrote
Yes, I can see clear benefits in implementing this Idea - that is, if your underlying datatype elements have a 1:1 relationship with the UI elements.
<LabBEAN response
JackDunaway wrote:
This is a good indicator that we're both aware at this point that I'm
missing something... in all seriousness, could you reply to the 1:1
argument? I really want to understand this Idea and learn how/if I need
to apply it to my own style (our last back-and-forth turned out to be an enlightening and introspective exercise for me).
***EDIT: By all means, please start a discussion on the LabVIEW board so we're not hindered by the Exchange's interface. ***
My long delayed response:
The indicators you see map to tags on the PLC. That is, we were connecting through OPC to an application on a PLC that was written ~15 years ago. I have a VI where I read a bunch of SVs (Shared Variables). Each SV is bound through OPC to a PLC tag. In the interest of disclosure, two 16-bit tags are required to represent each 32-bit mileage number. In the same subVI, I read each set of mileage tags, convert, and feed my subVI cluster indicator. The same is true for wheel size: three bits get converted to the enum. Regardless, though, I have one subVI that reads SVs and outputs the same "underlying data" cluster that is seen on the UI. The UI has a "Faults" cluster full of fault Booleans that follows the same logic. When the user configures a profile of steps, they do so via an array of "step" clusters (although the cluster look is hidden for aesthetics). It's the same thing as above except we write tags instead of reading them.
In my case, each set of 16-bit tags is worthless as two 16-bit numbers. They are only useful as a 32-bit mileage, so I don't pass around the raw 16-bit data. The same is true for the wheel size bits. My software can just as easily (in fact, more easily) operate on the enum. So, the underlying cluster from the subVI is programmatically useful and applicable to the UI. I would guess that the same is true for a lot of RT applications, where the read VI can have some intelligence to process the data into useful / applicable clusters.
There are going to be cases where "Upper Management" would like to see "flair and post-processing" as you say. Your speed illustration is a good example of this. There are also instances where the cluster works fine on the UI the way it is (like this one and many others that we've seen).
<JackDunaway wrote
"Profile Running" and "Profile Complete" are mutually exclusive, no?
Wouldn't it be better to have a single enum named "Profile" with three
elements "Idle, Running, and Complete" for the underlying datatype?
<LabBEAN response
Did you mean "not" mutually exclusive? We combined 3 "dependent" (not mutually exclusive) Booleans into an enum for Wheel Size, as I mentioned above. Not sure now why we went the other way with these two (this was 2 years ago). In any event, with regard to UI representation, I still pass a cluster out of my read-raw-data-and-process-into-cluster subVI up to the applicable queued state machines and to the UI.
<JackDunaway wrote
Having two mutually exclusive pieces of data in an underlying datatype
is among my favorite of code smell indicators.
<LabBEAN response
Working with applications written in ladder logic, it is not uncommon to see separate Booleans that indicate the same condition. This seems to be especially true when safety is a concern. That is, ladder Coil A ON and Coil B OFF == switch open. Coil A OFF and Coil B ON == switch closed. If you ever read OPC tags from Coil A and Coil B and the two are the same, you know the ladder is in transition (hasn't updated the tags). Throw that point out and read again.
I, too, appreciate our back-and-forths. Good discussion.
Certified LabVIEW Architect
Wait for Flag / Set Flag
Separate Views from Implementation for Strict Type DefsThanks for replying, Jason. Let me see if I can craft a coherent response after getting back up to speed...
(...later)
OK, let's go. I'm going to fully agree with you that LabVIEW imposes a strange constraint unique from most other languages where a Typedef defines two things: the underlying data structure, and also the view. A Strict Typedef should be more accurately deemed the Datatype-View-Definition, and a Typedef would be more accurately called the Datatype-Definition-and-View-Suggestion. And to be clear, there are two types of views: the programmer's view (a SubVI look and feel) and the UI view (what the user and Upper Management sees). (Finally, I admit I'm ignorant whether view or View is more a more appropriate term)
Linking the programmer's view to the datatype is perfectly fine with me, and based on your original Idea I think we both agree that's OK. I think we run into a disagreement where you have loosely tied the concept of "Strict TD" to "UI View".
Historically, I have used Strict Typedefs for the programmer's view (SubVIs), since I like to maintain a "functional UI" at the SubVI level. I don't use type definitions on User Interfaces - only Controls. That's the reason your Idea does not appeal to me, but perhaps if your Idea were implemented, it would appeal to me since View and Implementation would be divorced as separate entities within the Type Definition. (Does that classify as a Catch-22?) So, you're Idea is fundamentally suggesting that Type Definition .ctl files should be more accurately called "a container that holds both a Type Definition and any number of View Definitions as well".
Fundamentally, I think I finally understand the gist of your Idea: "let's ditch this weird constraint where View and Datatype are inextricably defined together in one file", and for that, I'll give Kudos to the original Idea. I got really tied up with the example you used to present the Idea, and plus I'm still learning a lot.
Additional thoughts:
This Idea reminds me of another: Tag XControl as Class View
We've still got some arguing to do on a 1:1 relationship between underlying datatype and UI presentation, so put your mean face back on:
Since our last conversation, interestingly, I have been on an anti-Typedef kick altogether. Why don't you drop some feedback on my attempt at a completely typedef-free UI framework?
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}
Maybe you are looking for
-
I work for a Hvac Company and we make these Material lists in PDF form. I put these lists in a dropbox and they export it to there tablets. When they edit the list and email it back to me its saved on there tablet and they have to delete the one on t
-
Printer says offline,cannot print
Printer ran out of ink. Bought more and installed. Printed off required documents. Next day went to my online work, tried to print my documents. Nothing happens. Went to My Computer, says printer offline. My son,who is a university student and tech g
-
Hello I have scenario Sysnh HTTP -> BPM. I have control step in BPM that cancel process in case of error. When the process is canceled sysch sender does't get error immediately. Sender wait until timeout. Is it possible to configure that IE must retu
-
J2SDK 1.4.0_01 :problem with java comands
I have a folder on a Win2K system that I dump my .java files into. I have the classpath and JAVA_HOME PATH variables set. The development environment I use is JCreator 2.5 LE. For whatever reason I can't seem to get the SDK to compile or run my files
-
What is the best way to upgrad my graphics on a p2-1140?
I am currenty running Windows 7 Home Premium with Service Pack 1. My processor is an AMD e-300 APU with Radeon HD Graphics 1.30 GHz. My installed memory is 3.00 GB. I have a 64-bit Operating System. I want to speed up the graphics on my computer,