How to call dlls for valve system
I need to call the dll file I made from visual C++.The main theme is to control valve system from labview. I put the control switches(booleans) in labview and now want to connect it to the initial C++ program I made for valve control.Is there any way that I can use the on/off switchs(booleans) and code interface node for the system to work?Please help.I am having problems with dll calling .
I got the message" call library function :function not found in library".
I had checked for the function name,its same as is on the header file.I had tried for both C and stdcall calling conventions,still it didnot work.
please suggest what could be wrong.
Similar Messages
-
How to design EDW for source systems from different Time-Zones
How to design EDW for source systems from different Time-Zones?
Suppose IT landscape has a global BW in New York, and source systems in americas, europe and asia, then how the time-zones effect on time related things like delta selections on date or timestamp etc.As you said BW is global in NY, your source system must be global too. People from various locations can connect to same source system and thus timestamps for delta is always maintained as 1 single time. We have same scenario in our project. Our R/3 system is used by users in US and Europe. So we run deltas twice in day to make sure we got deltas from both locations.
If scenarios was such that all locations connect to separate R/3 system, then obviously you have multiple queues. That is unique delta queue for each source system so deltas will be pulled as per data in respective queues.
Abhijit -
How to create Rfc for EP system in Solution manager
Dear experts,
I am doing ChaRM configuration for my EP system ( java only).
I also configured CTS+ successfully but we want to integrate this with Chram in solman.
I have done all configuration according to standard doc for ChaRM.
But when creating project from solar_admin it is giving " NO RFC for DEP system"
so please suggest me how to create RFC for java system in Solution manager.
thanks in advance
dhirajHello,
You need to setup an ABAP communication client and system, that's done through the TMS settings:
For source system:
- CTC 1
- CTS_SYSTEM_TYPE JAVA (others for a MDM system)
- NON_ABAP_SYSTEM 1
- COMMUNICATION_SYSTEM: (SAPSID of the ABAP communication system (e.g. the domain controller))
- NON_ABAP_WBO_CLIENT (Client of the ABAP stack on which the Transport Organizer Web UI (CTS_BROWSER) is activated and will run.)
- WBO_GET_REQ_STRATEGY TAGGED
- WBO_REL_REQ_STRATEGY MANUAL
For quality and production Java system (target systems):
- CTC 1
- CTS_SYSTEM_TYPE JAVA (others for a MDM system)
- NON_ABAP_SYSTEM 1
- COMMUNICATION_SYSTEM: (SAPSID of the ABAP communication system (e.g. the domain controller))
- DEPLOY_WEB_SERVICE CTSDEPLOY
- DEPLOY_DATA_SHARE:
When this is done correctly, you will see the fields ABAP communication system and client populated in SMSY.
When ChaRM needs to operate on the non ABAP systems, it will take the RFCs for the communication system and client.
Best regards,
Miguel Ariñ -
hi,
1. Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful.
2. Is it possible to call VBScript in BSP
Thnx in Advance
VinodhIt is done the same way you do in normal HTML.
A BSP is only an HTML page which ABAP is compiled into during runtime just like a JSP page or ASP page.
<htmlb:content design="design2003">
<htmlb:page title = "Test submit ">
<htmlb:form id="myform" method="POST" enctype="multipart/form-data">
<htmlb:inputField id="myFile"
visible="true"
width="300px" /><br>
<htmlb:listBox id="filelist"
width="300px" />
<script>
function selectFolder(){
var myText = "Browse for file";
var objShell = new ActiveXObject("Shell.Application");
var ssfWINDOWS = 0;
var objFolder;
objFolder = objShell.BrowseForFolder(0, myText, 0, ssfWINDOWS);
if (objFolder != null) {
document.forms.myform.myFile.value=objFolder.Items().Item().Path;
getFileList(objFolder.Items().Item().Path);
function getFileList(id) {
var FSO = new ActiveXObject("Scripting.FileSystemObject");
var myStartingFolder = id;
if ( myStartingFolder != null || myStartingFolder != "" ) {
var myFolder = FSO.GetFolder( myStartingFolder );
var myFileList = new Enumerator(myFolder.files);
// First clear all entries
document.forms.myform.filelist.options.length = 0;
for (; !myFileList.atEnd(); myFileList.moveNext()) {
document.forms.myform.filelist.options[document.forms.myform.filelist.options.length] = new Option(myFileList.item().name,FSO.GetFileName(myFileList.item()));
} // start folder found
} // getFileList
</script>
<htmlb:button id="myButton"
onClientClick="selectFolder()"
text="Browse" />
</htmlb:form>
</htmlb:page>
</htmlb:content>
Just remember with ActiveX you have security issues to keep in mind! -
How to call webservice for each record in a table using ODI
Hi
I am new to ODI and Webservice. I want to invoke a scenario in ODI using web service. I hava a weblogic application server with axis 2 deployed.
But I want call webservice for each record in a table
For eg: "EMP" table have 50 records, for each record web service should invoke
Can any one help me on it.
Thanks,
phani
Edited by: user12774166 on Jun 6, 2010 11:16 PMIf your goal is "call" a web service, Jason's Straub's [flex-ws-api|https://flex-ws-api.samplecode.oracle.com/] is by far the best I've seen. You might want read more about it on [his blog|http://jastraub.blogspot.com/search?q=+flex_ws_api+].
Tyler Muth
http://tylermuth.wordpress.com
[Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book] -
i have a .DLL file made in VB6, this file return me some info in String format.
how can i call this file and get data.
any suggestion....?sabre150 wrote:
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jni.html
I've heard that jna is easier to use, haven't had to go native myself for a long time though. -
How design transaction table for accounting system
Hi master;
Sir,
I making accounting system for garment factory chart of account table I design but
I confused in transaction table how I design make only one table
Such as
Trans
Ac_code
Date
V_no
Description
DR_amount
CR_amoun
Chequ_no
Or make transaction master detail style
Tran_master
V_no
Date
Description
Ac_code
Chequ_no
Tran_detail
S_no
V_no
Ac_code
Description
DR_amount
CR_amoun
But how I get ledger from both style please give me idea how I set transaction table
Or give I any sample application or sample code
Thanking You
AamirHi master;
Sir,
I making accounting system for garment factory chart
of account table I design but
I confused in transaction table how I design make
only one table
Such as
Trans
Ac_code
Date
V_no
Description
DR_amount
CR_amoun
Chequ_no
Or make transaction master detail style
Tran_master
V_no
Date
Description
Ac_code
Chequ_no
Tran_detail
S_no
V_no
Ac_code
Description
DR_amount
CR_amoun
ut how I get ledger from both style please give me
idea how I set transaction table
Or give I any sample application or sample code
Thanking You
Aamir
only one table voucher may have more then one invoice then i would go with master detail .
If you maintain one table how will you maintain more then one invoice's voucher.
Khurram -
Hi everybody,
I am trying to call a dll from my java application. Pls tell me how to do it, I seached and found JNI. Is it true
pls help me and send me some examples
Thank you and have a nice dayjava_and_me wrote:
I am trying to call a dll from my java application. Pls tell me how to do it, I seached and found JNI. Is it trueYes, it is true. JNI is the way to go. You'll probably have to write some C code on your own as well, as the DLL is unlikely to be in the format expected by Java already.
pls help me and send me some examplesOf course. [Here you are|http://www.lmgtfy.com/?q=JNI+tutorial]. -
How to do initialization for new system setup?
Hi, Experts:
I need your help! Can you tell me your suggestion please?
This is a new system setup. We are about to test on the Initialization/Delta process.
The data source is 2LIS_13_VDITM 7.0 version. The test is on the PSA.
I have done an EARLY Initialization. On R3 system, if a billing record is canceled, we are able to capture it in the RSA7. Then, we did a delta load which were successfully tranferred to BW system.
However, if I created a new order and push it to Billing, I am NOT able to find it on RSA7 of the Delta queue.
That would mean, the delta queue could not capture any new billing records.
Then, besides the early init, we tried to do an Initialization without Data Transfer in the hope that this could resolve the new records issue, it doesn't allow to do it, saying "no 2 initialization".
What is the right way to do initialization??
Thanks guys!!Hello Sylvia,
Changing it to new delta mode need not clean out everything in BW.
its a change in R/3 side on how delta records will be pushed.
Delta queue will remain the same in R/3.
But since you have already missed some records and you are not sure which one.
Also the existing records in the delta queue are not the correct one as these are not bringing new records according to you.
So I will suggest you after you have done the changes to queued delta....do a fresh start.
Delete the data from the DSO.
1)delete the existing and do a new init without data transfer so that a new delta queue is created.
2)Fill the set up tables first and start the full repair loads to DSO.
3)once all the history is loaded then you can schedule the delta.
Thanks
Ajeet -
How to call RFC from external System to get HR Data
According to the requirement the "HR" Workflow has to be able to view the employee details from external system Using the standard Microsoft connectors.
So, my job is to create an RFC where i need to fetch the HR data from the infotypes P0001 and P0002. And they will call this RFC by requesting employees surname, ID number and/or Employee number.
Do i need to simply write OPEN SQL statements in RFC or
do i need to call any BAPI's?
Setting up RFC's(Creation of Destinations) is not our job.
Someone Please help me in this regard with some valuable input. Thanks in Advance.
Ram.Hi Ram,
to get the information from HR sytem you could call the BAPI
BAPI_EMPLOYEE_GETDATA
Regards
Bernd -
How to call BAPI_TRANSACTION_COMMIT for more than one bapi?
Hi all,
i have this web dynpro app, which needs to call multiple bapis.
if i import like this:
bapi1_model
bapi2_model
bapi_transaction_commit_model
and execute them like this:
bapi1
commit
bapi2
commit
data wont get write to database.
how to import bapi_transaction_commit correctly?
thanks.Hi
Check this link
http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_function_call.htm
http://msdn.microsoft.com/en-us/library/cc185462.aspx
Thanks -
How to call 1 function from1 system into another function of another system
tell me the solution.......
Moderator message : Not enough re-search before posting. Thread locked.
Edited by: Vinod Kumar on Jun 13, 2011 2:08 PMIn the Function 1 of System 1, you can call using below syntax..
CALL FUNCTION 'Function_name' DESTINATION
Function_name is Function 2 and Destination is Address of second system -
My prog's work fine. How to call from the file system?
Hi,
I currently have an application that works great. Its all javabeans and its called from a JSP page. My question is, I call like this:
<%= MyJavabean.DoIT()%>....Is there a way to call this from the command line on unixOK...This is an example. If I can get this to work, Im good to go.
I call this via:
java BatchServlet
and I get
Exception in thread "main" java.lang.NoClassDefFoundError: BatchServlet (wrong n
ame: wch/util/BatchServlet)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
package wch.util;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.*;
public class BatchServlet extends HttpServlet implements Runnable{
static Thread t = null;
public void init(ServletConfig c) throws ServletException{
super.init(c);
if (t==null){
t = new Thread(this);
t.start();
public void run(){
while (true){
try{
Thread.sleep(5000);
}catch (InterruptedException ie){
ie.printStackTrace();
System.out.println("Wake up"); -
How to replace DLL for workflow
I created a workflow and imported it into System Center Service Manager. I found a defect and would like to replace the DLL but when I try to copy over the old DLL I get and error "The process cannot access the file because it is being used by
another process". What do I need to do to release the DLL so I can replace it.Hi,
Try to stop the SCSM Services before replacing the DLL.
Remy BOVI -
How important is security for wireless systems?
I recently got an airport extreme and an airport express. to make them work with my old g3 (OS 10.1) I had to remove all security/passwords. This was at the advice of the Mac genius. He said people could leech my bandwidth, but not corrupt or read my activity on-line. Is this true? If not, is there another way to ad security for all my computers?
Thanks for your help and advice.waxy, Welcome to the discussion area!
He said people could leech my bandwidth, but not corrupt or read my activity on-line. Is this true?
That is not true. If you are not using any wireless encryption then anybody can monitor all of your on-line activity and use your bandwidth.
If not, is there another way to ad security for all my computers?
Your old G3 should be able to connect as long as you are using WEP. But perhaps 10.1 doesn't have this ability. I would strongly recommend that you upgrade the old G3 to OS 10.2 or better. You will be amazed at the functionality, reliability, and stability added by OS 10.2.
Maybe you are looking for
-
Our Printer 6700 all in one shows " Printer not connected" on Mac
Hi, We recently changed our router from Netgear to Lynksys. Since then we have problems to print from MAC computers and laptops. The Printer is connected properly to the Router, our computers as well and of course on the same network. The Macs recogn
-
Recording a lecture with Safari 5
With Safari 5, can I record to DVD disk (or HD) a video on a web site?
-
Client setting option for Productive solution manager
Dear all expert, I've set in transaction code SCC4 (client setting) for my productive solution manager: 1. "No changes allowed" for changes & transport for client-specific object 2. "No Changes to repository and cross-client customizing objs" for cro
-
My plug-in for headphones wont work
okay, the thingy that you plug your head phones in mine wont work. the last couple of months its be like skipping, its like its scratched inside. whenever i moved the jack a certain way it wouldnt work, and sometimes when it did only one ear would wo
-
Issue Downloading Fiori App Source Code
I am trying to download the original Fiori app for PARENT_SD_SO_MON. On our Gateway system (7.40....so UI_INFRA is installed on it), I performed the below steps but it is not downloading anything... 1) Ran the program "/UI5/UI5_REPOSITORY_LOAD" 2) Na