Need help loading DLL in labVIEW project

I have a DLL that was written in C# that I want to load it to my labVIEW project. I have never done this before, so I need help. I chose Connectivity-Call Library Function Node then loaded my DLL. After, under function name, I typed in the function name from the code. I don't know what to do with other like Parameters.
They don't let me attach dll file 
Can someone explain how to set the parameters and etc?

Well, it seems that you really need to learn quite a bit about .NET (ActiveX is very similar!) first.
The constructor node in your code creates an object in your .NET CLR (Common Language Runtime). This object exposes properties and/or methods. Use Property Node(s) and Invoke Node(s) to access these. Usually, you get references to other objects which you can work this.
Remember the golden rule for ActiveX and .NET:
Close all references you created in your LabVIEW code on your own (using Close Reference)!
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Really need help (motor control using labview)

    hi all readers,
    im new beginner. really need help for my project. i've been assigned to monitor/control motor using labview 8.5 (using NI DAQmx). the problem is, the techinician told me that i cant use 3phase motor with this card. things that i need to displayed using labview is :
    torque
    power
    current
    voltage
    speed
    really appreciated if readers can help me with this:
    wut type of motor shud i use that compatible with NI DAQmx
    thanks a lot.

    Hi fauziana,
    NI data acquisition devices are primarily designed to take measurements, so it's a good idea to measure the signals that you have mentioned with a DAQ device.
    You also can use DAQ devices for control tasks, but for reliable and deterministic control behavioryou typically need to use a real-time operating system (not Windows!). If you want to learn more about the pros and cons of using DAQ devices for motion control tasks, please refer to these threads. Still for standard motion control tasks it's much more efficient in terms of development time, to use a dedicated motion control device for the motion control part of your application.
    In general the control part is independant from the motor type, as these devices only generate control signals (+/- 10 V). There are many power drives available, that accept this type of control signal and you should select your motor according to the requirements of your application.
    For a more detailed system consulting, please contact your local NI branch. To select the products that fit best to your application requirements a face to face discussion is much more efficient than a discussion forum thread, because there are a lot of parameters that need to be taken into consideration. If you tell me in which country you are living, I can provide appropriate contact data to you.
    Thanks and kind regards,
    Jochen Klier
    National Instruments

  • Need Help with a Flash Web Project

    Hello, everyone. I am trying to use Flash to make a two-step
    system. I want the flash document to, first, allow a person to
    upload multiple image files and then, second, for the flash
    document be able to create a slideshow with the uploaded images and
    fade in and out from each image until the slideshow is over. I want
    it to be where the flash document creates its own slideshow with
    the images that are uploaded in the first step that I mentioned. I
    want it to do it completely on its own so I need to know how to
    give it the proper AI so that it can do this task.
    So, are there any tips that anyone has on how to do this? Can
    anyone tell me exactly how to do this? I really need help with this
    for my new website project. Thanks in advance, everyone!

    The problem with the text not appearing at all has to do with you setting the alpha of the movieclip to 0%.  Not within the movieclip, but the movieclip itself.  The same for the xray graphic, except you have that as a graphic symbol rather than a movieclip.  To have that play while inhabiting one frame you'll need to change it to a movieclip symbol.
    To get the text to play after the blinds (just a minor critique, I'd speed up the blinds), you will want to add some code in the frame where you added the stop in the blinds animation.  You will also need to assign instance names for the text movieclips in the properties panel, as well as place a stop(); in their first frames (inside).
    Let's say you name them upperText and lowerText.  Then the code you'd add at the end of the blinds animation (in the stop frame) would be...
    _parent.upperText.play();
    _parent.lowerText.play();
    The "_parent" portion of that is used to target the timeline that is containing the item making the command, basically meaning it's the guy inside the blinds telling the guy outside the blinds to do something.
    You'll probably want to add stops to the ends of the text animations as well.
    If you want to have the first text trigger the second text, then you'd take that second line above and place it in the last frame of the first text animation instead of the blinds animation.
    Note, on occasion, undeterminably, that code above doesn't work for some odd reason... the animation plays to the next frame and stops... so if you run into that, just put a play(); in the second frame to help push it along.
    PS GotoandPlay would actually be gotoAndPlay, and for the code above you could substitute play(); with gotoAndPlay(2);

  • I need help loading a swf file in a flash website

    Hi,
    I am an interactive design student working on a flash portfiolio and need help. I can't figure out how to load a game I made in flash into my porfolio so that it loads after clicking on a button, becomes playable, then have a button to leave the game and go back to my portfolio. I'm working in Actionscript 2.0 because that's all my teachers will show me and I have minimal actionscript knowledge.
    Thanks,
    Emily

    I thought I got it to work with loadMovie, but it only plays the intro, and then either repeats or exits as soon as the first bit of actionscript starts

  • Need help in exporting my FCP project to work on my laptop

    I'm taking a long trip and I'd like to export all that's needed to work on my FCP project from my PowerMac G5 to my Powerbook Pro. I could really use some advice on this.
    1. It's most likely that all of my files will not fit on the Powerbook hard drive (half is devoted to Windows). I know there are issues with importing footage to a firewire drive, but what if my footage is already imported? Can I get a tiny firewire external drive and move all my video files to work with? Or will I still be at a risk of dropped frames or other problems? Can I even get a USB drive for this? WD makes a great tiny one. I've got a huge Maxtor firewire drive, but I need one that is portable and doesn't need external power. Any recommendations? Is this just a stupid question and there's no way this is possible?
    2. Will I run into a problem of installing my Final Cut Studio on my Powerbook Pro since it's already installed on my PowerMac? I guess if I absolutely had to, I could uninstall FCP from my Powermac, then install it on my Powerbook, then uninstall it from my powerbook when i'm done with my trip, then reinstall it on my PowerMac. But it'd be much simpler if I could just install it on my Powerbook and leave the already installed version on my PowerMac alone.
    I'd love some advice with this. Thanks!

    I'm taking a long trip and I'd like to export all
    that's needed to work on my FCP project from my
    PowerMac G5 to my Powerbook Pro. I could really use
    some advice on this.
    First, do you mean Macbook Pro? Also what version of FCP are you running? If you have a Macbook Pro then you must have FCP 5.1 in order for it to run on your notebook.
    1. It's most likely that all of my files will not fit
    on the Powerbook hard drive (half is devoted to
    Windows). I know there are issues with importing
    footage to a firewire drive, but what if my footage
    is already imported? Can I get a tiny firewire
    external drive and move all my video files to work
    with? Or will I still be at a risk of dropped frames
    or other problems? Can I even get a USB drive for
    this? WD makes a great tiny one. I've got a huge
    Maxtor firewire drive, but I need one that is
    portable and doesn't need external power. Any
    recommendations? Is this just a stupid question and
    there's no way this is possible?
    You are correct in assuming that you need not put your media files on your system drive. Get a small Firewire drive that is bus powered, I recommend on from G-Technologies, maker of the G-Raid.
    2. Will I run into a problem of installing my Final
    Cut Studio on my Powerbook Pro since it's already
    installed on my PowerMac? I guess if I absolutely had
    to, I could uninstall FCP from my Powermac, then
    install it on my Powerbook, then uninstall it from my
    powerbook when i'm done with my trip, then reinstall
    it on my PowerMac. But it'd be much simpler if I
    could just install it on my Powerbook and leave the
    already installed version on my PowerMac alone.
    This depends on what version you are using. I believe that you can have 5.1 installed on both a desktop and notebook with one license. However, be sure to check the license that came with your software just to be sure. If you do not have 5.1 (and you don't have a MBP but instead a Powerbook (not Pro) then you will have to uninstall and reinstall.
    Once you have these issues worked out it is a matter of transferring your project files to your new FW drive.
    2 - PowerMac G5 2.0Ghz DP   Mac OS X (10.4.6)   1- Mac Mini

  • Need Help Loading SWF in a FLA

    I simply want to call a swf into an existing fla. I have
    tried everything. When dragging the timeline, you see the swf. When
    you preview, it is not there. Background - I have an exisiting fla
    that contains the image background for all. I want to set a
    transparent carousel menu on top of the background that is in the
    fla and leave the existing background and lower objects in place.
    The carousel.swf will need to call java and an xml file on the web
    server.....all external to the "summed" final. If I could layer
    flashed in DW, then the problem would also be solved. Please be
    detailed, I am obviously not a developer.

    although I'm not certain why you would not just 'place' the
    background 'image' on the stage in the fla (probably because you
    wish to change it dynamically down the road) - you need to 'load'
    the swf, not 'place' it within the other file. you do this with the
    MovieClipLoader class.
    with the swf that you wish to load in the same directory as
    the swf of the carousel file, place something like the following in
    the first frame, on a layer called actions, in the actions panel:

  • Need help loading data from Excel data file to oracle tables

    i need to load an Excel spreadsheet to Oracle table.
    The spreadsheet contains 20 columns, the first 8 columns contains basic info, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    So what i need to accomplish is:
    break that one record(with 20 fields) in Excel to 3 records for each fiscal year in the Oracle table, so each record in the database table will look like
    8 basic field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 basic field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 basic field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10
    There are about 10000 rows in the data file, so how can i use sqlldr to perform such task? beside sqlldr, any other good suggestions?
    thx

    External Tables is just an Oracle API for sqlloader. If you going to load this data over and over again, External tables would be a good idea, but if it's a one time thing, sqlldir is simpler, unless you just want to learn how to use External Tables.
    I used to run a data warehouse, so I have done, at least similar, to what you are doing in the past.

  • Need help loading flv movie onto stage from a button click

    Hi folks, I need your help.
    I'm new to flash so please bear this in mind.
    My problem is this:
    I have a picture of a phone on the stage which I have made
    into a button.
    What I want is that, when I click on this button (phone_btn),
    my video (called 'TyreChange.flv') will appear on the stage. And I
    will have the option of removing the video to get rid of it from
    the screen.
    The stage is like a menu, where I can click a number of
    objects and the relevant video or element will appear.
    The TyreChange video is in the same folder as my project but
    I have not imported it into the library. If I do that, the video
    goes onto the stage as well as the library, and it appears as the
    name FLVPlayback for some reason.
    I only want the video on the stage when the user clicks the
    'phone_btn' button.
    Please help
    Many thanks, James

    I did try that but it would not remove the child.
    i appreciate your help though.
    I am also trying to determine if a child is on the stage and if it is, remove it. I have created a button that will jump back on the timeline and the mc's that were loaded after this point in time.
    This looks like it should work. It doesn't give me any errors but the mc remains on the stage.
    var remMC;
    if (getChildByName("mc2") != null) {
      removeChild(mc2);

  • Need help Loading images with selection on a form field?

    So I'm kind of a newb.. I can do basic forms but I need to set up a form field drop down box that will give me the ability to load images correlating to the users choice. I'm at a total loss for where to start, so ANY help would be appreciated. If you know of any good books or tutorials on the subject please share.
    Thanks in advance
    Sincerely,
    Stumped4now 

    P.S. I think I'm getting a better understanding of OCGs after lots of research today. However I still seem to be missing something
    var docOCGs = this.getOCGs();
    for (var x=0; x < docOCGs.length; x++)
      if(docOCGs[x].name == "Layer1")
      docOCGs[x].state = !docOCGs[x].state;

  • Need help to set up multilingual project

    Hi guys,
    i'm relatively new to RH and i have a help system to create in 3 languages (English, French, German) and in many flavors. This is for an online application with multiple user roles. The trick is that the help system is supposed to follow the hirearchy of privileges, that is, a low-level user should not see the pages covering the system settings or the admin dashboard. When a user signs in, the app will load a help file based on the respective user roles and locale settings.
    My dev guy is going to provide me with an xml file that contains the existing user roles and privileges, and the outputs should be generated accordingly. The SSL of our choice is responsive HTML5. I'm guessing this is possible to do in RH11, tho frankly i have no idea where to start. What would be the proper approach to set up this project? I've created less convoluted user guides earlier and i was happy with the results but am stuck with this one.
    Any help is much appreciated.

    Is it important that some users do not see the additional information? In most apps seeing the information would not enable them to carry out the procedures as permissions should have been set up to prevent that.
    You could generate one output with books in the TOC for each user type or even create Content Categories. The latter would open the help with the default category and users could then choose their category. The content would then be limited to their topics. That does not and cannot stop them viewing the other categories.
    Your way requires different outputs and the developers then have to figure out who is accessing the help and call the appropriate version.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • [noob needs help] Loading image from a URL

    Hey everyone. I'm new here. And I'm new at J2ME as well.
    I have a simple school project and I have doubts about it. I've searched everywhere on the net yet I could not find the solution. Anyways, I do understand the concept of loading images by putting the files in the "res" folder and use:
    try
    img = Image.createImage("/burgerimgsmall.jpg");
    catch (Exception e)
    e.printStackTrace();
    But my project requires me to load an image from a URL. How do I go about doing that? If it helps, here's the URL:
    http://img.photobucket.com/albums/v703/punkgila/burgerimgsmall.jpg
    Thanks guys!

    Don't worry, downloading image from http is also simple. Look into Photoalbum demo in wtk2.5

  • Need help on viability of a project

    Hi all
    I'm looking for a profissional point of view for the project I'm developing
    I need to create an Applet that uses a DLL from the server to communicate with a machine connected to the serial port, and there will be plenty of this Applets running at once at different locations.
    I would appreciate any comment about the viability of this project.

    Yes you'll do better with 512MB of GDDR3 memory (for graphic manipulation) but you won't notice a great deal of difference between 2.4 GHZ and 2.66GHZ in the CPU speed. Selecting the 7200 rpm drive option is a good idea but what could make the biggest impact of all is to install the maximum amount of RAM you can afford. 4GB kits (2x2GB) are relatively cheap and will speed up your work. e.g.
    http://eshop.macsales.com/item/Other%20World%20Computing/8566DDR3S4GP/ ($59.99)

  • Need help with a graduate student project

    Hi Apple Community!
    My name is Gordon and I'm posting here to see if I could possibly interview someone via email or over the phone for a training project I am doing for a course in Graduate School. I'm a first year Industrial and Organizational Psychology masters student attending San Francisco State University. The main purpose of this project is to help me get familiar with the entire process of developing, carrying out, and evaluating a technical training. I have chosen to create a training for iWork 09' because most of my class mates (myself included), have not had much experience with the program. My original idea was to tailor the training towards sales individuals, but I can modify that depending on who I'm able to interview (educators and other professionals).
    The kind of person I'm looking to interview must either train others on how to use iWork and/or uses iWork themselves for work on a regular basis. It would be best if you are familiar with all 3 programs, but it is fine if you only use one or two of the programs. The entire interview will take no longer than 30 minutes, and if it's over email it'll just take two messages (1 for the original set of questions and a follow up email asking to expand on some of the original answers). As a part of my professor's requirement I will also need your contact information including: name, title, affiliation, address, phone number and email address. I don't believe my professor will actually be contacting you to verify that I haven't cheated on the assignment though.
    Some sample questions include:
    1. In your line of work, what are some of your major responsibilities?
    2. How does iWork help you accomplish some of your work tasks/projects?
    3. If you've received formal training on iWork, what was the environment like, and what parts of the training did you find enjoyable and helpful; what parts did you dislike?
    etc.
    I cannot offer you any monetary compensation for your time. I can only give you my sincere thanks, and perhaps send you a copy of my training outline when I'm finished with it.
    Thanks in advanced for your help and time!
    Please reply to this thread if you're able to help me with my project.

    Hi Apple Community!
    My name is Gordon and I'm posting here to see if I could possibly interview someone via email or over the phone for a training project I am doing for a course in Graduate School. I'm a first year Industrial and Organizational Psychology masters student attending San Francisco State University. The main purpose of this project is to help me get familiar with the entire process of developing, carrying out, and evaluating a technical training. I have chosen to create a training for iWork 09' because most of my class mates (myself included), have not had much experience with the program. My original idea was to tailor the training towards sales individuals, but I can modify that depending on who I'm able to interview (educators and other professionals).
    The kind of person I'm looking to interview must either train others on how to use iWork and/or uses iWork themselves for work on a regular basis. It would be best if you are familiar with all 3 programs, but it is fine if you only use one or two of the programs. The entire interview will take no longer than 30 minutes, and if it's over email it'll just take two messages (1 for the original set of questions and a follow up email asking to expand on some of the original answers). As a part of my professor's requirement I will also need your contact information including: name, title, affiliation, address, phone number and email address. I don't believe my professor will actually be contacting you to verify that I haven't cheated on the assignment though.
    Some sample questions include:
    1. In your line of work, what are some of your major responsibilities?
    2. How does iWork help you accomplish some of your work tasks/projects?
    3. If you've received formal training on iWork, what was the environment like, and what parts of the training did you find enjoyable and helpful; what parts did you dislike?
    etc.
    I cannot offer you any monetary compensation for your time. I can only give you my sincere thanks, and perhaps send you a copy of my training outline when I'm finished with it.
    Thanks in advanced for your help and time!
    Please reply to this thread if you're able to help me with my project.

  • Need help for the web based project

    I am using netbeans 5.5 and Sql server for db.What is the full form for DAO and how is it going to help me in my project.U also talk about uml want ot know about it.
    and how is it coming to help me.Its a very wast topic i serached.what will be helpful to me of the UML.
    What should i start first --- jsp or db design.
    What should i use for web based project --- only use jsp(presentation)+dao or jsp+servlet+dao.What would be best ?
    provide some nice link based on dynamic fetching of values from the database and showing it at runtime.
    Message was edited by:
    java@mani

    As stated in http://forum.java.sun.com/thread.jspa?threadID=5167752 start reading the Java EE tutorial to get insights in the material.
    what will be helpful to me of the UML.UML generally visualizes the core functionality. See http://www.google.com/search?q=uml+tutorial for some tuts.
    What should i start first --- jsp or db design.Start with both and end with the best balance between both.
    What should i use for web based project --- only use
    jsp(presentation)+dao or jsp+servlet+dao.Depends on the business needs. Generally 3-tier webapplications are the best: web, business and data.
    provide some nice link based on dynamic fetching of values from the
    database and showing it at runtime.Check some SQL and JDBC tutorials how to fetch and process the data:
    http://www.google.com/search?q=sql+tutorial
    http://www.google.com/search?q=jdbc+tutorial
    How to process it in the business and web layer is stated in the Java EE tutorial I've linked in your former topic.
    For applying the patterns, check the http://java.sun.com/blueprints/corej2eepatterns/

  • Still need help :( loading outside files in actionscript

    Ive been all over the forums online trying to get this
    problem fixed and no one has really settled it for me (its been
    MONTHS)
    So I'm going to attempt to be as in depth as possible and
    post code as well.
    Heres the deal- its a portfolio site, www,darrenlasso.com
    The problem is when i load multiple swf files into levels.
    When i first call on an outside swf from a button inside the main
    file the code looks something like this:
    on(release){
    _level1._visible=false;
    loadMovieNum("cover.swf", 1);
    cvrbtn._visible = false
    acibtn._visible = false
    When from inside THAT file, I want to return back to the MAIN
    navigation file, the code looks more like this:
    on(release){
    mcl.addListener(mclListener);
    mclListener.onLoadInit = function(mc:MovieClip){
    mc._visible=true;
    mc.gotoAndPlay(76);
    _level1._visible=false;
    mcl.loadClip("darnen.swf", 1);
    Ive messed around with the code so many times now trying
    everyones different suggestions that i dont even know if that is
    the code I have live right now but i know its not working how i
    want it to. The problem seems to be that i can only load into level
    1, and when i do that, going between these various calls on outside
    files there is a 'flicker' of a frame or two of the OLD previously
    loaded file that will play BEFORE the new one initiates. As this is
    a portfolio site it needs to be polished so i can't have stuff like
    this plaguing it. Its been unfinished for months now because i just
    can't figure it out. Please please help me if you can.. hopefully
    you like a challenge because i just havent been able to get the
    help i need from anywhere else :/

    when i load the swf from outside, i want it to then be able
    to return to the main navigation file which i guess would be level
    0. So does that mean that the code for buttons navigating back to
    the main flash file would be more like:
    on(release){
    mcl.addListener(mclListener);
    mclListener.onLoadInit = function(mc:MovieClip){
    mc._visible=true;
    mc.gotoAndPlay(76);
    _level1._visible=false;
    mcl.loadClip("darnen.swf", 0);
    As i load in all these different files from outside I've been
    loading them all into level 1 because that seems to be the only way
    to get them to display at all with the code I'm using. I assume it
    might be better to load them all into individual levels? I'm not
    sure. I'm still just kinda learning AScript as i go along..

Maybe you are looking for

  • Lightroom imports images with strange settings

    Hi people, I'm not new to LR at all. In fact, I teach LR and RAW image workflow. But this issue struck me cold with no answers. I took some photos with my D800 and a WhiBal (WB card). To my surprise, all the images turned out yellow when I imported t

  • How can I back up my photos from my iPad to my mac without using iPhoto?

    Hi guys! My iPad screen broke down. The sound still works but the screen doesn't. I was wondering if anyone knows the approximate cost of replacing it? It's not cracked or anything. Also I want to back up my photos but whenever I try backing them up

  • Adobe Premier Pro CC Has Stopped Working

    Hii guys I just installed the premier pro cc on my windows 8 pc and when I try to open it, it just stop working...why is this happening ? My PC is working with an intel(R) core (TM) i3-2100 CPU @3.10 GHz 4 GB ram 64 Bit

  • How to make the light of screen the same every time

    every time I restart the laptop, the light of LCD will return to the maximum. I hope I could change it one time. Thank you.

  • Animating damage to a 2D map

    Hi, I'm a student creating a re-make of 'Scorched Earth' for my final year, and I'm having problems with dame and was wondering if any1 could help. Basically, my map is generated by drawing straight lines at every x co-ordiate from the bottom of the