How create CIN with visual C++
I am trying to generate a CIN for the following example C code (mult.c)
* CIN source file
#include "extcode.h"
CIN MgErr CINRun(float32 *A, float32 *B, float32 *AB);
CIN MgErr CINRun(float32 *A, float32 *B, float32 *AB) {
*AB = *A * *B;
return noErr;
My makefile is
name=mult
type=CIN
cintoolsdir=C:\Program Files\National Instruments\LabVIEW 6.1\cintools
!include <$(cintoolsdir)\ntlvsb.mak>
I'm following the istructions in the LabVIEW Code
Interface Reference Manual to compile a CIN using visual c++, but when I open the makefile
whith visual C++ don't showme the messages mentioned in the manual and I can't add the mult.c file.
I'm using Labview 6.1 and MVC 6.0
Can anyone help?
I am not sure what the problem could be. I have followed the steps in "Using External Code in LabVIEW" manual with LV6.1 and VC++6 with success in the past. You can find the manual by opening LabVIEW >> help >> search the LabVIEW bookshelf. This launches a pdf with hyperlinks to all the LabVIEW shipping documents. The manual will be listed there.
The manual has been updated for 7 so you may want to look for it online for the latest information.
Similar Messages
-
How create header with user id time date to VC-report's output as display ?
How create header with user id time date to VC-report's output as display ?
This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)Hi ann-mari
Go through following link may it help u
Form Item disabled based on portal role
/people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
Best Regards
````Satish```` -
How to create dll with visual c++ 6.0
I have create two file ( file.h, file.cpp)
I make a new project in visual c++ 6.0, to make dll wizard.
and then I add code (file.h, file.cpp) in this project. But when i build it has a error.: fatal error C1010: unexpected end of file while looking for precompiled header directive.
help me...Hi,
For me, when I make the .dll file with Visual C++, I used the cl.exe to do the job. Open the dos command, type cl then see the option, you should soon find out the solution, for futher question, you can email me at [email protected] and I will reply you as soon as possible.
With my best,
Zike Huang(jim) -
How create report with data from table and some columns results function ?
Hi,
How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
for example , I want to create a report like that:
device last_date error_msg stop/start
kodak1 06/04/08 null >>
kodak2 08/03/08 good msg --^--
kodak3 08/04/08 err msg >>
3 rows returned
where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)Thomas,
There is no problem here -- this is fully suported scenario.
1. Bind Table dataSource to Customers node.
2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
How create page with two frame (google geocoding BSP)
Hi all,
can someone suggest me how create an BSP application with the main page composed by two frae?
I've create a page with tags <htmlb> gridLayout for ape the frame structure and the result is fine.
here the screenshot of what i've done: http://img17.imageshack.us/img17/3558/bspgeolocalization.jpg
But now i've to call the right page frame ( obviously in his frame) from the left page controller after pressing the 'search button'
and passing to it a table.
someone has an idea?
Thanks in advance,
Davidecheckt his thread
Web template keep loading/refreshing in BSP
though the question is for different purpose, you can find the code for framed pages there -
How create water with specially good effect
hi everyone,
I want create a river or a lakes .
how can I create water with some specially good effect in shockwave.like Wave,Reflection etc
unity3d may do it easily,Look this water effect from unity3dSomeone tell me "rendertotexture" can do it,
But I don't know how to do
I want to learn more on this water effect using Director
anybody have demo(source file) or Other methods ,please tell me
thank you. -
When I try to create a DLL to be used as a CIN with CVI, I get linker errors
that point to the
cin.obj file.
_CINRun is undefined.
I have gone through the steps outlined in cvilvsb.h and followed them exactly.
the
only other issue I am unsure of is the #pragma pack which is enveloped around
struct definitions which I have not defined any structures.
If anyone could give me a quick step by step on what i may be missing, it
would be
appreciated.Edwin wrote:
> When I try to create a DLL to be used as a CIN with CVI, I get linker errors
> that point to the
> cin.obj file.
> _CINRun is undefined.
>
> I have gone through the steps outlined in cvilvsb.h and followed them exactly.
> the
> only other issue I am unsure of is the #pragma pack which is enveloped around
>
> struct definitions which I have not defined any structures.
>
> If anyone could give me a quick step by step on what i may be missing, it
> would be
> appreciated.
It appears to me that you are trying to do two very different things here.
It has be a long time since I did CINs though, so I could be mistaken.
A DLL is something you can call directly from LabVIEW using the "Call Library
Function"
This is usually a large collection of functions
and must be compiled specifically
as a DLL
A CIN on the other hand is a small piece (usually) of C code that is compiled as
an object
file (by an external compiler) and then incorporated into LabVIEW using the "Code
Interface Node"
If you start with a new VI , drop a CIN on the diagram, right click on the
CIN and select "Create .c file"
you will see that it creates a skeleton piece of C code. The main function will
be CINRun
This MUST be in a CIN for it to work properly.
I suggest you look at the Code Interface Reference Manual. While it may be
possible to call
a DLL from inside a CIN I do not believe that you can make a DLL and and use the
Code Interface Node to call it.
Kevin Kent -
How create table with variable number of columns?
I am creating table data in Java. Number of columns is variable. How I can write <table> in UIX.
Here is code of one of my unsuccessful attempt:
<provider>
<!- get table data like DataObjectList-->
<data name="ReportTableData">
<method class="app.ReportTableData" method="getTableData"/>
</data>
<!- get names of columns like DataObjectList-->
<data name="ColumnNames">
<method class="app.ReportTableData" method="getColumnNames"/>
</data>
</provider>
<table data:tableData="@ReportTableData">
<contents data:childData="@ColumnNames">
<text data:text="nameColumn"/>
</contents>
</table>
I hoped that I can get cell data by key, where key is name of column. But cells of table contain only names of columns.
Please help me, where I mistaken?
Thank you.Hi Sergey,
The UIX table implementation relies on a childData like mechanism internally to iterate over the rows. For instance, when you databind the text attribute of the UINode used to stamp out each column, you are relying on the uix:table iterating over the table data using the data object for the current row when evaluating your column stamp.
Setting the data:childData attribute on the table's contents element conflicts with UIX's internal iteration over the tableData. For this reason, we don't support specifying a dynamic number of table columns in UIX XML.
This doesn't mean that you can't do it, there are different strategies. If you've got a finite and known set of columns, you can specify each possible column and then databind the rendered attribute of each one to hide and show it as appropriate. Another, often cleaner approach, is to build this subtree of UINodes in Java code. -
How Create infotypes with both transaction pm01 and ppci
HI Gurus,
I need create custem infotypes by using the pm01 and ppci .
requirement is i need to create two custem infotypes with subtyeps in personal administration and personal planing .
1.can any provide step by step in to create the custem infotypes in pm01 and ppci.
2. how to create sub types also.
Regards
Ramesh.
Thanks in advanceSteps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create (Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
8) Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement. (Better open another session with some standard Infotype's infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000 as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level) -
How to work with Visual Composer
Hi,
I am working with EP 7.1,NW04S.I also install IE 6.0,Adobe SVG Viewer3.0,Flash environment in my local machine.I assign the super admin role to the particular user also.Even thou.once i am giving the URL for the visual composer like http://host name:port number/vc/default.jsp ,the design page of Vc is not opening and its showing error like The requested resource /vc/default.jsp is not available.
I think it is some post configuration work has to be done.
How to resolve this error so that i can work on visual composer ? Your idea will highly appreciated.
Thanks..
Kundan
Edited by: Kundan 2009 on Mar 8, 2010 5:47 AMHi,
cross check post installation steps below
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1d55042e-0c01-0010-e3a3-b009c445ee23?QuickLink=index&overridelayout=true
system alias is the reference system which contains properties of backend systems ( example ECC ) to map. I think you already did that
you can search in sdn with key words system or system alias for more information.
Regards,
Koti Reddy
Edited by: Koti Reddy Chimalamarri on Mar 8, 2010 10:13 AM
Edited by: Koti Reddy Chimalamarri on Mar 8, 2010 10:17 AM -
How Creating CFL with using Usertables? Explain Step by Step..
Hi all,
I worked with CFL for existing tables that means ItemMaster,.. it is fine.but I dont know <b>how to create the CFL with using Usertables</b>?. Please anyone explain step by step.
By,
Suresh.GHi Suresh,
Step 1: Please register an object for your table.
Step 2: Specify the object code you created in the CFL.
Regards,
C.Manojkumar -
How create EtchedBorder with round corner?
Hi,
does anybody have an idea, how to create an EtchedBorder (for a JPanel) with round corners?
Thx.
Hansdid you check the source of the EtchedBorder ?
you can create an round button that paints the same
just .. with round corners
here an example for RoundBorder
http://examples.oreilly.com/jswing2/code/ch13/CurvedBorder.java -
SCSM - How create view with all my work itens
Dear,
I need to create a view tha displays all work items assigned to me and my group. And I sill need to sorte this queue by the target date calculated by the SLO. Anyone know a solution?
I've tried to create a query based on SLAInstanceInformation class, but when I click the record the related work item does not open your form. Have also tried to create based on work item class, but your relathionship WorkItemHasSLAInstanceInformation is
1 to n.
thank's,
JuanAaron, Thank's a lot.
I had never created a custom task. I did the following steps:
1. I made a dll with the following code and compiled successfully.
namespace Axter.SLA.Instance.TimeInformation.Tasks
class OpenTaskHandler : ConsoleCommand
public override void ExecuteCommand(IList<NavigationModelNodeBase> nodes, NavigationModelNodeTask task, ICollection<string> parameters)
if (nodes != null && nodes.Count == 1)
IDataItem idiDC = (IDataItem)nodes[0];
IDataItem idiPWI = (IDataItem)idiDC["WorkItemHasSLAInstanceInformation"];
FormUtilities.Instance.PopoutForm(idiPWI);
2. I built the package and sealed successfully.
<Category ID="Category.MyPopout.Task" Target="EditWorkItemTask" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.UI.Console.DoubleClickTask" />
<ConsoleTask ID="EditWorkItemTask" Accessibility="Public" Enabled="true" Target="SLA!System.SLA.Instance.TimeInformation" RequireOutput="false">
<Assembly>Console!SdkDataAccessAssembly</Assembly>
<Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
<Parameters>
<Argument Name="Assembly">Axter.SLA.Instance.TimeInformation.Tasks</Argument>
<Argument Name="Type">Axter.SLA.Instance.TimeInformation.Tasks.OpenTaskHandler</Argument>
<Argument>Edit</Argument>
</Parameters>
</ConsoleTask>
<Resources>
<Assembly ID="Axter.SLATasks" Accessibility="Public" FileName="Axter.SLA.Instance.TimeInformation.Tasks.dll" HasNullStream="false" QualifiedName="Axter.SLA.Instance.TimeInformation.Tasks, Version=1.0.0.0" />
</Resources>
3. I copied all files to a folder on ther server and executed following script in powershell
import-module -force "C:\Program Files\Microsoft System Center 2012\Service Manager\Powershell\System.Center.Service.Manager.psd1"
$mpbPath = "Axter.SLA.TypeProjection.mpb"
$mp2 = "Axter.SLA.TypeProjection.mp"
$mp1 = "Axter.SLA.TypeProjection.xml"
$r1 = "Axter.SLA.Instance.TimeInformation.Tasks.dll"
New-SCSMManagementPackBundle -Name $mpbPath -ManagementPack $mp1, $mp2 -Resource $r1 -Force
4. Unfortunately i get the following message
New-SCSMManagementPackBundle : Function failed during execution.
At line:1 char:1
+ New-SCSMManagementPackBundle -Name $mpbPath -ManagementPack $mp1, $mp2 -Resource ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Microsoft.Enter...ckBundleCommand:NewSCManagementPackBundleCommand) [New-SCManagementPackBundle], InstallerException
+ FullyQualifiedErrorId : ExecutionError,Microsoft.EnterpriseManagement.Core.Cmdlets.NewSCManagementPackBundleCommand
Any idea?
Juan -
How create documents with "Open" Status
Hello!
I create purchase orders in SAP using SDK:
Set oOPOR = oCompany.GetBusinessObject(SAPbobsCOM.oPurchaseOrders)
lRetCode = oOPOR.Add
But all my docs have "close"-status, that is why I can't create following invoices in my system.
DocumentStatus property of doc-object iis read only.
Can you help me? What should I do to create "open" docs?
Thank you!Hi Andrey,
Try This.....
By using this code creating a purchase order with docstatus=open in my system
Dim RetVal As Long
Dim ErrCode As Long
Dim ErrMsg As String
Dim oPurchaseOrder As SAPbobsCOM.Documents
oPurchaseOrder = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
oPurchaseOrder.CardCode = "V1010"
oPurchaseOrder.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
oPurchaseOrder.DocDate = DateTime.Today
oPurchaseOrder.Lines.ItemCode = "A00002"
oPurchaseOrder.Lines.UnitPrice = 2.36
oPurchaseOrder.Lines.Quantity = 50
oPurchaseOrder.Lines.DiscountPercent = 10
oPurchaseOrder.Lines.Add()
oPurchaseOrder.Lines.ItemCode = "A00002"
oPurchaseOrder.Lines.Quantity = 8
oPurchaseOrder.Lines.UnitPrice = 5
oPurchaseOrder.Lines.DiscountPercent = 10
RetVal = oPurchaseOrder.Add
If RetVal <> 0 Then
MsgBox(ErrCode & " " & ErrMsg)
End If
Thanks
Shafi -
How Create Podcast With Chapters?
i'm new in mac
i want create podcast like tiesto club life and hardwell on air ,one m4a and multitrack inside it and in itunes chapter menu easy switch between they.
and want to use garageband,ty.i can't understand Version 11???!
The version naming is very confusing. GarageBand '11 is called '11 because it is part of the iLife '11 bundle. But the the program version is GarageBand 6.0.5. The newest version is GarageBand 10.0, the version you are having.
The problem is, the AppStore will only offer the most recent version to you, unless you already bought the older version. So you cannot buy it from the AppStore. That is why I suggested to buy the boxed version of iLife '11 from a third party, like amazon. That would actually be not a bad bargain. GarageBand '11 has quite a few features, that are no longer supported in GarageBand 10.0, and the iLife '11 package will also include iDVD, so you will have a software to burn video DVSs.
You can keep both GarageBand versions installed; they do not interfere. Don't delete your current GarageBand 10.0, you may want to use the drummers and arpeggiators.
Maybe you are looking for
-
VBA or Non-VBA Solution to Filter records based on Master Selection.
Hi Folks, I have a rather complex requirement(for me). I have a Master sheet named "Master". In this there are names of employees. Now there are several other sheets named with Month & Year <January2014,Februrary2014...etc>. In these sheets, lies the
-
New install of CFB 2 on Win 7 32bit with CF901. When right clicking on a database table in RDS Dataview I get an error , I get the error "/MyProject/.rdsTempFiles/RDS Query Viewer does not exist". The same is happening when trying to open the RDS Qu
-
Cause of Itunes 7.6.0.29 freezes on Windows - .mpeg updates
Short version - itunes is nuts, and is digging through your videos while you're trying to listen to music. Take all video (including video podcasts) out of your iTunes library, and return to normal. Save it somewhere and put it back in whenever they
-
How to use .joboptions (Printer settings) to make PDF
Hi, Currently we using .joboptions settings file to change the Printer setting of PDF & make another PDF with that settings. Following is the non-programmatical process to use .joboptions Control Panel\Hardware and Sound\Devices and Printers -> Adobe
-
Hi Excise values are not flowing in MIRO. partI, part II entries are completed MRP indicator is OK in Excise invoice. in this excise invoice 3 line items are displying(PO have 3 line items) for 1st, 2nd line items are showing the excise values are co