I wish to know whether a program in VB can be downloaded into labview to make it into a VI

I am interested in controlling a stepper motor using labview. I have the program developed in VB and the code is working perfectly. I wish to know whether it is possible to convert the VB file into a VI file with all the control palettes and loops. If yes, please give me the method of doing it.

I'm not aware of any method for directly "translating" Visual Basic code into LabVIEW. However you can make use of the ActiveX and DLL access capabilities of LabVIEW to control a VB application.
Also, I would suggest that you post your question in the LabVIEW section of Developer Exchange and not in the Motion section, in that way your question will be seen by LabVIEW users and not only Motion Control users. There will be lots and lots of more users in LabVIEW than in Motion Control that may give suggestions.
The Development Library section in the Developer Zone will provide you with code and application notes for controlling external applications or code with LabVIEW.
Good luck!
Nestor.
Nestor
National Instruments

Similar Messages

  • I wish to know whether the new NVidia Quadro K2200 graphic card is compatible with the Mercury Playback Engine.  Thanks

    Hi.  I wish to know whether the new NVidia Quadro K2200 and K4200 are compatible with the Mercury Playback Engine in Adobe Premiere Pro CS6.  My old graphic card NVidia Quadro FX580 is not listed and not effective apparently because Mercury Playback Engine is effective as from 1Gb RAM. I use a HP workstation and AVCHD (AVCCAM) and DSLR full HD.  Thanks.
    Message was edited by: Brittany Mauriss
    Deleted private user information (email address)

    It is compatible, but why anyone would want such a weak and slow card at a premium price is beyond me. See Tweakers Page - What video card to use? and GeForce GTX980 vs Quadro k4200 (2200) #2.

  • Does anybody know whether Primavera Project Management software can be used under Mac OSX ?

    I itend to use the Primavera software which we are using under Windows with my Apple Notebook and would like to know whether there is an OS X version existing.

    Did you check with Oracle? http://www.oracle.com/us/products/applications/primavera/overview/index.html

  • Built a program of an automatic irrigation system with labview to make decision?

    Hi everybody i'm a new user of labview i want to create a program that help me to acquire data using sensor (humidity and temperature) that can adjusting the operation of an automatic irrigation system of tomato and i want to help me please in creation of labview interface that can acquire data from these sensors (humidity:HIH-4000-001(between 60% and 80%) and temperaturet100(between(20°C and 25°C)) and thanks for help 
    Attachments:
    PFE.vi ‏223 KB

    Look at the example from NI I attached.
    The first three subvi's need to be placed before you while loop, the read function in your while loop and the others behind as illustrated.
    Don't forget to use index array over the data output, you are reading two signals!
    Hope this will help, just ask if there are any problems.
    Koen
    UnCertified LabVIEW Student
    Mistakes are for learning, that's why suggestions are always welcome!
    Attachments:
    Cont Acq&Graph Voltage-Int Clk.vi ‏26 KB

  • I need to download FireFox 13.0 to run a internet program. Where can I download FireFox 13.0?

    I am currently running Firefox 15.0 I need to install and run version 13.0. Where can I download this?

    See this article about how to install multiple versions on Mac OS X:
    * http://www.businessinsider.com/how-to-run-firefox-4-and-3-simultaneously-in-mac-os-x-with-multiple-firefox-profiles-2011-3
    Only use the older Firefox version when you really need it.
    *ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/13.0.1/mac/

  • Can i download emails from my iplanet account into my local program? (for eg like outlook)

    I am practising to use different API like (easymail API's) to download my emails from the Mailserver, Send emails, send emails with attachments, etc.
    I use Delphi under windwos 2000.
    ARE there any API's like easymail which can do the same task?

    Suggest you ask your question in the Messaging forum (under Messaging & Collaboration). This forum is for Integration Server, which is not directly related to Messaging Server

  • I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.

    I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.
    Also, I had to install the software twice on my same computer before because I had to reboot the computer. I don't know if this affects the limit.

    You are allowed to have two activated installations so there should not be a problem having working installations on the two machines.  If by chance you have somehow tied up two activations for the one machine you can have Adobe support help resolve that thru chat.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • I wish to download (and use of course) Creative Cloud on my NAS to be able to have access from various locations using my laptop PC and tablet. Does anybody know whether this is possible? So the programm software at the NAS and operate it from there.

    I wish to download (and use of course) Creative Cloud on my NAS to be able to have access from various locations using my laptop PC and tablet. Does anybody know whether this is possible? So the programm software on the NAS and operate it from there.

    OK, thanks
    but EULA ?? what does it stand for? I am pretty new to all this so good to learn something.
    ps. backgroud of my request is, that I purchased LR in a box in 2013. The computer where this is on, is at the end of its life and I have no LR box with License or any reference nr's anymore.
    Copied to my new Laptop, which maybe is not allowed if I understand you correct, it didn't work.
    Pitty, because afterall it is still my legally relatively recent purchased LR version.
    I thought to overcome this problem in future by putting it on my NAS. Safe for many years to come.
    again any knowlegeable feedback is welcome to me.
    Jos

  • How do  offcard program know whether the applet has been personalizated?

    The offcard program want to know whether the applet has been personalizated. if Y . the offcard program don't send the personalization command to the applet. anyway to inqury the applet state in offcard program. thxs

    I don't know what card framework (OCF, JCOP tools or other) you use.
    For the JCOP tools framework it is very simple. Connect to your applet by creating an instance of the com.ibm.jc.OPApplet. This class has a method called public int getState() wich returns "the applet privileges" in form the flags NOT_AVAILABLE, LOGICALLY_DELETED, INSTALLED, SELECTABLE, PERSONALIZED, BLOCKED and LOCKED.
    Jan

  • How does a program knows whether it runs asynchronous?

    We have a tool which runs fine at several systems, but fails for one customer.
    It displays a list of analysed data and offers the option to update some material master data to adapt mrp data of material master to the real situation of selected material. The update is done with an asynchronous call of function material_maintain_dark, results (success or error messages) are written to sytem log.
    In one system this logic fails, because customer has an implementation in one of the user exits of function material_maintain_darc which calls a popup.
        IF sy-batch IS INITIAL AND sy-binpt IS INITIAL.
          CLEAR: l_text_table[], l_text_table.
          MESSAGE w001(z_sdc) INTO l_text_table-tdline.
          APPEND l_text_table.
          CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
            EXPORTING
              titel      = 'Warning'
            TABLES
              text_table = l_text_table.
        ENDIF.
    Popup correctly will not be displayed when programm runs in batch mode.I think we need a similar check to avoid the popup when the program runs asynchronously, but I could not find any matching indicator in structure syst (I could not find documentation for really all fields) or anywhere else.
    Can anyone help and tell me how I can check at runtime whether a program runs asynchronously.

    It was not my decision to use this popup. Customer has it as own coding in an unserexit of function material_maintain_dark  probably created during implementatiion project by customer himself or any consultants.
    We delivered a 'consulting solution', a program which uses function material_maintain_dark and works fine on several other customers systems, where no user exit is implemented.
    Customer regards it as an error of our customer solution, that the booking of changes of material master, which is triggered by our program does not work in his system: There only is a message, that program is triggered, but it cannot be completed properly and they see neither results in material master nor entries in system log.
    My idea was to add a check, whether the function material_maintain_dark was triggered by our customer solution via call function.. starting new task or whether it is used by any of the customers own processes, but I have no idea how to find out, whether function was called with or without 'starting new task'.

  • How can I know whether the Servlet is sending a response!!!

    Hello,
    My question is this :
    How do I know whether that server outputstream is sending me a response or not?
    I have opened the Client InputStream to recieve a response from a servlet,but how
    can i be sure that i will receive a response from the servlet?
    I cud be waiting for an 15 expecting a response but havent received one..
    Is there any way to check whether the servlet is sending me a response?
    The reason I am asking is this.
    I have written a Java Client that connects to a servlet.It has to wait for a
    response from the servlet.It will wait for 5 seconds and if this doesnt recieve
    a response,it will return back else it will display the response.
    I have set a timer on my client for 5 seconds and a timer on the servlet for 15 seconds.
    Essentially,when the client connects,the servlet response is held for 15 seconds
    and the client tries for 5 seconds.
    But the client is unable to exit without a response.The response comes back in 15 seconds.
    The client shud have the message 'Connection Timed Out' after 5 seconds.
    This means there is an error somewhere.
    As the response takes 15 seconds,the client shudnt recieve one.
    So,is there a way I can block the servlet response?
    I am using threads and Inner classes for the timer purposes..
    Please can any one help me?
    ajay
    Client code:
    public class HttpHandler {
    private static String sURL="localhost";
    static String sMessage="Hello Server..Client sending Data";
    static DataInputStream dis = null;
    static HttpURLConnection hpCon=null;
    public static void main(String[] args)
    sendData(sMessage);
    public void TimerTest() {
    NewThread nt = new NewThread();
    public static void sendData(String sMess)
    String response=null;
    try{
    // Invoke Timer
    new HttpHandler.TimerTest();
    URL url=null;
    String uri = "http://" + sURL + ":8080/servlet/threads.Recieve_Http_Data1";
    url = new URL(uri);
    hpCon=null;
    hpCon = (HttpURLConnection)url.openConnection();
    hpCon.setDoOutput(true);
    hpCon.setDoInput(true);
    // Transfer Data over http
    DataOutputStream dos = new DataOutputStream(hpCon.getOutputStream());
    dos.writeUTF(sMess);
    }catch(IOException e)
    {System.out.println("Error in Client " + e); e.printStackTrace();}
    } // End of Method sendData
    // Inner Class
    class NewThread extends Thread
    String response;
    int i=0;
    NewThread()
    start();
    public void run()
    try {
    while(i < 5)
    System.out.println(i);
    Thread.sleep(1000);
    try {
    dis = new DataInputStream(hpCon.getInputStream());
    response = dis.readUTF();
    // If response recieved, break off else Loop back.
    if(dis !=null)
    System.out.println("SERVER RESPONSE : " + response);
    dis.close();
    break;
    }catch(IOException e){System.out.println("Here : " + e);}
    i++;
    } // End of While.
    }catch(InterruptedException e){}
    The Servlet
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    public class Recieve_Http_Data1 extends HttpServlet {
    private static final String CONTENT_TYPE = "text/html";
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    doPost(request,response);
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException
    System.out.println("Server Ready to receive Message from application :");
    System.out.println();
    BufferedReader br=null;
    // Data Read by the Servlet
    String sMess="";
    DataInputStream dis = new DataInputStream(request.getInputStream());
    sMess = dis.readUTF();
    System.out.println("Received from Client: " + sMess);
    // Send response back after 15 seconds Only.
    try {
    for(int i=0;i<15;i++)
    System.out.println(i);
    DataOutputStream dos = new DataOutputStream(response.getOutputStream());
    String sResponse = "Hello Client...This is server sending response";
    dos.writeUTF(sResponse);
    Thread.sleep(1000);
    }catch(InterruptedException e){}

    I don't know whether you solve your problem or not! Anyway, I have the same problem. The program hangs when getInputStream is called.
    DataInputStream dis = new DataInputStream(request.getInputStream());
    If you have the answer, please let me know. Thanks!!

  • How to know whether the tables in function module is importing or exporting parameter?

    Hi guys,
    Why the tables are used in function modules, I knw it transfers internal tables, but thing is that how would i know instantly that whether table is getting imported or exported to the funtion module? Do i need to go through program flow or can we know just by seeing the function module?

    Hi anjali,
                   Tables are like multi line containers ,which can act as both import and export parameters .
                   means,the data in the table can be used by the function module during  its execution and the                same table can be populated with result after the fm execution .
      you can also refer :http://help.sap.com/saphelp_erp60_sp/helpdata/en/d1/801ece454211d189710000e8322d00/content.htm 
    Regards,
    Krishna.

  • How to know whether record is already there in lsmw to create or change

    Dear Freinds,
                How can we know whether a record is already exisitng in the database ,
    for us to decide to do the LSMW in INS or MOD.
    I mean to say if  for a record already exisits in the database (ex pa0002) and we are doing a LSMW , How can we check a record already exsits in the database and modify of  that record and if doesn't exits go for create option. Please let me know in which step we can do this validation?
    Regards
    syamla

    Hi Atish ,
            How can i do this , you said we can check whether we have to insert(INS) or Change(MOD) for a record in the database at Convert Data , At convert data i cannot
    do the change as it is Standard program.
    If you have any  piece of code please let me know how i can do the same.
    regards
    syamala

  • Hello, I'm wondering if any of you know whether or not there's an App that allows you to watch multiple video formats online (like online TV series, movies etc) Thank you so much

    Hello, I'm wondering if any of you know whether or not there's an App that allows you to watch multiple video formats online (like online TV series, movies etc) Thank you so much

    SgtChevelle wrote:
    how do you decide which structures to use?
    Trial and error.
    I wish I had a better answer for you, but that pretty much encapsulates it. There is some, but not much, good wisdom out there, but it takes a significant amount of experience to be able to recognize it. The software development community if currently afflicted with a case of copy-and-paste-itis. And the prognosis is poor.
    The solution is to be brutal to yourself and others. Focus on what you need and ignore everything else. Remember that other people have their own needs and methods and they might not be applicable to you. Apple, for example, can hire thousands of programmers, set them to coding for six months, pick the best results, and have the end-users spend their own time and monety to test it. If you don't have Apple's resources and power, think twice about adopting Apple's approach. And I am talking from a macro to a micro perspective. Apple's sample and boilerplate code is just junk. Don't assume you can't do better. You can.
    Unfortunately, all this takes time and practice. You can read popular books, but never assume that anyone knows more than you do. Maybe they do and maybe they don't. It takes time to figure that out. Just do your best, ignore the naysayers, and doubt other people even more than you doubt yourself.

  • KNOWING WHETHER IT IS ASCII (OR) BINARY

    I get different types of files into my Java program that needs to know whether a given file is binary or ASCII. I cannot depend on the extensions because there are a lot of non-standard ones. Is there a way how I can know whether a file is just ASCII text or is it in binary form?

    I am trying to compare two flat files both of which need to just contain ascii or unicode words separated with tabs (or someother delimiter). Before doing so, I just want to check the partial content of both the files that none of them, by accident, is a binary file.

Maybe you are looking for

  • How to get the perious values in Module pool by pressing the space or back

    Hi All, I want to see the already entered values in the screen when ever pressing the backspace or space bar buttons.. For example in TCODE SE38 in program when i press the backspace or space bar , it is showing the perious opend programs, the same s

  • Error #1009: Cannot access a property or method

    Here's the context of the problem, in which I will try to include as much information as possible while keeping the explanation brief. I am trying to make a portfolio website (architectural design + concept art).  Flash / programing are not my focus

  • May be interesting for you...

    JFXBuilder - the first JavaFX Visual Designer This first release of JFXBuilder comes just 2 weeks after the release of JavaFX SKD 1.0. The initial release is intended as an "Educational and Promotional" release to help developers quickly become famil

  • Repairing Permissions...Meaning of result

    Hello everyone, I have done a permissions repair 2 evenings in a row and the following result appeared after each repair... "group differs on "private/etc/cups" should be 0, group is 26". Does anyone happen to know what that means? Thanks much- joe

  • Website scrolls to the right in Firefox

    my website scrolls to the right in Firefox but not in any other browsers. can anybody suggest how to fix? THX! the website is www.truthcafe.net