How to post messages between two threads other than GUI main thread?
Does anyone have examples of post messages between two threads (other than GUI main thread)? Would you please post the link?
Thank you,
Hello, you can call PostDeferredCallToThread passing the your data in callbackData parameter.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Similar Messages
-
How to transport Messages between two systems
Dear Expert,
I have a question regarding support message transport. Now I want to transport support messages from one system to another. The source system is Solution Manage 7 EHP1 and target system is something with patch level less than 17. How can I reach the goal in an easiest way? Please guide. Thanks!
Regards,
Fred
Edited by: Fred Zhou on May 10, 2009 5:10 PMHello Fred,
May be you can try assigning your support messages to a test plan, that test plan would have been created based on a project.
So while transporting that project, the test plan will get transported(not sure whether the test case status and support messages are getting transported).
Just in case, might help you.
best regds,
Alagammai. -
How can I communicate between two simulated software
Hallo,
I have confusion regarding this topic "How can I communicate between two simulated software".
1: PC with CAN simulation
2: PC with AFDX Simulation
Now i have to communicated these two pc with each other.
How can i communicated? which module from ni is best for it.
thanks in advance
BRI recommend looking at the Simple Messaging Reference Library that NI has released. Use the TCP/IP version of it.
FYI, TCP/IP is a communication protocol that is used to communicate between two computers. It is what the internet uses. So you just need a network switch or router between your computers and you can talk to each other with their IP address.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to configure connectivity between two vm linux hosts
Hello All,
i have installed vm workstation with two RHEL4 linux installation.
Node 1:RHEL4
Node 2:RHEL4
i have configured 2 ethernet cards am able to ping in a host but not each other.
i have tried to ping from Node 1 to Node 2 am getting icmp_seq=0 Destination Host Unreachable .....
kindly suggest how to configure connectivity between two host permanently.please explain with example if possible. or suggest any link.
thanks,
Mike.1003614 wrote:
thanks for quick reply ....Oracle vm workstation 4.2 am using.
... then your post is now moved to the appropriate forum space for your question (Oracle VM for x86). -
How to calculate days between two DATES
How to calculate days between two DATES ?
which is the functional module for that ?
help meHi,
use function module : it works,
HR_HK_DIFF_BT_2_DATES
give output format = 03 and get the value in days.
code is as below :
data : DATE1 type P0001-BEGDA,
DATE2 type P0001-BEGDA,
YEARS type P0347-SCRYY,
MONTHS type P0347-SCRMM,
DAYS type P0347-SCRDD.
date1 = '20070331'.
date2 = '20070101'.
CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
EXPORTING
DATE1 = date1
DATE2 = date2
OUTPUT_FORMAT = '03'
IMPORTING
YEARS = years
MONTHS = months
DAYS = days
EXCEPTIONS
INVALID_DATES_SPECIFIED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write : days.
Reward points, if helpful,
Regards,
Sandeep Kaushik -
I have three iPads and one iPod and one iPhone. How can I message between them without sending the message to all of them. You send the message to your email address but all of them are set up under one account.
You can have a different receiving email in the Messages app on each device : Settings > Messages > Receive At . I'm not sure that there is a different way to have the message only go to one device.
-
How to get relationship between two views in the reports
How to get relationship between two views in the reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports
Hi,
Please explain your question in detail...what do you want to read ?
If you want to know about the navigation links between the views then you can use APIs like
wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
Iterate through the navigationLinkInfo from above collection and can read the other properties .
I haven't tried the above , but it should work !!!
Regards,Anilkumar -
How can we navigate between two windows of same component in webdynpro ABAP
Hi
how can we navigate between two windows( not views ) of same component in webdynpro ABAP. its an urgent requirement
Thanks in advance.
Regards
LaeeqHi Laeeq,
You cannot navigate between windows of one component. You can only call a dialog box showing the contents of a second window, or you can embed the contents of a window of a different component.
Just add all the views you need to the one and only main window of the component.
Ciao, Regina -
In jsp file, how to transfer parameter between two javabean?
In jsp file, how to transfer parameter between two javabean?
for example
Bean1 has a attribute A
Bean2 has a attribute B
how to transfer the value of A to BHave you tried something like...
<jsp:setProperty name="Bean2" property="B" value="<jsp:getProperty name="Bean1" property="A" />" /> -
How to get space between two values in a single cell of a table.
hello,
how to get space between two values in a single cell of a table.
thanks a lot.
kailash.sorry i got the answer.
-
How to post message to Adobe Reader or AVWindow?
There is a modeless dialog created by my plugin.
I want post message in dialog to Reader or AVWindow.
How to post message and where can i receive these message?
I'm using Windows XP
thanks.Whatever OS/platform methods you want.
-
How to caluclate tat between two dates of one timestamp field
Hi,
could some one help how to caluclate days between two dates of single timestamp filed and with this
query
Select * from m_activity_transaction where actn_opp_id in (
Select actn_opp_id from m_activity_transaction where ACTN_ACTV_ID = 218
Group by actn_opp_id
having count(*) > 1 ) and ACTN_ACTV_ID = 218
order by actn_performed_on
iam getting output is
ACTN_ID ACTN_OPP_ID ACTN_PERFORMED_ON
319415 95831 27-JAN-12 11.06.20.000000 AM
315249 95831 08-FEB-12 05.32.54.000000 PM
301927 103509 20-DEC-11 04.01.43.000000 PM
301458 103509 19-DEC-11 04.51.03.000000 PM
294841 115840 10-JAN-12 03.20.12.000000 PM
312062 115840 11-JAN-12 05.17.06.000000 PM
and i nedd to caluclate no.of days between two dates like 27-JAN-12 11.06.20.000000 AM and 08-FEB-12 05.32.54.000000 PM where actn_id is unique AND ACTN_OPP_ID IS NOT UNIQUE.
Thanks in Advance,
vvr.This way?
with data as
select 315249 a, 95831 b, to_timestamp('27-JAN-12 11.06.20.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') dt from dual union all
select 319415, 95831, to_timestamp('08-FEB-12 05.32.54.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 301927, 103509 , to_timestamp('20-DEC-11 04.51.03.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 301458 , 103509 , to_timestamp('19-DEC-11 04.01.43.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363810 , 144656 , to_timestamp('27-JUN-12 12.43.28.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363500 , 144656 , to_timestamp('26-JUN-12 11.41.50.000000 AM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual union all
select 363354 , 144656 , to_timestamp('25-JUN-12 12.41.13.000000 PM', 'DD-MON-RR HH.MI.SS.FF6 AM') from dual
select a, b, diff
from (
select a, b, extract( day from (dt - lag(dt) over (partition by b order by dt, a)) ) diff
from data
) tab
where tab.diff is not null;
A B DIFF
319415 95831 12
301927 103509 1
363500 144656 0
363810 144656 1 -
How to check similarity between two Databases 9i & 10g after imp in 10g
Dear all,
Source
=======
OS server ==> HP-UX
Oracle version ==> Oracle 9.2.0.8
DB Name ==> MSST
DB total users ==> 320
Full export in ==> /u02/export/Jan09.dmp
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
Destination
============
OS server ==> HP-UX
DB Name ==> CHDB
Existg DB users ==> 20
Oracle version ==> Oracle 10.2.0.4
copied 9i dump file in ==> /u03/export
Tablespaces created same as Oracle 9i i.e;
Tablespaces ==> SC, SC_I, SA, SA_I, PP, PP_I, AC, AC_I, SD
I had run full import on Destination server i.e; Oracle 10g & following is the command i used:
imp system/pwd@conn_string file=/u03/export/Jan09.dmp log=/u03/export/Jan09_imp.log full=y ignore=y statistics=none
*=== Imported successfully with few errors like ====*
IMP-00017: following statement failed with ORACLE error 2299:
"ALTER TABLE "EMP_PROMOTIONS_ORD" ADD CONSTRAINT "EMP_PROMOTIONS_ORD_UK" UN"
"IQUE ("EMP_NO", "RANK_NO_FOLLOW") USING INDEX PCTFREE 10 INITRANS 2 MAXTRAN"
"S 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "PP" "
"LOGGING ENABLE "
IMP-00003: ORACLE error 2299 encountered
ORA-02299: cannot validate (PP.EMP_PROMOTIONS_ORD_UK) - duplicate keys found
ORA-02299: cannot validate (PP.EMP_PROMOTIONS_ORD_UK) - duplicate keys found
. . importing table "EMP_PROMOTION_DETAILS" 13333 rows imported
. . importing table "EMP_PROMOTION_MAST" 725 rows imported
. . importing table "EMP_PUNISHMENT" 271 rows imported
. . importing table "EMP_REPORT_BOOKS" 60528 rows imported
. . importing table "EMP_SALARY_HISTORIES" 120871 rows imported
. . importing table "EMP_SALARY_HISTORIES_TEMP" 77044 rows imported
. . importing table "EMP_TRANSACTIONS" 96536 rows imported
IMP-00017: following statement failed with ORACLE error 2299:
"ALTER TABLE "EMP_TRANSACTIONS" ADD CONSTRAINT "TRANS_UK" UNIQUE ("EMP_NO","
" "DIR_NO", "DIR_DATE", "TRN_CODE") USING INDEX PCTFREE 10 INITRANS 2 MAXTRA"
"NS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1) TABLESPACE "PP_"
"I" NOLOGGING ENABLE "
IMP-00003: ORACLE error 2299 encountered
ORA-02299: cannot validate (PP.TRANS_UK) - duplicate keys found
Now my question is
===================
How to check everything is same/similar like Oracle 9i database ( source ), for example ( i used this technique ):
Can anyone tell me how to check similarity between two Databases 9i & 10g after import in 10g.
MSST_DB>SHOW USER
MSST_DB>SA
MSST_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
DATABASE LINK 2
FUNCTION 23
INDEX 1795
LOB 6
PACKAGE 8
PACKAGE BODY 8
PROCEDURE 30
SEQUENCE 67
SYNONYM 60
TABLE 644
TRIGGER 3
VIEW 20
CHDB_DB>SHOW USER
CHDB_DB>SA
CHDB_DB>select object_type, count(*) from user_objects group by objects;
OBJECT_TYPE COUNT(*)
INDEX 1794
PROCEDURE 30
TABLE 644
TRIGGER 3
VIEW 20
FUNCTION 23
SYNONYM 60
PACKAGE BODY 8
SEQUENCE 67
PACKAGE 8
LOB 6
Edited by: VIKHARAHMED on Jan 10, 2012 3:02 AM[url http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref67]Guide.
-
How to check relation between two tables in same database
How to check relation between two tables in same database using Oracle SQL developer. Version 2.1.1.64
Hi,
Try this,
SELECT cons.owner AS child_owner, cons.table_name AS child_table,
cons.constraint_name constaint_name,
cons.constraint_type constraint_type, col.owner parent_owner,
col.table_name parent_table, col.column_name column_name
FROM dba_cons_columns col, dba_constraints cons
WHERE cons.r_owner = col.owner
AND cons.r_constraint_name = col.constraint_name
AND col.owner = 'MY_USER'
ORDER BY child_table;Thanks,
Shankar -
How to tranfer messages betwewen two different computers
I am unable to tranfer messages between two different computers. Please help me. I am trying to simulate an Instant messenger.
Hi Sid,
If you could tell a bit more about what u r trying to do, then I might be able to help you.
are you using Pub/Sub method or PTP and what MOM are you using?
Regards,
Sumeet
I am unable to tranfer messages between two different
computers. Please help me. I am trying to simulate an
Instant messenger.
Maybe you are looking for
-
Start up disk full - doesn't add up!
Hi, I'm a first time Mac user and, I am having trouble with a full start up disc. My iMac 1 TB hard disc only has 12 GB unused space. I've seen a number of questions posted, so it seems I'm not the only one experiencing this problem. However I've not
-
My WRT310n won't work with my Appl Mac Mini and iPhone
Previously I had a weak signal using my WRT54G router. I usually got one or two bars in the house on my iPhone or Mac Mini. I recently "upgraded" to the WRT310N and now I cannot connect wirelessly at all on the mini and only one bar on the iPhone eve
-
I'm going crazy. I've tried everything including reinstalling App Store, running MacOSXUpdCombo, and every thing I can find on the Support site. I need to be able to use the redeem functionality to enter the serial number for my paid upgrade to Lio
-
Does Time Machine start new archive on OS upgrade?
I've just upgraded a v10.6.8 iMac to 10.7.3. Before I did so, I turned off Time Machine, with the assumption that I could use it for roll-back in case of trouble. If I now turn it back on, will TM add to the Snow Leopard archive or start a new one? F
-
All the songs I had unchecked in my library are now checked on on my new MacBook. My playlists are all there, but I do I really need to uncheck the ~3,000 - 4,000 songs I had previously unchecked? My original library exists on my old computer, so I