From hyperterminal to labview

I am new on labview, and i need to do somethign with it that is why i need your help. I am using hyperterminal to control one laser. I can change wavelength, and swtich on, off ,and also i can read wavelength by using hyperterminal but i have to use labview to do all of these is that possible and from where i can start to do that. I mean i want to create on/off button to open/close laser and also controller to increase or decrease wavelength. I know hyperterminal codes, am i going to use these codes when i am writing new labveiw program for this laser? 
Solved!
Go to Solution.

Actually, instead of writing my own program, i used example program to connect my device, i used basic read and write example, and i can connect my device but i could not get temperature data on read string panel. where am i gonna write my termianl command to control device and also don't i have to define terminal commands that are written on manuel. i wrote command to get actual temperature but i got same what i wrote on string to write panel. I attached what i got from program as a jpeg. And also sometimes i got result as a symbols instead of numbers.
Attachments:
VISA.jpg ‏91 KB

Similar Messages

  • Dll function calls from VB6 to Labview do not work.

    HI,
    We are transferring our production test systems from VB6 to Labview, and we are using "CAN-AC2-PCI" cards. When call functions of dll "canacpci.dll", UUT does not response at all, and Labview program does not report any error either. Attached are the user manual and my labview codes.
    I guess the DeviceNe_init.vi works because if run it twice, second runing will report error. To correct the error, the card has to be closed first..
    I close the card first, then initialize it. After then send the data. But I can not see any communication by DeviceNet Analyzer when sending data.
    All function parameters are copied from existing VB6 program. The VB6 program works fine.
    Please help me out,
    Thanks,
    Xiang Zhan
    Attachments:
    DeviceNe_init.vi ‏36 KB
    DeviceNet_SendDataXXXX.vi ‏18 KB
    CAN-ACx-PCI.pdf ‏139 KB

    Hi Turck,
    I'm not familar with this device, and it is difficult to say in this case.  I would recommend calling into National Instruments support or contacting the vendor of the device for additional assistance in this case.  As this isn't one of NI's Industrial Communications devices, you could also post on the LabVIEW forums for additional assistance, as there are a lot more people looking at that board than this one.
    Thanks!
    Matt S.
    Industrial Communications Product Support Engineer
    National Instruments

  • How can I call a LabVIEW executable from within another LabVIEW executable?

    I have a customer requirement for two LabVIEW executables. Based on their current setup, they need to run executable "A" or "B", both of which are under independent revision control. I have created a third "selection" executable that allows the operator to choose between one of the two, but I am receiving errors when I attempt to call a LabVIEW executable from within a LabVIEW executable using either the "System exec" VI or the "Run Application" VI. If I call a non-LabVIEW executable (such as Windows Explorer) everything works fine.

    > I have a customer requirement for two LabVIEW executables. Based on
    > their current setup, they need to run executable "A" or "B", both of
    > which are under independent revision control. I have created a third
    > "selection" executable that allows the operator to choose between one
    > of the two, but I am receiving errors when I attempt to call a LabVIEW
    > executable from within a LabVIEW executable using either the "System
    > exec" VI or the "Run Application" VI. If I call a non-LabVIEW
    > executable (such as Windows Explorer) everything works fine.
    As with the other poster, I suspect a path problem. You might try the
    path out in a shell window, and if it works, copy the complete absolute
    path to LV to see if that works. LV is basically passing the comma
    nd to
    the OS and doesn't even know what is in it, so you should be able to get
    it to work.
    The other poster commented on subpanels, which is a good suggestion, but
    without going to LV7, an EXE can have open more than one VI. You can
    use the VI Server and the Run method to fire up another top-level VI.
    The decision is whether you want both to be in unique processes.
    Greg McKaskle

  • From CANoe to LabVIEW

    I have to send number from CANoe do LabVIEW by UDP (using the fdx protocol) and send back this number from LabVIEW to CANoe. It's my first time with CANoe and I don't know how to do this, how to make whole UDP frame. Is there anybody who can help me?

    Dear poryta,
    First of all, let me welcome you to the NI Forums,
    I have searched our sources regarding your question and found some potentially useful information. Please read through these documents and let us know of the results!
    Vectors' own Driver for  CANoe x LabVIEW + Documentation:
    http://vector.com/vi_labview_driver_en.html
    Community (NI) Example:
    https://decibel.ni.com/content/docs/DOC-16844
    And I have included a Vector Document on How To Set up such a communication.
    Good luck with your project,
    Best regards,
    Peter
    Peter L.
    National Instruments Hungary
    Applications Engineer
    Attachments:
    CANoeLabVIEW_FastDataExchange.pdf ‏1723 KB

  • 3D Pie chart from Excel to labview

    Hi every one,
    How can I Import a 3D pie chart from Excel to labview ?
    Thx

    There is no direct import mechanism for that. You would need to re-create the pie chart in LabVIEW, as LabVIEW has different 3D graphs than Excel. You would need to get the data out of Excel and use the 3D graphs to draw it. As for getting the data out of Excel, there have been numerous posts on reading data from Excel using ActiveX - just search for "read excel labview". You can also find many links to lots of other examples in the Excel thread. Please note: the Excel thread is a repository of links. Do not post a question in that thread.

  • I can't connect to my PXI from within my LabView Project

    Please advise,
    I have been programming my PXI-8195 fine for weeks, but this morning I am receiving an error in connecting to the remote system from within my LabView Project.  MAX says it is 'connected-running' and I even successfully tested a DAQmx task.  I tried rebooting the PXI a couple of times as well as my host computer.
    Thanks in advance for any assistance.

    Hi Nik11,
    What error are you receiving in LabVIEW?  Also, what operating system are you using on the 8195, and are you using LabVIEW or LabVIEW RT?
    Regards,
    Adam W
    Applications Engineering

  • Read Data from Hyperterminal

    Hi,
    I'm kinda new in socket programming. Eventually, I would like to create a simple program that can read a data from hyperterminal. I've tried some sample programs but it doesn't satisfy my answer. hmm...

    I think you are confusing socket programming with a terminal emulator. Hyperterminal (piece of crap that it is) is an emulator that is meant to be used with a dial-up connection. If you are experimenting you probably want to look at a more bare-bones emulator such as telnet.
    You can write your own server then use the telnet client to send characters to and from your server. Look at the Java tutorials for the ServerSocket class.

  • Making dll from VI containing labview global variable ?

    I've made dll from VI containing labview global variable.
    But, when I write a c program calling a function from the dll, it returns just error.
    The goal is to read a labview global variables from c program. What can i do for it ?

    Hi
    If you don't use the dll in your LV app, it will be difficult, because it will be in the adress-range of you c app. So any writing of values to the global variable in LV, won't affect the variable in the dll.
    What you can do is some kind of client-server architecture. You need a third app, which just does the data exchange - so you should be able to write a value from LV and read it from c.
    There already have been discussions about similar topics - just search the forum.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How do I read the camera model and manufacturer from IMAQ in LabVIEW?

    Hello All,
    I have a machine vision application for automated test. I am required to save the image for each test for quality purposes. Since LabVIEW interfaces the CameraLink camera thru the IMAQ driver, various cameras can be used without changing the LabVIEW application. I need to store the basic configuration information, including camera model and manufacturer, with the image. I am able to read some parameters from IMAQ (like bit allocation and shutter speed) using the Read Attribute VI, but unable to read model and manufacturer.
    Does anyone know how to read camera make/model from IMAQ in LabVIEW?

    With this VI, any camera attribute that you can see and set in MAX, you should be able to see and set in LabVIEW.  These are attributes that are defined in you camera file.  Since Model/Make is not an "attribute" that you necessarily set, it is not included in your attributes tab in MAX.
    If your camera file included a model attribute, then it would show up in MAX under attributes and you would be able to read it using the above-mentioned VI.  The only thing I can suggest is perhaps use some File I/O instead of IMAQ VI's and read your camera file, if the ones you have are consistent in structure.
    Hope this helps!
    Tejinder Gill
    National Instruments
    Applications Engineer
    Visit ni.com/gettingstarted for step-by-step help in setting up your system.

  • How can I have a csv file read from excel to labview.

    Hi,
    I would like to read multiple csv files from excel to labview, creating a duplicate of the tables in excel, which would allow me to then draw some graphs for data analysis and comparison between the two.
    Are there any examples that could be useful to what I am trying to do?
    Thanks

    Patel33 wrote:
    From one of the csv files, I only require 3 of the columns. Is there a way to only read that part of the csv file?
    No. The characters in a file are just one long string and delimiters and linefeeds are special characters that defined where fields and lines start and end. As such, columns are interlaced into the file and consists of many small sections, where the position depends on the number of characters in each field, which is typically variable. You really need to read the entire file, then only look at the interesting columns later.
    LabVIEW Champion . Do more with less code and in less time .

  • How to capture switch config from Hyperterminal

    Hi!!! I tried to capture configuration reports of a switch which i did from Hyperterminal.I went to the menu bar which in the top and went to transfer ,on the dropdown it says capture text.I did that but when i opened the captured file i can see the text scattered here and there.Is is possible to see the captured configurations of the switch as how we see organised in the hyperterminal.Can u pls tell me ,do i need to do any configurations in the hyperterminal before i could start capture text.
    thanks and regards

    hi
    try opening the file either with wordpad or notepad.
    sometimes it works fine with wordpad not though with notepad..
    regds

  • Migrated from VBAI to labview 8.2.

    I’m fairly new at these vision programs and need some advise.  I have migrated from VBAI to LabView 8.2.  However I can’t seem to get the LV program to work like VBAI program works.  The LV program gets stuck in a loop processing the same photo rather than the entire folder of 25.  The other problems are: It will not show the photo; it will fail all photos, and will not log results.
    I am running the LV 8.2, Vision Acquisition 8.2, and VBAI 3.0

    Hi Davis,
    I'm not experienced in VBAI and IMAQ, but in your code I couldn't find any function to load your JPG photos...
    There's only an 'IMAQ Create' in the initialize-sequence, which generates an empty image. So it seems you have to attach your own code here ;-)
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Reading emails from gmail by labview

    I easily found a sample program to send an email to Gmail in LabVIEW and it works well. But I want to read emails from Gmail in LabVIEW as well. Is this possible? Thanks
    Jay
    Solved!
    Go to Solution.

    Well, not so much a duplicate post, since that post was asking about reading attachments. This is asking about getting emails from Gmail.
    To OP: Your question is not clear. Are you trying to download emails from your Gmail account? If so, you first need to configure Gmail to turn on the POP service. I don't think this is enabled by default. The Gmail help documents tell you how to do this. Once you've done that, you can just use a POP client. You can start by trying the one posted in this thread, but be aware, that sometimes servers have their own little "quirks", as alluded to in that thread.

  • Call HyperTerminal in Labview

    Hi All
    Could someone advise me how do i call Hyperterminal in Labview or simulate the same function of Hyperterminal in Labview?
    I need to to send a programming file to my device under test (DUT) through serial port. There is a function in Hyperterminal called "Send File" (see attached picture). So i have to select the programming file (binary file) that i need to download to DUT (see attached picture) and click Send in Hyperterminal. The file size is 2760kb. The total programming time is 4.5mins using Hyperterminal
    How do i do this in Labview? Can i send a file through using the write port vi or i have to break the file to few strings to fit the capacity of serial port (255 bytes max?)? If Labview can't send a file, how should i call Hyperterminal and is there any shell function that can be used? Please kindly advise. Thanks
    regards
    rebecca

    I worked on a project before that I needed to transfer files via zmodem and I found a neat little program to do this.  It is Telix  it is an old program but has some scripting languages that make it pretty powerful.  What I did was to script sending the file in Telix, then there is an option within the program to use a startup script.  The way I used it was to record a script of manually sending the file then editing it in the script editor.  You can add things such as looking in a file for a parameter that labview put there previously and there is even a command to terminate Telix thus if you use the system exec vi to call telix initially when the script terminates telix it will return control back to labview.
    - James
    Using LV 2012 on Windows 7 64 bit

  • How to see data from anemometer in labview?

    I'm attempting to see the data from my anemometer via labview...when that didn't work I wanted to make sure the instrument was working, so I tried to set it up in HyperTerminal like the anemometer instruction manual suggested. Now HyperTerminal won't let me connect to the anemometer using that port (keeps saying another program is using Com5, and to try again later!)
    Any suggestions on how to just basically See the data in labview from my anemometer(or hyperterminal if you're better at trouble shooting that!!)??
    Thanks!

    It's possible that Com5 isn't the correct port to read the data from. Since the built in serial port on most PCs is setup to be Com1, you might just be talking to wrong port. Of course if you've changed the default system setup or have added some extra serial ports, this may not be the issue. Hyperterminal probably isn't working because you have opened the port in LabVIEW but have not properly closed it. The operating system won't let more than one application at a time to access a serial port. Try shutting down LabVIEW, then try Hyperterminal. That should release the port. You might need to reboot. If you still get the error in Hyperterminal, then you are trying to access a port that is already in use by something else.
    Since your anemometer is a serial instrument, the easiest way to simply read data from it would be to use the Instrument Assistant Express VI. (assumming you're using LabVIEW 7.0 or 7.1 here)The Instrument Assistant is pretty good at hepling you figure out how to talk to your device. But if you're going to be using this in an application, you should look into using the VISA functions.
    Have a look through the LabVIEW examples (look in the help menu for "Find Examples") for plenty of serial examples. And remember to always close the port at the end of your application and don't use the Abort button on the toolbar to stop your application. Put everything in a While loop and use a boolean Stop button. The examples will show how to set this up.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Maybe you are looking for

  • QUERY SQ01 - Download to Excel

    Hi Experts, I am following the steps to download data to excel from SAP Query. My SAP version is 4.7 and Excel on my PC is MS OFFICE EXCEL 2007. Steps after getting report output on screen- 1. List -> Spreadsheet 2. Choose Table for Radio button 3. C

  • Display of sender's name in email messages (order backwards)

    If I receive an email sent: From: "Xyz, Ltd." <[email protected]> In my list of emails the sender appears correctly as Xyz, Ltd. But if I open the email itself, it displays as: Ltd. Xyz <[email protected]> If I look at the same mail in Gmail it displ

  • Re: RAC installation in Solaris x86 (VMWARE)

    Hi, I was trying to install Oracle RAC in solaris x86 via VMWARE tool . I installed node1 and node 2 but when node 1 running , unable to start node2 , showing error " failed to open virtual machine node-2 locking of attached media failed " Result cod

  • Error in app with TabNavigator loaded with SWFLoader - WebKit browsers

    Hiya, I use a flex app (A) to load another flex app (B) using SWFLoader (both built using Flex Builder 3 sometime ago). Everything works fine as expected across all (IE, FF, Chrome, Safari) desktop browsers. However, if I use a TabNavigator within th

  • Org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not foun

    hi i have developed small stuts sample using eclipse.When i tried to run the sample its giving following error.. org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found      org.apache.jasper.compiler.DefaultErrorHandler.jspError