How to create a sub
Dear sir,
i new for labview how to create a sub vi
Solved!
Go to Solution.
nara2812 wrote:
Dear sir,
i new for labview how to create a sub vi
Here are some other tutorials you might want to look at
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
How to create the sub type field in hr abap infotype
hi ,
how to create the sub type field in hr abap infotype.
regards,
venkat.Try like this also
creating of infotype please follow these steps ...
Step 1: Create Infotypes
i. Goto Transaction PM01 To create Infotypes:
ii. Enter the Infotype Number and say create all.
iii. The following message would display:
i. PSnnnn Does not exist. How do you want to proceed?
iv. Click
v. A maintain Structure screen appears.
Fill in the short text description and the PS structure of the Infotype.
Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
vi. Once the PS Structure is created, save and activate the structure.
vii. In the initial screen of PM01, now click on .
Create a new entry for the infotype.
Fill in the values as mentioned below and save.
Infotype Characteristics:
Infotype Name of the infotype_ Short Text: __Short Description________
*General Attributes :
Time constraint = 1
Check Subtype Obligatory
Display and Selection:
Select w/ start = 3 Valid record for entered data
Select w/ end = 5 Records with valid dates within the period entered
Select w/o date = 6 Read all records
Screen header = 02 Header ID
Create w/o end = 1 Default value is 31.12.9999
Technical Data:
Single screen = 2000
List screen = 3000; List Entry Checked.
viii. In the initial screen of PM01, now click on .
Choose the infotype entry in the list.
Fill in the values as mentioned below and save.
Technical Attributes:
In tab section,
The following attribute values are given:
Applicant DB Tab = PAnnnn Infotype Name
Subtype field = SUBTY
Subtype table = T591A
Subty.text tab. = T591S
Time cnstr.tab. = T591A
Prim. /Sec. = I Infotype
Period/key date = I Interval
and .
ix. Infotype Screen Modification:
Edit Screen 2000 from PM01 for the Infotype.
ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
Click . Flow Logic will be displayed. There string coding of your own logic.
Regards
Pavan -
How to create a sub head(code) in a catalog- for service notification
Hi everyone,
How to create a sub head(code) in a catalog- for service notification?
Please guide with your valuable comments.
Please guide its very urgent.
Thanks and Regards
Edited by: MPVash Vash on Oct 24, 2008 8:14 AM
Edited by: MPVash Vash on Oct 30, 2008 7:38 AMHi,
Go to T-code QS41, give the catalog and code group and enter.
U can click on the code after selecting the code group and create new codes.
In SPRO u should see which type of catalog is assigned to the notification type. This u can see in the overview of the notification type by selecting the notification type in SPRO.
Regards
Haricharan -
How to create a sub total and grand total using my query.
How can I create a sub total for each section and grand total for using my query like this. your help is appreciated. I am working with 9g
WITH BidItemsInformation AS
( SELECT DISTINCT q.iplineno "Line Number", q.section "Section Number",
i.item "Item Number",
initcap(i.idescr) "Description" ,
i.iunits "Unit",
q.qty "Quantity" ,q.price "Engineers Unit Price",
(q.price * q.qty) "Engineers Estimate"
FROM letprop l,
proposal p,
propitem q,
bidlet b,
bidtabs c,
itemlist i,
vendor v,
bidders d
WHERE(l.letting = b.letting
And b.letting = c.letting
And p.cspecyr = i.ispecyr)
AND q.prpitem = i.item
AND p.contid = l.lcontid
AND q.contid = p.contid
AND c.vendor = l.avendor
AND l.CALL = c.CALL
AND q.lineflag = c.lineflag
AND q.iplineno = c.iplineno
AND l.letting = d.letting
AND c.letting = l.letting
AND c.CALL = d.CALL
AND v.vendor = d.vendor
-- AND AND l.letstat = 'A'
AND c.lineflag = 'L'
AND l.letting ='&letting'
AND l.CALL = '&call'
), BiddersInformation AS
-- This is where you make your changes for vendor name and vendor number Do not touch the above code
-- It is always the same for any call number and letting date
( SELECT IPLINENO "BLine Number",
MAX(CASE WHEN VENDOR='K020' THEN bidprice ELSE NULL END) "K020:: Unit Price",
MAX(CASE WHEN VENDOR='K020' THEN bidprice ELSE NULL END) K,
MAX(CASE WHEN VENDOR='H438' THEN bidprice ELSE NULL END) "H438:: Unit Price",
MAX(CASE WHEN VENDOR='H438' THEN bidprice ELSE NULL END) H,
MAX(CASE WHEN VENDOR='U010' THEN bidprice ELSE NULL END) "U010:: Unit Price",
MAX(CASE WHEN VENDOR='U010' THEN bidprice ELSE NULL END) U,
MAX(CASE WHEN VENDOR='G110' THEN bidprice ELSE NULL END) "G110:: Unit Price",
MAX(CASE WHEN VENDOR='G110' THEN bidprice ELSE NULL END) G,
MAX(CASE WHEN VENDOR='H530' THEN bidprice ELSE NULL END) "H530:: Unit Price",
MAX(CASE WHEN VENDOR='H530' THEN bidprice ELSE NULL END) H1
FROM BIDTABS
WHERE LETTING='&letting'
AND CALL='&call'
AND BIDPRICE <> 0
GROUP BY IPLINENO
SELECT BidItemsInformation."Line Number",
BidItemsInformation."Section Number",
BidItemsInformation."Item Number",
BidItemsInformation."Description",
BidItemsInformation."Unit",
BidItemsInformation."Quantity",
BidItemsInformation."Engineers Unit Price",
BidItemsInformation."Engineers Estimate",
BiddersInformation."K020:: Unit Price",
(BidItemsInformation."Quantity" * K) "KGM CONTRACTORS INC",
BiddersInformation."H438:: Unit Price",
(BidItemsInformation."Quantity" * H) "HOFFMAN CONSTRUCTION COMPAN",
BiddersInformation."U010:: Unit Price",
(BidItemsInformation."Quantity" * U) "ULLAND BROTHERS INC",
BiddersInformation."G110:: Unit Price",
(BidItemsInformation."Quantity" * G) "GLADEN CONSTRUCTION INC",
BiddersInformation."H530:: Unit Price",
(BidItemsInformation."Quantity" * H1) "HOOVER CONSTRUCTION CO"
FROM BidItemsInformation,BiddersInformation
WHERE BidItemsInformation."Line Number" = BiddersInformation."BLine Number";
Line Number Section Number Item Number Description Unit Quantity Engineers Unit Price Engineers Estimate K020:: Unit Price
0010 0001 2011601/00003 Construction Surveying LS 1 143,000 143,000 75,000 75,000 67,080 67,080
0013 0001 2013601/00010 Survey Equipment LS 1 25,000 25,000 25,000 25,000 30,000 30,000
0020 0001 2015601/00030 Blast Monitor/Survey LS 1 50,000 50,000 30,000 30,000 35,000 35,000
0030 0001 2021501/00010 Mobilization LS 1 382,250 382,250 809,000 809,000 704,000 704,000
0040 0001 2021602/00010 Well Survey EACH 60 500 30,000 2,150 129,000 1,600 96,000
0050 0001 2031501/00040 Field Office Type D EACH 1 6,367 6,367 4,000 4,000 25,000 25,000
sub total:
1610 0002 2401501/01143 Structural Concrete (1a43) C Y 46 350 16,100 408 18,768 400 18,400
1620 0002 2401501/01362 Structural Concrete (1c62) C Y 68 200 13,600 204 13,872 200 13,600
1630 0002 2401501/03643 Structural Concrete (3y43) C Y 60 600 36,000 592 35,520 580 34,800
1640 0002 2401512/03633 Bridge Slab Concrete (3y33) S F 1,876 24 45,024 28 51,778 27 50,652
1650 0002 2401521/00030 Structure Excavation Class R C Y 17 125 2,125 1,000 17,000 500 8,500
1660 0002 2401541/00010 Reinforcement Bars LB 2,490 2 3,735 1 3,312 1 3,237
1670 0002 2401541/00011 Reinforcement Bars (Epoxy Coated) LB 12,380 2 18,570 1 17,703 1 17,332
1680 0002 2401601/00010 Structure Excavation LS 1 2,500 2,500 2,000 2,000 5,000 5,000
1690 0002 2402583/00020 Ornamental Metal Railing Type Special L F 284 150 42,600 194 55,096 190 53,960
sub total
1820 0003 2401513/00346 Type Curb Railing Concrete (3y46) L F 135 25 3,375 16 2,093 15 2,025
1830 0003 2401513/07447 Type Mod P-4 (Tl-4) Railing Conc (3y46) L F 302 85 25,670 72 21,593 70 21,140
1840 0003 2401541/00010 Reinforcement Bars LB 14,780 1 18,475 1 13,598 1 13,302
1850 0003 2401541/00011 Reinforcement Bars (Epoxy Coated) LB 76,720 1 103,572 1 85,926 1 84,392
1860 0003 2401601/00010 Structure Excavation LS 1 10,000 10,000 116,000 116,000 115,000 115,000
1870 0003 2402583/00020 Ornamental Metal Railing Type Special L F 132 150 19,800 184 24,288 180 23,760
sub total
totalYou can accomplish that using decode with the grouping function. It returns 1 when that column passed as argument was grouped (or is in some total) and 0 otherwise.
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> with t as
2 (select 'New York' city, 'US' country, 1 num from dual
3 union all select 'Los Angeles' city, 'US' country, 2 num from dual
4 union all select 'London' city, 'GB' country, 2 num from dual
5 union all select 'London' city, 'GB' country, 2 num from dual
6 union all select 'London' city, 'GB' country, 7 num from dual)
7 select decode(grouping(country), 0, country, 'GRAND TOTAL') country,
8 decode(grouping(city), 0, city, decode(grouping(country), 0, 'SUBTOTAL')) city,
9 sum(num) num_total
10 from t
11 group by rollup(country, city)
12 /
COUNTRY CITY NUM_TOTAL
GB London 11
GB SUBTOTAL 11
US New York 1
US Los Angeles 2
US SUBTOTAL 3
GRAND TOTAL 14
6 linhas selecionadas.
SQL> -
How to create a Sub case in Adaptive case management.
Hi,
Can you please provide an example or more info about creating a sub case in Adaptive case management.
Documentation says
"Sub cases are deployed as a separate composite from the parent case project. They are linked to the parent using the case link mechanism. The sub case composite version is always the active version of the parent composite". This is exactly what I want.
I created a Sub Case following the steps mention in the documentation. It created it under the case activities. I want to know how to link it to a process or composite. In the advance section it specifies a project name and case name. How do I link it? Please help me with an example on how to create sub case.
ref:- https://docs.oracle.com/middleware/1213/bpm/bpm-develop/case_mgmt_bpmpd.htm#BPMPD87407
Thanks
AnilOn the Case UI within BPM workspace there should be a place to link cases.
Also have you looked at the following API ICaseInstanceService (Oracle Fusion Middleware BPM-Services Java API Reference for Oracle BPM Suite)
oracle.bpm.casemgmt.ICaseInstanceService
addCaseLinkboolean addCaseLink(IBPMContext context, CaseLink caseLink) throws CaseServiceExceptionAdd a case link
Parameters:
context - an IBPMContext value
caseIdentifier - a CaseIdentifier value
caseLink - a CaseLink value
Returns:
a boolean value
Throws:
CaseServiceException - if an error occurs -
How to create a sub menu for the transaction se38
Hi All,
I have created menu item in se38 using menu exit.
By using the enhancement SEU00002 .
That menu item is displayed under utilities menu bar.
But i am unable to create sub menu for that.
My requirement is to create sub menu to the custom menu item.
How can we create a sub menu to the transaction se38.Hi,
it looks like that user exit SEU00002 offers only one extra function +CUS. This function then calls FM EXIT_SAPMS38E_010. Hence I do not think that it is possible to create sub menu with this user exit.
Anyway you can try to modify SAP standard. You need to modify menu for SE38 and then add your code for handling new function codes. You can easily find where you will have to add your code for handling functions from your sub menu. You just need to look for usages of the FM EXIT_SAPMS38E_010.
Cheers -
How to create a Sub Menu?
I know it can be done. But just can't find how to do a
submenu that shows when you roll the mouse on main menu, and hides
if your mouse is anywhere else. I can imagine that I can create the
sub-menu with a movie clip symbol containing each command or choice
as a button. But waht I don't know it how to keep it hidden and to
make it only shown when you point the main menu that should
activate ths sub menu.
Thanks for your helpYou can use click events on the main menu to trigger the
submenus and then use rollOver events to know which submenu to show
and which to make invisible. -
How to create a sub vi with control button as a whole
Hi, I am quite new to LabVIEW. So do bear with me.
I was trying to create a sub vi of a contril panel that i had create. mainly on toggle and button. I need to create this control panl into a sub vi so that it can be put into the main Vi which was not done by me. I was given a input to the main VI. When I try to create, the contrl button was not inside this Sub VI. Why? what had i done wrong and it is not possible to do it in this way.
Do refer to the attachment.
Attachments:
LabVIEWsubvi1.jpg 25 KB
LabVIEWsubvi2.jpg 14 KBAh, I see now.
I think you are getting what you are going to get. The control is tied to the front panel, so you can't just remove the front panel item when trying to make a subVI (I'm talking about the tool itself). So you will need to delete the control from the main VI and disconnect the control from the connector pane on the subVI. You are dealing with a corner case.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to creat multiple sub VIs'
I have a VERY large VI that finaly crashed due to the large size. What is the best way to create "Sub VIS"? I have almost 800K of code. Should I create all the sub vis and then add them to my Project? I want the program to call the sub vis automaticaly.
Thanks
PhilipHi Philip,
Backups:
As Lynn (johnsold) said, local backups are a minimum requirement.
A service like Dropbox is better in case of computer crash.
Note: Temporarily disable Dropbox syncing when doing builds in a Dropbox folder as this may cause builds to fail.
The best solution is true source control like the free TortiseSVN.
For sub vis I suggest:
Identify code sections that perform one specific function. This makes a logical sub vi. If you can easily come up with a name to describe the
section (like "Parse Input String" for example) then you are on the right track. With some practice you will be creating sub vis that can be used
in other programs and save you time in the future. This is a good reason to NOT include unrelated code in a sub vi just because it will fit.
Take note of the number of inputs and outputs in the code section. Ideally you want a small number of inputs and the same for outputs (3 or 4). Use clusters to reduce the number of I/O items.
Standardize on a connector pane layout - this makes wires line up better. The 4224 pattern works well. When LabVIEW creates sub vis it only creates the number of inputs and outputs that are required. So you will normally have to change the connector pattern and rearrange the controls and indicators every time you create a sub vi.
Include error in and error out in their standard places even if you don't need them for the particular application. When you use that sub vi later
you may need them.
Good practice is to use Type Defines for controls and indicators that go to more than 1 place. In your case, it is a jugement call if it is worth the trouble to do this on an existing program. Once you start using sub vis more, Type devs become very important. If you don't use them, changing a data structure will require manually changing every sub vi that uses that data structure.
steve
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help. -
How to Create inner Sub-Node in Menu bar
Abap Masters,
I have Created Submenu name of <b>File</b>. But i want to include 3 inner Sub-Nodes in File. Like as
<b> Menu</b>
<b>File </b>> <b>Recent File</b>
<b>Deleted File</b>
<b>All Files</b>
Can Anyone of the ABAP Master Help me ?hi,
in ur program.
write the following code.
set pf-status 'MENU'.
double click menu.
u will be taken to menu painter,there in the menu bar section write main menu item name that is File in ur case.
double click on File.
u will get an option to add elements in the File menu give code and add the items.
and further if u wanna add submenu items double click the menu item (recent file) to get an option for adding sub menu items.
using the assigned codes give the funtionality in ur program
if help ful reward some points.
regards,
Ravi -
How to creat the sub type in attendance infotype (2002)
Dear Guru's,
I have to creat a subtype in attendance infotype(2002) .
kindly provide the way to do.
Thanks & Regards
Rajkumar A.Subtypes of attendances are nothing but types of attemdances. You can vreate these in table V_554S_B.
Regards,
Parul. -
Im creating a website for my baseball team. I have a Varsity website but I want to create a new page for Rosters, and another page for schedules, etc.... Is there a way to create a page and not have it show up on the header as a link? Ill create a hyperlink to the other pages, but I dont want my header clutter with links to every single page, just to the main ones.
For any page: open the inspector (lower right on the tray) and click on the 1st icon on its header "Page Inspector", uncheck "include page in navigation menu"
-
AIR iOS how to create folder in the documents directory
Hi,
I'm wanting to create a sub folder within the apps document directory that I can then save files into.
I have the functionality in place to save the files, I just need to know how to create a sub folder first.
Would anyone know if this is possible and if so, how?
Thanks,
MarkThanks you!
-
Hello
Does anybody know how to create a sub cost centre. As in a cost centre which is part of/under another main cost centre.
I would be really greatfull if anybody can help.
Thank you
Regards
BindiYou could use a statistical Internal Order for lower level analysis of a Cost Centre.
We use these for our Schools.
Each School has one Cost Centre eg: E10030
And then many Internal Orders which represent the departments eg:-
ECAT10030 Catering
EENG10030 English Dept
EMAT10030 Maths Dept
Some Schools have over 100 Internal Orders.
Validations ensure an Internal Order is always used with a School Cost Centre. No posting can take place against the Cost Centre alone.
Substituions enter the related Cost Centre for an Internal Order when creating a document.
The Cost Centre is held against the Internal Order in its Master Record.
Edited by: Amanda Byrne on Jul 26, 2010 1:26 PM -
How to create submenu....
In my home page tab, i have 5 page..
employee detail,allowance_master so and so...
from above pages,employee detail page is blank page and other pages are tabular...
My task is i have to create sub menu for employee detail page,i.e. employee detail page contain 4 pages.
how to create the sub menu for that employee detail page?
help please...
thanks.........Select the employee menu and then press "create standard tab" and proceed..
Maybe you are looking for
-
Can't pair apple remote to mbp
I've been searching for a while now but all the solutions found did not fix the pairing issue I encounter between my Macbook Pro and the apple remote. I've a Apple TV and a Macbook Pro. Both I want to control with a apple remote. Now pairing should d
-
Streming iMac videos' sound to AX with AirPlay
Hi everybody, I'm just wondering if I can stream the sound from any of my iTunes movies to my AirPort Express while watching the video on my screen. Kind of what you do with your iPod, where you choose where to play the sound of what you watch on you
-
Mac won't restore from external hard drive due to lack of memory
I downloaded a clock from the app store and upon starting it my mac crashed. Everytime I turned I got a screen that said to turn it off. I eventually restored it from the internet. However I had previously backed up my harddrive using time machine an
-
Loading an image in from a file
Hi, I am trying to load an image in from a file, I have found an example using the following code: import java.awt.Image; import java.awt.Toolkit; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; i
-
Hello, in ABAP there are Business Add-Ins (part of the Enhancement Framework) for customer-specific enhancements. Which possibilities do I have in JAVA to enable customer-specific enhancements ? Thank you in advance and kind regards.