How to define a macros in labview
Can you please tell me.
How to create the macros in the labview.
Like below mentioned
#define sqrt (x) (x * x)
with regards and warm welcome,
Ramamoorthy S
with regards and warm welcome,
Ramamoorthy S
Solved!
Go to Solution.
LabVIEW does not have macros, but it is a programming language that can do just about anything. Please following some LabVIEW Training, or the Skill Guide to get started.
Edit: I also found this self paced training.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Similar Messages
-
How to call HR Macros in ABAP-Webdynpro
HI all,
I want to extract HR data in webdynpro view.
Where should I give Logical Database PNP?
The ifnotypes key word is not accepting in Webdynpro coding?
Where should I give GET PERNR event in Webdynpro?
When I use RP_PROVIDE_FROM_LAST .... says error message
Statement "RP_PROVIDE_FROM_LAST" is not defined. Check your spelling .
How to use the Macros in Webdynpro (VIEW) methods.
First time I'm working in ABAP-HR Webynpro.
Please help me out..
Thanks,
PrasadHi,
How did u solve this? pls provide the solution.
Regards,
Lakshmi. -
How to use HR Macros in Web Dynpro ABAP
Hai All,
Am new to Web dynpro Abap working in HR req.
Can u pls help me how to import HR Macros in webdy ABAP.
It will be very much helpful to me. Pls provide any link or doc if available.
Thanks in Advance,
Nalla.BHi Nalla,
if you can't find any Function Modules or BAPIs as Kris suggested, you would basically do this (conceptionally):
1. What is your business logic supposed to do (output) and what information does it need (input) for processing.
2. Build a class in se24 and implement static public methods with the business logic you defined in (1.).
3. Call the static methods in your WD4A-Framework.
If you are unfamiliar with the class builder, make a local class first in se80, in a test program or alike.
Does this help you a bit?
regards, Lukas -
Post macro in LabView to generate multi-graphs
Hi,
I would like to ask how to link and use an Excel Macro in LabView 7.1 to generate multiple graphs in Excel 2000.
The most important thing is to be able to generate Excel-quality graphs in Excel without physically going through the ChartWizard procedure.
Thanks a lot. Any idea would be appreciated.Mr. Liang,
There is an example that ships with LabVIEW that shows how to call a macro in Excel. It is called Excel Macro Example.vi. There are also quite a few discussion forum threads on calling into Excel.
The Report Generation Toolkit also provides a lot of functionality for controlling Excel from LabVIEW.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me -
How to define our own selection screen for logical database in abap-hr?
Hi Friends,
Can u please help me
How to define your own selection screens for logical database.
we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using customer table like t599c, t599f and how to add to my logical database?
Thanks in advance
charancheck out this online help
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
Regards
Raja -
How to create a macro for a planning type in MC8b transaction
Hi,
I am presently working for a product allocation demand, which have a information structiure with characteristic and key field.
the characteristic are production allocation quantity, incoming order quantity, and open order quantity.
i have created a planning type in which the data updation takes from the excel file to the planning type in mc95.
but i need to create a macro for this planning type .
can any body give the details information how to create a Macro for a planning type.
Thanks and regards
GopalKrishnaDear Gopal
May be the link would be helpful to you.
[Planning Types and Macros|http://help.sap.com/saphelp_46c/helpdata/en/a5/631cc443a211d189410000e829fbbd/frameset.htm]
Drill down the left tab once you opened the link, for more information.
Thanks
G. Lakshmipathi -
How to define namespace with one XSD using in two different DB-Locations ?
I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
when using one common schema.xsd-definition
in two different database-locations for exchange xml-documents?
when insert xml-document I've got an error ORA-30937
do you have an good exsample ?
thanks
Norbert
schema :
<xs:schema
xmlns="http://sourcehost.com/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oraxdb="http://xmlns.oracle.com/xdb"
targetNamespace="http://sourcehost.com/namespace"
xml-document :
xmlns="http://Sourcehost.com/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
SQL> insert into ADRESSEN values
(XMLType
(bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
, 0 )
--> error :
ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"Norbert
The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
I can use the same URL , for instance
http://xmlns.example.scom/xsd/myXMLSchema.xsd
on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure. -
How to define BPC architecture?
Hi All,
Iu2019m a BI and BPS consultant and Iu2019m doing a prototype for evaluating BPC for Sales Planning and I need some help.
Process flow as:
a. Extract sales from COPA (amount and quantities);
b. Copy Actual to Budget version;
c. Create new customers;
d. Delete old customers;
e. Calculate the seasonality of sales & and adjust budget;
f. Load & adjust prices
g. Load & adjust sales costs
h. Calculate Net Revenue
i. Calculate costs
My file format is as given below:
Account|Category|Time|RptCurrency|Entity|Customer|Product|Amount|Quantity
Questions:
1- There is a specific KF to load quantity or I should use another account? If so how do I load the unit measures?
2- I tried to load my file in u201CEuru201D but I received an error. The upload only finished OK when I changed the currency to u201CLCu201D. There is any trick?
3- In customer dimension, I add the sales org. attribute but it didnu2019t work out because a customer can have more than one sales org. There is any way to define a compound key for a dimension?
4- Where can I find relevant documentation about BPC?
Thanks for reading my post.
Regards, FredHi Shyam!
Thanks for your answer.
1. I followed your suggestion and load the data twice (one for amount and another for quantity) but I still have de unit measure problem (KG, TON, etc.). Any suggestion about how to handle this situation?
2. Yes is easy for me to convert LC in any other currency after the data load. But the problem is that I must load data in multiple currencies (EUR, USD)u2026
3. No it didnu2019t work out. Let me give you an example:
Customer Sales Org Distribution Channel
100001 AX01 1
100001 AX02 2
When I tried to process dimension I received the following message u201CMember ID must be uniqueu201D. Any other idea about how to define the compound key Customer and Sales Org?
Regards,
Frederico -
How to define Composite primary key for a Table
Hi ,
I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
Can anybody please tell me how to define a Composite Primary Key on a Table .
Thanks in advance .
Edited by: user672373773 on Sep 25, 2009 8:54 AMHere is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
Example creating composite index
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
Syntax for adding a PK (composite or not)
alter table oooooooo.tttttttt
add constraint tttttttt_PK
primary key (sample_column2,
sample_column1)
using index
tablespace IDXSPC
pctfree 05
initrans 04
maxtrans 08
storage (initial 16k
next 16k
maxextents 32
pctincrease 0);
-- dictionary management with restricted storage, change as desired.
HTH -- Mark D Powell -- -
How to define default element in SAP-Script?
Hi Guys,
How to define default element in SAP-Script?
Can you tell me to do this...is it possible in all the windows or only in main window?
Regards,
GURUHi,
Welcome to SDN
You can't post ur questions in other's threads .Open a new thread.
click on post new thread and open new thread.
Regards -
How to define a Custom Action in VC 6.0 ?
Hi all
I want to know how to define a custom action like for a check box UI Element, I want particular action to be performed when it is checked ? How can I achieve this in VC 6.0
Please feel free to ask me if my question is unclear ?
Regards
KapilHi,
Try adding an expression element on your form.
Go to the Expression control properties and in the Expression attribute enter
IF(@Selected==true,"X"," ")
@Selected is the checkbox. For your function call input use the expression element and not the checkbox.
Hope this helps. Let me know if it works.
Thanks. -
How to define ABC class field in the Customer Master Sales tab
HI All,
can any one let me know how to define the new ABC class in the Customer Master Sales tab like below.
u2013 A (> 6,000,000 )
u2013 B (> 1,000,000u20136,000,000 )
u2013 C (> 100,000u20132,000,000 )
u2013 D (< 100,000 )
can any one let me know how to define and path in IMG.
Thanks in advance.
kumar reddy.In my opinion, you don't have any such std table/view to update ABC Classification field. You might need to update relevant infostructure based on your requirement, such as sales, invoiced, etc..
Try with following, based on your requirement:
MC(A
SIS: Customer,Inc.Orders - Selection
MC+A
SIS: Customer Returns, Selection
MC+E
SIS: Customer, Sales - Selection
MC+I
SIS: Customer Credit Memos - Selec.
Regards
JP -
How to define variables in toad sql script editor - newbie
I have just pull out the script of a Function and want to run it on toad SQL editor.
I am little bit confused how to define the VARIABLEs here in toad SQL editor to run my script.
SELECT
NVL(SUM(debit), 0) - NVL(SUM(credit), 0)
INTO l_accountBalance
FROM
GLP_VoucherMaster vm
INNER JOIN GLP_VoucherDetail vd ON vm.GLP_VoucherMaster_ID = vd.GLP_VoucherMaster_ID
INNER JOIN GLP_ChartOFAccounts coa ON vd.GLP_ChartOfAccounts_ID = coa.GLP_ChartOfAccounts_ID
WHERE
vm.isActive = 'Y' AND vd.isActive = 'Y'
-- *** how to define variables in toad sql script editor ***
AND vm.voucherDate < p_cDate
AND coa.AccountCode LIKE p_accountCode || '%';
Thanks
w\Just prefix with a colon (:)
SELECT NVL (SUM (Debit), 0) - NVL (SUM (Credit), 0)
INTO L_accountbalance
FROM Glp_vouchermaster Vm
INNER JOIN
Glp_voucherdetail Vd
ON Vm.Glp_vouchermaster_id = Vd.Glp_vouchermaster_id
INNER JOIN
Glp_chartofaccounts Coa
ON Vd.Glp_chartofaccounts_id = Coa.Glp_chartofaccounts_id
WHERE Vm.Isactive = 'Y'
AND Vd.Isactive = 'Y'
AND Vm.Voucherdate < :P_cdate
AND Coa.Accountcode LIKE :P_accountcode || '%';
/:p -
How to define a Value for an Attribute of an Class
Hi,
How to define a Value for an Attribute of a Class ...
( I need to change the value of an Attribute of a class in standard program ....
Ex...
cl_hrce_masterswitches=>infotype_framework_is_active
Here infotype_framework_is_active is the attribute .. its value in standard program is 'X'... Now i need to change it as ' '.
How to define it and set value as ' '.Hello Surendar
The static attribute INFOTYPE_FRAMEWORK_IS_ACTIVE is read-only and there is not SETTER method to manipulate its value.
However, the attribute is filled in the CLASS_CONSTRUCTOR:
METHOD class_constructor.
IF ce_is_active = true OR
global_payroll_is_active = true OR
mngmt_global_empls_is_active = true.
infotype_framework_is_active = true.
perid_infotype_is_active = true.
ELSE.
infotype_framework_is_active = false.
perid_infotype_is_active = false.
ENDIF.
ENDMETHOD.
Thus, you need to analyze how attribute CE_IS_ACTIVE, GLOBAL_PAYROLL_IS_ACTIVE and MNGMT_GLOBAL_EMPLS_IS_ACTIVE are filled in the CLASS_CONSTRUCTOR.
For sure you will find customizing settings that are responsible for this.
Regards
Uwe -
How to define keys in target DSO
hi gurus!!
..can you please extrapolate on how to define key in target DSO and transformation logic.. (please refer to below discussion from for scenario from earlier posting)
thanks in advance
I have data from 3 datastore objects which I need to update one infocube. However, I need the data to come together to form one line per record. I've found that if I update the cube directly from the 3 DSO I get 3 lines rather than one, and if I update them all to a DSO and then to the cube, the same thing happens because I take the data from the change log.
If I go via an InfoSet, I can not do a delta upload to the cube.
I need this to run a min of once an hour.
Any tips or advice would be greatfully recieved.
Thanks
Alice
answer:::::
You need to have an common key fields set in all of the three transformations.
In your case it is probably:
The key in target DSO is: k1..k3
ODS1 - updates key k1, leaves k2, k3 empty
ODS2 - updates key k2, leaves k1, k3 empty
ODS3 - updates key k3, leaves k1, k2 empty.
If you have it that way, you will end up with three records, instead of one.
k1, empty, empty
empty, k2, empty
empty, empty, k3
To resolve this, all of the source DSO must be able to determine and set a common key part in the transformations.
Target ODS:
Key K1,
ODS1 - updates K1, key figures/characteristics from ODS1
ODS2, updates K1, key figures/characteristics from ODS2
ODS3, updates K1, key figures/characteristics from ODS3
result:
K1, key figures/characteristics from ODS1, then
K1, key figures/characteristics from ODS2 - result is - previous record's key is overwritten, but the key figures/characteristics are mapped to the correct infoobjects (depending on how you set the transformation....)
K1, key figures/characteristics from ODS3 - as for ODS2.
The final result:
K1, key figures/characteristics from ODS1, key figures/characteristics from ODS2, key figures/characteristics from ODS3.Hi,
As thomas said you maintain your keys same as your source DSO's in the target DSO.This is how the procedure goes when no specification for the keys are given.So maintain same keys which are in the sources.
Regards
Karthik
Maybe you are looking for
-
How to use XSJS file path in Controller.js file
Hi Experts, Regarding How to use XSJS file path in Controller.js file. I have gone through the SAP HANA Extended Application Services (Thomas Jung http://scn.sap.com/community/developer-center/hana/blog/2012/11/29/sap-hana-extended-application-servic
-
my ipod is not working so poeple said that i have to restore my ipod and when i did my itunes said that there is an error !!
-
SOAPException: Message send failed: Connection timed out
Hi! How to solve "javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect" in a page jspx using ADF Webservices Data Controls ? I'm using JDeveloper 11.1.1.2 . Edited by: reginaldo oliveira on 16/09/2010 11:29
-
HT204384 how do i copy items in folder to sd card
how do I copy folder onto sd card am new to my mac thanks angelo
-
OC4J - cryptography - Sun JCE: is it compliant?
Hello, I need to determine if I can use Java Cryptography Extension 1.2.1 with OC4J >>standalone<<< in the following environment: - MS Windows 2000 Professional - JDK 1.3.1 - Oracle 9iAS 1.0.2.2.1 and its OC4J module By reading other posted messages,