How use C libraries with LabVIEW.

I need use my C libraries and use how labview libraries.

See the answer here. The manual also covers C Interface Nodes (CINs) but, imho, they're much harder to use than a DLL.

Similar Messages

  • Using external libraries with Developer Studio 7.1 Composition Environment

    Hi,
    I downloaded DS 7.1 CE and tried to develop a simple application which uses an external library.
    I created a development component for "external library" for the local development -> MyComponent, giving it the name "test2" (for the domain basis).
    I imported the external library file using Import -> File System , then selecting the .jar file.
    In the component properties browser I added a public part naming it "mylib2" setting the purpose to "ASSEMBLY" (my intention was that the libarry will be transferred during the deployment to the application server).
    I right clicked on the public part to "managed entities". I selected the archive tree and checked the library file shown there (the one I imported before). #
    Then I opended component properties of my web dynpro project and clicked on "Dependencies". The I chose "Add..." and selected the "test2" development component I created before (see above).
    Then I tried to deploy the project (which uses this external library) using "Deploy Archive and Run"
    After deployment the browser window opens and shows the ClassNotFoundException
    So what did I oversee or do wrong?
    BTW: Is it necessary for using external libraries to use a full fletched NWDI? Or can I use external libs also with netweaver development environments freely available for download on sdn.sap.com?
    Any hints?
    Thanks a lot
    Hannes

    Hannes,
    If you want to use external libraries with DCs then you should follow the NWDI completely.
    Check this step, otheways of using external libraries is mentioned <a href="http://help.sap.com/saphelp_nw70/helpdata/en/e3/de813e77d46245e10000000a114084/frameset.htm">here.</a>
    Regards
    Abhilash

  • How can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

    how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

    Why do the 20 values have to be different? The same code should work even if some are equal.
    What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
    What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
    LabVIEW Champion . Do more with less code and in less time .

  • How use set up with office 2011 for mac as I did keep tried put download but it's always 'update' download. I want get start set up new office 2011 for mac? please help me

    how use set up with office 2011 for mac as I did keep tried put download but it's always 'update' download. I want get start set up new office 2011 for mac? please help me

    You must be using an update CD.  You need the software that has the full version first - install that, then you can use the update one if needed. I know, cuz I made the same mistake - lol

  • Is anybody use Hyper File with LabView?

    Is anybody use Hyper File with LabView?
    I Have a project that need to conect to a hyper file data base Made by PCsoft.
    Thanks
    Benoit Séguin
    Software Designer

    I have never used HyperFile, but a quick check of the company's website indicated that there are ODBC drivers available for it so it should be a simple matter connecting through ADO.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Creating Active controls using opengl libraries in LabVIEW

    Hi,
    I want to create a 3D representation of the some geographic data on LabVIEW GUI. The need is to achieve something beyond the dumb representation. I would like to be able to choose any one of the points represented on the 3D GUI and do some activity like give a POP-UP etc.
    I believe labview 3D picture control allows to create the view in various ways like mesh and bars etc. But doesn't allow to create a active control.
    Attaching a sample pic. Of what am I expecting. I want to be able to click on each of the intersection points in the graph and get the pop-up.
    Since this seems to be not possible just using inbuilt 3D picture capabilities of LabVIEW, plan is to use a opengl libraries to achieve this.
    Will it be possible to create this in LabVIEW?
    Has some one done this before? A sample code will be of great help.
    Attachments:
    Example 3D view.JPG ‏69 KB

    Ayman
    Take a look at this thread http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=2391  where Joe Hoskins has kindly donated his collection of activex vi's for excel.
    There are a couple of examples shipped with labview. Goto menu Help -> Find Examples. The NI Example finder will appear. Goto the search tab and search for excel.
    And, there are plenty of examples on the forum you just need to search for them.
    Trying to get you started ...
    David

  • How open an application with labview

    I need to open an application to use a camera and store data before using tis data in labview but i don't now how to call an app in a VI

    Look for "System Exec", it's in the Communications palette.
    LabVIEW Champion . Do more with less code and in less time .

  • Using Agilent 82357a with Labview

    Is it possible to use Agilent 82357a USB-GPIB interface board with Labview
    Linux version 7 ?

    Hi
    I just installed Labview 7.1 for linux on my machine after throwing away (not literally !) the Agilent card and borrowing an NI PCI-GPIB card. This works with kernels 2.4.x (tested with /usr/local/vxipnp/linux/NIvisa/NIvisaic). However, for proper operation of my machine (have bad display and mouse problems with the old kernel)  I need kernels 2.6.x. The driver in /usr/local/nigpib complains that it cannot work with those. I tried hacking the INSTALL script but it keeps running up against differences (like the modversions.h file) between the two kernel series.
    Can I use a newer version of the gpib libraries for linux with an older version of Labview like I am using ? I guess I will also need to get newer versions of the visa drivers for that. Though, the labview installation went smoothly with kernel 2.4.27-3 on my Debian system, I know that the newer versions of nigpib (is that the same as ni48825L.iso ?) and NIVISA are not supported on Debian. I cannot reinstall with a different distro, so please do not suggest that.
    Any other suggestions ?
    Thanks.

  • How can capture audio with labview

        I desired to make a audio equalizer vi using lab view. Audio will be taken from microphone. How can I capture sound from microphone with labview?

    See the example "Sound Card AutoPower Spectrum" This allows you to sample from an input device through your sound card, and take a spectrum.  you should be able to bin the spectrum by frequency bands, and show the histogram of frequencies.  You probably can even selectively resample and scale the frequencies, mix the signal and output the new sounds but I hav not tried this (I am not an audiophile so this is beyond my scope of expertise)  Good luck  ,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Can I use IF-RIO with LabVIEW 8.20

    I am going to upgrade my LabVIEW to 8.20 but I am not sure whether the driver of IF-RIO can work with it properly.
    Does anybody know this?

    Hi,
           My customer get problems when using PCI-5640R in LabVIEW 8.2, but they could work in LabVIEW 8.0. Is there any latest NI-5640R driver support LabVIEW 8.2? Or PCI-5640R only works in LabVIEW 8.0? 
    Operation system and environment:
    LV 8.2
    LV FPGA 8.2
    NI-5640R 1.1
    NI-RIO 2.1.3
    Display error message in LV 8.2 FPGA complier server.
    An internal software error has occurred. Please contact National Instruments
    technical support at ni.com/support with the following information:
    Error 1003 occurred at Open VI Reference in
    nirviGetModInfo___nirviEIOImplementation_modGen.vi​->nirviGetModInfo___nirviE
    IOImplementation_modGen.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  The VI is not executable. Most likely the VI is broken or one of
    its subVIs cannot be located.  Open the VI in LabVIEW using File>>Open and
    verify that it is runnable.
    VI Path: C:\Program Files\National Instruments\LabVIEW
    8.2\resource\RVI\StockIO\private\StockFPGA_io_modG​en\nirviGetModInfo_StockFP
    GA_io_modGen.vi
    Please refer the attached reproducable example code.
    Best Regards
    NITW AE
    Gary
    Attachments:
    UsingFilterCore.vi ‏550 KB
    filt20070509104003.zip ‏255 KB

  • Using a driver with labview

    I want to create a GUI using labview to control a data acquisition card using a driver that was not created in labview. Could someone point me in the direction of some documentation that would give me some info on doing this.
    Thanks

    If you're using a non NI data acquisition card and the manufacturer doesn't have a LabVIEW driver, then you'll probably be using either a DLL or ActiveX interface that they provide. For interfacing to third praty DLLs, start with "Using External code in LabVIEW" that is part of the LabVIEW Bookshelf. You will need details from the manufacturer on the function calls. There are some shipping examples on ActiveX. The Invoke Node and Property Node functions on the Communication>ActiveX palette are used to access methods and properties.
    If you were to mention the make and model of the board you're using, you might find someone here with knowledge of it that would provide more details.

  • Using AT-A2150 with Labview 5.1

    Hi,
    I'm trying to find a way of using my old AT-A2150 board with labview 5.1.
    I followed some posting tips from NI knowledgeBase (1JACI8U3 and 1JO8TB2O
    ) and installed NI-DAQ 4.9.
    The only problem is that now I'm getting broken arrows on my DAQ VIs. My
    platform is Windows NT 4.
    Any help would be greatly appreciated.
    Eric

    Hi,
    I'm trying to find a way of using my old AT-A2150 board with labview 5.1.
    I followed some posting tips from NI knowledgeBase (1JACI8U3 and 1JO8TB2O
    ) and installed NI-DAQ 4.9.
    The only problem is that now I'm getting broken arrows on my DAQ VIs. My
    platform is Windows NT 4.
    Any help would be greatly appreciated.
    Eric

  • How Use Multi Pages with JSP pages

    I have a lot of records, so i want to display from 10 to 10 and use a numeric menu in the botton of the page. the problem is how a make that with java code and html or java script.
    thanks for your help
    LeonMex. from M�xico City

    Search for pager taglibs. Ur solution lies there.
    Moreover u can refer www.jsptags.com , I am using the pager taglib from jsptags and it's quite easy to use.
    Hope that Helps.
    thanks and regards.

  • How use apple tv with windows

    how can i use apple tv with  pc windows computer aditional to the way throught itunes?example youtube videos from the computer

    out of the box you can
    the program called airparrot seem to have an windows client
    and the program called airfoil likewise

  • Reading data from mlx90129 rfid tag chip by using spi communication with labview?

    Hi,
     i have evb90129 evalution board in that mlx90129 chip and external memory (cat25128) and three external sensors are there, i am logging data from chip by using rfid reader it ok i am reading. at the same time i configured spi communication and  i am trying to read data i am reading data from internal memory not from external memory i tried but i didnt suceed , now can i use labview to read data from mlx chip and external memory. for spi communication i am using sparkfunction atmega168 microcontroller and also i have spi to usb cable? now can i communicate or i required any devies? is it possible?
    thanks in advance,
    biji.

    I suspect the culprit to be the first parameter to your function actually. Calling another function requires the caller to allocate any buffer with a big enough size for the function to write something into. Allocate that array by using Initialize Array with U8 as type and the correct number as size. Pass this size also as read_length. While your code doesn't make use of this I think the third parameter to your function is either wrong or unnecessary.
    As you use it now it is really nothing more than a local stack variable which you could declare inside the fucntion just as well. On the other hand what you probably want to do is have a function prototype like:
    extern "C" _declspec(dllexport) unsigned char read_Sensor(unsigned *char read_data, unsigned long read_length, unsigned long *byte_transfered);
    But you will have to do some modifications in your C code to support that parameter correctly.
    That all said, doing the same in LabVIEW using VISA functions would have been done with about two VISA nodes, no DLL headaches and probably already long ago working.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • GL transaction and Offset Account

    Hi, I have set the opening balance amount and offset in suspense account. After that, I found that there are not balance in between the GL Account. Which mean I try to enter the opening balance amount into that G/L account which already have transact

  • Artifacts appear on the screen

    We faced the following problems while using Macbook Air 13" 2012, OSX 10.8.2 When starting the computer after sleep mode sometimes the artifacts appear on the screen.  And icons in the upper menu bar disappear. How is it possible to solve these probl

  • Can you make a playlist in iTunes and drag it to Touch?

    I went through my iTunes library and picked out 5 gigs of some of my favorite songs and put them in an iPod Touch playlist so i know what to put in my touch. When I get the touch, can I just drag the playlist to the touch and then iTunes will import

  • How do I re-find a photocast URL?

    I have created several photocasts and published them. Now I have some more people I would like to send it to but I cannot find the subscription URL again. Where can I find it? Thanks, Taj

  • Create a popup help window with javahelp

    hi: As the title states, I want to create a popup help window. I know there is a short hand, which uses "DisplayHelpFromSource(helpset)" as an action event. Then add this event to listener. I don't use this way, since I need to reserve the structure