Data link between vi's
Every second, I would like to collect data (from some instrument) in one VI (collector.vi) and then add the point to a graph in another VI.
I've seen the "Dynamic Load" examples to use "Call SubVI by Reference." However, it seems like the data is simply passed once rather than continuously updated.
What is the simplest / best way to update a separate window (subvi) with periodic data?
You have a variety of choices beyond the dynamic call option you mentioned. You can also use a queues, notifiers and user events. Each has their benefits and their limitations. Check out the design patterns in the templates that ship with LV. From the file menu, select New... and in the resulting dialog, expand:
VI
From Template
Frameworks
Design Patterns
These templates show everything in one VI but the basic techniques are the same when the loops are in separate VIs. Pay particular attention to the Producer/Consumer Loop pattern.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Similar Messages
-
Convert data link between one query's group and another querys group to SQL
Hi
I have a report where there are 2 query Groups. These 2 query groups r linked by data link. How do i combine these queries to One query so i can use it as a SQL query.
ThanksHi,
Assume that we have two queries Q1 and Q2 and the common column between the two queries is "comn".
Now we can convert the datalink into SQL as follows:-
SELECT *
FROM
(Query for Q1)a,
(Query for Q2)b
WHERE a.comn=b.comn(+)
Note: "a" and "b" are alias names for Q1 and Q2. -
How can I encrypt my data uplinks between switch trunk ports ? I'm unable to use "cts Manual" command in C3560X switch.suggest me as I want to encrypt my switch-to-switch link with Cisco TrustSec.
Hi
Login to switch & go to interface..
There you can give tags.. (ISL & DONT1Q)
Command switch-port mode trunk
Switch-port trunk encapsulation ssl or dot1Q -
How to Dene a Data Link Between Queries: Bind Variables
This is an interesting topic and I cannot get it to work using Bind Variables.
I have 2 queries: Q1 and Q2. Q2 needs c_id, account_code and account_type from Q1.
Whe I run the data template below, I get only the data for Q1.
Now people may argue that there is no data in Q2 for the relevant clause. So if I even remove the where clause in Q2 I still get no joy i.e Data appears for Q1 but not for Q2
<dataTemplate name="FLCMR519_DATA_SET" description="Termination Quote Report">
<parameters>
<parameter name="cid" dataType="number" defaultValue="1"/>
<parameter name="p_cln_id" dataType="number" defaultValue="62412"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT qm.qmd_id,
qm.contract_period,
qm.quo_quo_id||'/'||qm.quote_no||'/'||qm.revision_no reference_no,
qm.contract_distance,
qm.mdl_mdl_id,
q.qpr_qpr_id,
q.quo_id,
q.drv_drv_id,
qm.revision_user username,
pb.first_name||' '||pb.last_name op_name,
pb.telephone_no,
pb.facsimile_no,
pb.email,
q.c_id c_id,
q.account_type account_type,
q.account_code account_code,
m.model_desc,
ph.payment_description payment_head_desc,
cl.fms_fms_id,
cl.start_date,
cl.end_date,
cl.actual_end_date,
cl.con_con_id,
cl.cln_id,
cl.term_qmd_id term_qmd_id,
qm2.contract_period term_period,
qm2.contract_distance term_distance
FROM quotations q,
quotation_models qm,
contract_lines cl,
personnel_base pb,
models m,
model_types mt,
payment_headers ph,
quotation_models qm2
WHERE q.quo_id = qm.quo_quo_id
AND cl.cln_id = :p_cln_id
AND qm.qmd_id = cl.qmd_qmd_id
AND qm2.revision_user = pb.employee_no (+)
AND qm.mdl_mdl_id = m.mdl_id
AND m.mtp_mtp_id = mt.mtp_id
AND qm.payment_id = ph.payment_header_id
AND qm2.qmd_id (+) = cl.term_qmd_id
]]>
</sqlStatement>
<sqlStatement name="Q2">
<![CDATA[SELECT ea.c_id, ea.account_type,ea.account_code,ea.account_name
FROM external_accounts ea
WHERE ea.c_id = :c_id
AND ea.account_type = :account_type
AND ea.account_code = :account_code
]]>
</sqlStatement>
</dataQuery>
</dataTemplate>Defining dataStructure section is mandatory for multiple queries.
-
Using Oracle Report Builder 10g(Report Builder 9.0.4.2.0), and trying to create a manual data link between two queries. But the problem is that whenever I create a manual data link between two queries my report builder shutoff with this message ârwbuilder.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created"
Thanks in Advance...Mohsin,
I am using 9.0.4.0.33 and never faced this kind of problem. Did you install any patch?
Are you modifying existing report or creating a new one? -
Why do I get the symbol data link in the query_name of the data model
If I use an inline subquery within the SELECT of a data model query, the symbol data link appears in the query_name of the data model.
This causes the data link between two queries not to be used even if there is an existing link between the two. The trace file doesn't
have that join condition and so the child query in which the inline subquery was added fetches many redundant data.
Any idea what that symbol represents and how to get rid of it. It also appears during other times, not only when we use inline subquery
within a SELECT. Not sure if it can cause any harm to the report.
The problem is seen in Report Builder 6.0.8.19.0. Not sure if the problem is with other releases also.
Any suggestions are welcome.I am living with the symbol in the query box as well, because my report only has a single query. My query also has several inline subqueries. I had never seen this before last week, spent a day re-reading the manuals and couldn't figure it out.
My post is not a solution, but a "me too" echo that could use an answer.
Troy Tremble
If I use an inline subquery within the SELECT of a data model query, the symbol data link appears in the query_name of the data model.
This causes the data link between two queries not to be used even if there is an existing link between the two. The trace file doesn't
have that join condition and so the child query in which the inline subquery was added fetches many redundant data.
Any idea what that symbol represents and how to get rid of it. It also appears during other times, not only when we use inline subquery
within a SELECT. Not sure if it can cause any harm to the report.
The problem is seen in Report Builder 6.0.8.19.0. Not sure if the problem is with other releases also.
Any suggestions are welcome. -
FAX Sending - Link between SOST items and PO Data
Hi all,
We have a message type to send FAX to the vendors.
This is tracked in SOST.
There are some FAXes which get failed and are to be tracked individually in SOST.
We need to make a report which gets all the failed PO #s.
We are not able to arrive at the db link between the items in SOST and the PO data.
Can anyone of you let us know how this can be done ?
Thanks in advance.
Regards,
Vivek KThanks for the Replies Ramani and Monika...
I alraedy have a relation between the Accounting Doc and Billing Doc (VBRP-vbeln to BSEG-belnr).
what I am looking for is the Item wise one to one mapping.
i.e Assume that we have 4 items in VBRP under one Billing Doc....
2 items have Similar Materials (Assume XYZ) and same Profit center (eq..MNO123)
and the Other 2 items have material (ABC) and Profit center (PQR6789).
Now these appear in Bseg as only 2 items, all the items with similar materials, profit center etc will be clubbed in Bseg (While Accounting). I.e In BSEG you will only find 2 entries for the above 4 items of VBRP.
I need to divide the data that I am getting from BSEG exactly as they are in VBRP.
Pls suggest if you know of any table where I can find this.....If not a table.., then a way to figure out the division of these BSEG items exactly as the VBRP items.
Brgds
Phani -
Can Data Links be established between Data sets based on View Objects?
Hi all,
In the BI Publisher Documentation it's given that Datasets based on view object queries do not support Data Links / Group Links. We found out that only way to establish relationship between view object Datasets is to create a view link and then upload it to create a Dataset.
1. Is there any other way to establish relationship between view objects Datasets in DataModel editor itself just as in the case of data sets based on (SQL queries e.t.c.)?
2. If so can View object Datasets be linked to Datasets based on other Datasources?
3. Will the Datalinks for View object Datasets be supported in any of the upcoming releases. Is there any ER logged for this case?
Any insight on the above issues will be really helpful.
ThanksEnhance the data source with date and time and populate these fields in the user exit using the function module IB_CONVERT_FROM_TIMESTAMP .
OR
You can create Z function module IB_CONVERT_FROM_TIMESTAMP in BW side and write a routine in update rules/transfer rules to populate date and time.
hope this helps ...
Ravi -
SAP APO Link between pegid and date
Hi all,
It's exist a link between pegid and data (order's data) ??
Tks,
bye.Please check FM in se37
/SAPAPO/OM_PEGID_SELECT_ORDERS
/SAPAPO/OM_PEGID_GET_ORDERS
Manish -
Post Author: vpost
CA Forum: Data Connectivity and SQL
I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
Thanks in advance.Post Author: Mike Wright
CA Forum: Data Connectivity and SQL
Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
cheers -
Link between knvp and the data belonging to a pernr
Hello
In table knvp there are link between customer and partners. These partners can be companies but also persons.
Thje personnujmber is filled in case.of a person.
Does anyone knows the links or the tables belonging to that pernr ( like the adddres, email etc.).
i do not want the functions.
thanx in advanceHi,
Master data of personnel number are stored under infotype tables (table PAxxxx).
e.g. the address is stored in infotype 0006 (PA0006), while email is usually stored in infotype 0105 (PA0105)...
The key fields of those infotypes tables are mainly the personnel number, along with the validity dates and a subtype field if needed (e.g. the standard subtype for email in PA0105 is '0010')...
fyi, You can display/maintain all PA infotypes through transaction PA20/30...
Kr,
Manu. -
Link Between PSA and Data Targets
Hi Experts,
Could you please help me is there any table which will have PSA & data target (Cube or ODS) details.
I know the table which will have data target manage screen details and other table wil give the details like data loaded into till PSA.
But i want to know any SAP table will have link between PSA & data target.
I want to know if the request is loaded till PSA or it is loaded into data target.
Any table will give details like PSA request no, if target is there then some kind of flag like....
Please let me know if any one know the table which will have PSA as well as Data target details.
Thaks in Advance
ShaikHi,
I clearly mentioned im aware of Manage screen details table, i want link between PSA and Data target table which will return if requst loaded till PSA or PSA & target.
Im using BI 7.0 .
Regards
Shaik -
Link between HR data and Work center
Dear experts,
We have assigned operators in work center through HRMS. For the purpose of making a report we require the table into which the linking of work center data and the employee is made.
In the table CRHD a field HROID is found. This is an object id which links the work center with a table either in HR or in PP which provides the link between organisational unit/ employee. Can anybody tell us the name of the table with details?
Please help us.
Thanks
JaikishanDear Vittalji,
Thanks for your prompt response.
Our requirement is as follows:
We need to create a report on details of operations done by each operators / workers for a specified period. For this purpose following assignments are done.
(HR module is not implemented yet. But we have made attempt to maintain the employee master by customising HR module little bit)
1. Employee master created in HR.
2. Went to work center maintainence (CR02).
3. Selected HRMS button.
4. Selected Work Center option.
5. Clicked on HR work center
6. Given same work center as production work center.
7. Selected 'person' from ALV list data
8. Clicked on create relationship button.
9. Assigned the appropreate persons.
By doing assume this we made assignment of persons to this work center since the name of persons are getting displayed.
We have a report to list out the workcenter wise operation confirmations for analying the daily production.
Now we want to incorporate the operators (persons) name into our report by whom the operation/production was performed.
For this purpose, while refering the table CRHD, found a field HROID (an object id). To fetch the details of persons / operators those we assigned to the work center we need the tables for linking this field HROID.
Our questions are
1. Whether the process of assigning operators above mentioned are correct?
2. What are the table-links for completing our report. i.e. only for work center to concerned operators (HR).
3. What does the HR Work Center mean?
4. What are the difference between HR work center and production work center?
Your help is requested. Points will be rewarded promptly.
Thanks and Regards
Jaikishan -
hye!
i want to know how to make a link between datatable in sap R/3.
For exemple: i'm loocking to the table MARC in this table there is a lot of area: MAXLZ,EISBE... and for the table MARA there is the following areas: MTART,MEINS...;
i want to find the link between that 2 tables ( my project is to extract data from sap )Hi!
The common field of MARA and MARC is MATNR - you can join the two tables by this field.
<a href="http://www.sapgenie.com/abap/tables_mm.htm">This</a> english site has some very nice overview pictures of tables connections, here e.g. for master data and purchasing.
Regards,
Christian -
Create view link between two view objects (from programmatic data source)
Hi Experts,
Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
Any hits or idea pls.
-tEasiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.
Maybe you are looking for
-
I have an Early 2011" macbook pro 13 inch (core i5 2.3ghz 4gb ram 320hdd) with Mountain Lion 10.8.2, and I want to connect it via Mini DP to HDMI connector, and a HDMI cable to a LCD TV LG 32LD340. When I had Lion OS, I had no problems at all.
-
My Keyboard doesn't work in Adobe Reader (10.1.1)
My keyboard no longer works inside adobe reader. It works fine everywhere else, but when in Reader no keyboard keys work (no shortcut keys, no pgup/down, no up/down, no ctrl+c to copy, can't type in a number into navigation bar, can't type in serach
-
Some words being automatically linked by mail
Hi, I have this strange problem where on an erratic basis, some words are being linked one another. So instead of reading "hello my name is Paul" the receiver would read "hellomyname is Paul". Has anyone encountered this problem before? Any fix? Tks
-
I purchased NBA League Pass, but I don't know how to download the Game Time app on my Apple TV. What is a Login ID? Is that the same as my email adress or my password, or my account name or my screen name?
-
I tried to open bank web site but it gave me this massage ''Safari can't open the page "http://www.sabb.com/" because the server where this page is located isn't responding'' . I was able to open this site before, I can't remember what I have change.