Calling dll file to control a third party board from PC Control.

Hi there,
I have this hawkeye stepper motor control board from PC control company. 
It comes with a software written by the company  which is in DLL format. I would like to call the DLL file in labview and be able to do further programming on it using labview platform to control the motor board. 
The reason that I need to call this DLL file is because labView does not recognise the control board when connected to it. 
 I would really be grateful if anyone who has purchased the same motor control board from PC control company before and successfully using labview to control it could share the code and driver with me. 
Many thanks.
XI CAN LIU

Hello,
I'm not using that vendor products so I can't help you directly with your issue.
Nevertheless, you can find several documents on this site explaining how to use DLLs in LabVIEW: I point you to three of them, but yu can find more with apropriare searches.
Can LabVIEW C? - Example 3: Using the Right Tools with LabVIEW a whitepaper on using external DLs in LabVIEW
Calling External Code From LabVIEW link useful documents on how to call different external codes in LabVIEW
Using Existing C Code or a DLL in LabVIEW a tutorial which explainh how to use DLLs
I must also warn you that this is not the proper forum board where to post LabVIEW-related questions: this board is dedicated to LabWindows/CVI users, while there is a specific board for LabVIEW users where I suggest you to post further questions.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Sending query to third party portal from TREX Search Engine

    HI Experts,
    we need to implement normal search option in SAP portal.
    when we search any thing from portal ,
    It has to search in EP & KM and also it has to search
    windows sharepoint portal and bring the data back to SAP Portal.
    For this purpose one solution is
    1) implementing  enterpise search,
       but my client dont want to go for enterprise search(federated search).
    2) The other way
    Sending query to third party portal from TREX Search Engine
    In this way what i want is ,
    how TREX can send query to third party portal SEARCH ENGINE
    (in my case share point portal search ENGINE).
    There is no problem to search in EP & KM becuse it is default.
    To search in Micro soft Share point portal,
    TREX should pass the query to share point portal search ENGINE.
    Is there any API TO send a query to third party portal like sharepoint?
    I searched in SDN and Other sites also but i am not getting exactly what I require.
    If any one has ideas or implemented already please guide me.
    My client require searching option like this,
    we need to provide drop down box in SAP Portal with 3 options like
    1) search in Share point portal
    2) search in SAP EP & KM
    3) Search in both the portals
    please provide any code samples in case if you have.
    please help me , its urgent
    Thanks in advance.
    Regards
    Bala

    Hi Bala,
    please check the information on the KM IMS (Index Management Service) in KMC's developer guide. A connection to a 3rd party search is done from KM, then calling TREX and XY in parallel, not serially from TREX.
    Here's a paper describing this for an older KM release:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e514b57-0701-0010-3796-deb3636835fa
    Regards, Karsten

  • How to raise customer invoice in case of third party sale from PS

    Dear All,
               In case of third party sale from project systems module, PR is raised which is further converted to PO and once the material reaches at client place GRN is done.Based upon the GRN the actual cost is booked to the project.How should I raise the customer invoice against the materials received by the customer?
    I went through the Forum and based upon the threads there, I came to know that one option is to  create sales order for the same items and do order based billings.But for this I have to enter the same materials items again in the Sales order which is nothing but duplicacy of data.
    Is there any alternative to this? Or some other way by which the PO line items be copied to sales order so that I can save time while creating sales order.
    Regards,
    B P Singh

    Hi Virendra,
                       Business scenario is like this.
    I have created project and activities.Have assigned materials as 3rd party sale in NWA. I have released the project.PR are getting followed by PO.On doing the GR the actual costs are getting booked on NWA.
    My concern is how to bill the Items(the same material components) which are assigned to activity.
    As per your input I need to do Resource Related billing.Thanks for the input.It is no longer required to assign materials in DIP to Carry out RRB. 
    To carry out RRB do I need to create Sales Order first ? If  No then how to do RRB? If Yes  I need to create a Sales Order with all the material components which I have assigned at activity level. So I was looking for some alternative so that SO creation becomes less tedious.
    Regards,
    B P Singh

  • Third party returns from customer to vendor (Urgent)

    Hi,
    We have an urgent requirement regarding an issue with third party returns from customer.
    The scenario required is as follows :
    When the customer returns the goods in Third party proccess the goods should be directly returned to the vendor instead of receiving into our plant .
    How can we map this bussiness proccess?
    Currently the returns are handled as per the standard SAP proccess ie.,
    Customer returns the goods> Return order is created>Return delivery created (PGR)>Credit memo created.
    In this case we are receiving goods into our plant .

    Hi Shrikant
    1. If delivery of goods is the only issue then you can ask customer to make invoice with Invoice to your company address and Delivery address as the vendor address. Practically it is possible.
    2. Then you can make corresponding entries in SAP and regularise it.
    Thnx
    Nilesh

  • Warning, third party software from Lenogo

    Hi,
    I just wanted to warn others about purchasing third party software from "Lenogo" www.lenogo.com
    I saw this company mentioned here on the apple forum, and I then purchased the ipod to mac transfer software so I could transfer my music from my ipod (all paid for, no copyright issues here) back to my computer's itunes after an unsuccessful sync.
    The software wouldn't download or install and the company did not reply to any of my emails or support tickets, or provide telephone contact details.
    They did not provide support or a 30 day money back guarantee refund, as advertised.
    I've been ripped off, basically!
    Just wanted to let you guys know so it doesn't happen to you!
    Kate.

    Hello and Welcome to Apple Discussions. 
    Thanks for this and bump!
    cheers
    mrtotes

  • How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to Launch a downloaded third party app from my own app on the iPad using objective c

      How to identify whether the third party app has registered URL scheme or not. I also send a request mail to the third party app developers regarding URL scheme, but there is no reply from them.

  • How can i download third party Softwares from Support tab in Apple site?

    Hi,
    Previously i downloaded third party softwares for mac like Browsers, Anti- Virus softwares from Apple site but now i can download only Apple products (softwares) not third party softwares from download links so any one please let me know the status.
    Thanks in advance,
    Suresh Balakrishnan.

    Apple no longer hosts a website for 3rd party software.  Instead it runs the Mac App Store, which offers a good range of software.
    If you are very keen for the apps and other things that are not in the Mac App Store, a good app to download is "Bodega" - which provides another app store experience.
    Cheers,
    Rodney

  • How to transfer contents of third party apps from iPhone 4 to iphone  5?

    How to transfer contents of third party apps from old iPad to new iPad?

    Backup from old iPad, new iPad restore from that backup.

  • Calling a third-party library from JNI-enabled C++ code

    Hi everyone,
    I have some existing C++ application code that extracts data from a file in a special format (HDF5). This code uses a static library (third party) to decode the file format. I would like to wrap this application code in a JNI wrapper so that I can call the code from Java. So I have a situation like this:
    Java front end -> application code (C++) -> static library (C++)
    I have compiled JNI headers and modified the application code accordingly. I created a shared library by bundling the application code together with the static library (using gcc 3.2.2 on Red Hat Linux 9):
    g++ -shared hdf5_jni.cc -o libhdf5_jni.so -I<include path> -L<static library path> -lhdf5
    (the <static library path> contains the static library libhdf5.a). This creates a shared library which contains the application code and the relevant bits of the static library.
    When I call the Java front end, the shared library (libhdf5_jni.so) is correctly found and accessed. However, I get an UnsatisfiedLinkError which I don't understand:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: <blah>/lib/libhdf5_jni.so: <blah>/lib/libhdf5_jni.so: undefined symbol: _Z4formPKcz
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
    ... etc
    I have no idea what the undefined symbol "_Z4formPKcz" represents. It's not part of the application code or the static library.
    Here's some more info that might help diagnosis:
    1) The problem seems to be due to the approach of having a three-step process (Java code calling bespoke shared library which includes unmodified 3rd-party code). I get an identical error (including the mysterious "_Z4formPKcz" symbol) when trying to do something similar with a different 3rd-party static library.
    2) When I simply have Java code calling C++ code which I have written myself (no calls to static library methods), I have no problems, i.e. there doesn't seem to be a problem with the way I set up the JNI wrappers or the application code, or in the way I create the shared library.
    3) When I simply have C++ code calling the static libraries (i.e. no Java wrapper) I have no problems, i.e. there doesn't seem to be a problem with the application code or the static libraries.
    4) The static libraries were compiled from source using the same compiler that I used to compile the application code.
    5) I'm using J2SDK 1.4.2 on Red Hat Linux 9, although I've tried other versions of the SDK and had the same problem.
    I've done a lot of web searches on the "_Z4formPKcz" symbol and have turned up absolutely nothing (zero Google hits!).
    Any help would be very much appreciated.
    Thanks, Jon

    Thanks chrisswhite,
    I should have mentioned that I tried this too and it didn't solve the problem. You're right though, I should be compiling with -fPIC anyway.
    Jon

  • Error calling a third party WSDL from BPEL

    Hi,
    I am trying to invoke a third party WSDL. This WSDL belongs to Oracle OPPM. When I call this wsdl from SOAPUI or even from the Enterprise Manger, it works fine.
    However, when I call it from BPEL, it is giving me an error. Here is the request and error response:
    Request
    <messages>
    <input>
    <Login_Input>
    <part name="sUser">
    <sUser xsi:type="def:string">Username</sUser>
    </part>
    <part name="sPassword">
    <sPassword xsi:type="def:string">Password</sPassword>
    </part>
    <part name="lTimeOut">
    <lTimeOut xsi:type="def:int">10</lTimeOut>
    </part>
    </Login_Input>
    </input>
    Response
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>Server was unable to read request. ---> There is an error in XML document (1, 2168). ---> <Login xmlns='http://tempuri.org/'> was not expected.</summary>
    </part>
    <part name="detail">
    <detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Server was unable to read request. ---> There is an error in XML document (1, 2168). ---> <Login xmlns='http://tempuri.org/'> was not expected.</detail>
    </part>
    <part name="code">
    <code>{http://schemas.xmlsoap.org/soap/envelope/}Client</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    I checked the diagnostics logs and it is not giving me any further information.
    I think the issue is with the WSDL file. I tried importing the WSDL locally too, but I cannot get rid of this error.
    I also tried to import the namespace in the <WSDL:Types> area, but no luck.
    WSDL
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions
         targetNamespace="http://tempuri.org/"
         xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
         xmlns:s="http://www.w3.org/2001/XMLSchema"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
         xmlns:tns="http://tempuri.org/"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
         xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
        >
        <wsdl:types>
        </wsdl:types>
        <wsdl:message name="DebugSoapIn"/>
        <wsdl:message name="DebugSoapOut"/>
        <wsdl:message name="LoginSoapIn">
            <wsdl:part name="sUser" type="s:string"/>
            <wsdl:part name="sPassword" type="s:string"/>
            <wsdl:part name="lTimeOut" type="s:int"/>
        </wsdl:message>
        <wsdl:message name="LoginSoapOut">
            <wsdl:part name="Result" type="s:string"/>
        </wsdl:message>
        <wsdl:message name="ReleaseSecurityTokenSoapIn">
            <wsdl:part name="sSecurityToken" type="s:string"/>
        </wsdl:message>
        <wsdl:message name="ReleaseSecurityTokenSoapOut"/>
        <wsdl:message name="GetCurrentUserIDSoapIn">
            <wsdl:part name="sSecurityToken" type="s:string"/>
        </wsdl:message>
        <wsdl:message name="GetCurrentUserIDSoapOut">
            <wsdl:part name="Result" type="s:int"/>
        </wsdl:message>
        <wsdl:portType name="psPortfoliosSecurityRpcSoap">
            <wsdl:operation name="Debug">
                <wsdl:input message="tns:DebugSoapIn"/>
                <wsdl:output message="tns:DebugSoapOut"/>
            </wsdl:operation>
            <wsdl:operation name="Login">
                <wsdl:input message="tns:LoginSoapIn"/>
                <wsdl:output message="tns:LoginSoapOut"/>
            </wsdl:operation>
            <wsdl:operation name="ReleaseSecurityToken">
                <wsdl:input message="tns:ReleaseSecurityTokenSoapIn"/>
                <wsdl:output message="tns:ReleaseSecurityTokenSoapOut"/>
            </wsdl:operation>
            <wsdl:operation name="GetCurrentUserID">
                <wsdl:input message="tns:GetCurrentUserIDSoapIn"/>
                <wsdl:output message="tns:GetCurrentUserIDSoapOut"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="psPortfoliosSecurityRpcSoap" type="tns:psPortfoliosSecurityRpcSoap">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="Debug">
                <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.Debug"/>
                <wsdl:input>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="Login">
                <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.Login"/>
                <wsdl:input>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="ReleaseSecurityToken">
                <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.ReleaseSecurityToken"/>
                <wsdl:input>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="GetCurrentUserID">
                <soap:operation style="rpc" soapAction="http://tempuri.org/action/psPortfoliosSecurity.GetCurrentUserID"/>
                <wsdl:input>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="encoded" namespace="http://tempuri.org/message/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="psPortfoliosSecurityRpc">
            <wsdl:port name="psPortfoliosSecurityRpcSoap" binding="tns:psPortfoliosSecurityRpcSoap">
                <soap:address location="http://dc01oppmsv01.molina.mhc/ProSightSOAP/psPortfoliosSecurityRpc.asmx"/>
            </wsdl:port>
        </wsdl:service>
    </wsdl:definitions>
    Thanks
    Asif Hussain

    Thanks chrisswhite,
    I should have mentioned that I tried this too and it didn't solve the problem. You're right though, I should be compiling with -fPIC anyway.
    Jon

  • Do i have to use .h files to call .dll files?

    Dear,
    Now i want to use labview to control an instrument. And the instrument company give their dll files.
    When i use tools---> import---->share library,labview tells me import .h file,but their are many .h files,you know you can just choose only one head files in labview at the same time.So should i write a new .h file to concluding this head files and every thing will be ok?it is complicated.
    I use another method to call .dll and it is CIF.But i also encounter new problem.When i invoke the node .dll,and then choose the functions,i find that the functions are void.Does It meanthat i can not input my parameter,and get output?
    So what' the problems?
    Thanks.

    To call a dll in LV, you have to use the Call Library Fuction node in your BD. Then dbl-click it to open the Configuration dialog. In that, you have to browse to the appropriate folder in teh Function tab & select the dll you want to call. Then select the function from the list populated down to it. Then go to the Parameters tab & select/assign the parameters for that function. This will do the job.
    - Partha
    LabVIEW - Wires that catch bugs!

  • In Windows XP I have lost control over third party cookies

    I bought a refurbished computer with Windows XP. But now I have noticed there is no control over cookies in Firefox. In Windows Vista there was 'block third party cookies' there was 'state which websites to permanently block' or 'allow' and even then I was only using Firefox... Now there is nothing. On top of that none of the "cookies control" add-ons for Firefox seem to be any good at all. I don't know what to do!
    Why would Firefox change with Windows XP?? I can see with IE of course but Windows operating system has nothing to do with Firefox, if you know what I mean.

    Please review this information [[Enabling and disabling cookies]]

  • How to call third party software from Ecc6 using ABAP

    Hi all,
    I need to execute a third party software using abap coding .
    The software converts doc to pdf, the input from ecc6 would be the file path.
    I need to do this using ABAP.
    thanks
    ziv.

    Hi Ziv
    You can use METHOD cl_gui_frontend_services=>execute
      EXPORTING
        application            = <<<.exe file>>>
        operation              = 'OPEN'
    to run .exe files
    Best Regards
    Yossi

  • File transfer programs and third party software to new i-mac

    Hi
    I own a I-mac 2.93ghz 24'inch 4gb and have just upgraded to a I-mac 3.9ghz 27inch I-mac 4gb, i run logic pro 9 and reason as well as a load of third party soft synths and plugins how can i transfer them over from my old I-mac to my new model without having to install them all again, i would be grateful for a step by step process if it can be done?

    Short answer:No.
    you can either:
    1. reinstall everything on the new machine,
    or
    2. at your own risk, use SuperDuper to backup (clone) your old drive onto the new machine, if you are using the same OS.

  • Can I run a third party executable from LabView?

    I have a third party image sensor executable. Is it possible to start this executable from a LabView VI? I know that you can run a dll from LabView. I was wondering if you can do the same with a standard .exe file.

    Yes, you can use the "System Exec.vi", located in different spots depending on which version you're using.
    It acts as a command line interface - essentially the same as if you run CMD.
    Search for it in the help if you can't find it in your palette.

Maybe you are looking for