Convert To Labview from hypertermi​nal

Hi,
I am using kind of laser to make experiment and i control this laser by using hyperterminal, i write codes like dl1 to open it and dl0 to close it etc and i can control it by using hyperterminal but i want to convert these codes to labview. i just want to control my laser by using labview, is it possible? I want to create button on labview to open and close the laser and make kind of switch to increase and decrease wavelength and panel to see actual temperature of laser i can see all of them just by using hyperterminal and i convert all of the to labview could you help me about it? fwom where i should start to convert these hyperterminal codes? (I am using rs232 to connect to computer for laser)
Second one i have two differenct labview software and i want to collect them in one labview software instead of opening two different labview is that possible. i measuere different scale by using these two software and i want to use just one labview to measure and save these data.
Thank you,
Best Regards

If you can communicate with the laser with Hyperterminal, you can do so with LabVIEW.  You must install the VISA drivers as well as LV.  They come with it but are not automatically installed.
The other key thing to remember is that Hyperterminal appends a termination character (line feed?) to the end of each string it sends.  You must do this explicitly in your program win LV if your device requires a termination character.
Start with the Simple Serial examples which come with LV.
To combine two programs into one you make one of them a subVI.  Or you may write a master program and use both of your other programs as subVIs.
I recommend that you work through the on-line tutorials for Getting Started with LabVIEW. These will cover the basics of LV and will save you a lot of time and questions.
Lynn

Similar Messages

  • How to convert to labview from lookout ?

    I have software developed in lookout. I want to convert that to Labview 7.1.
    Is there any method?

    There is no way to do so automatically.
    LabVIEW with DSC module can do the similar thing as Lookout, but you have to redo everything in LabVIEW.
    Ryan Shi
    National Instruments

  • How to convert a sample from labview 5.1 to labview8.0

    I have a sample from the manifacture which was programmed using the labview5.1 but now I use use the labview8.05 . Can anybody help me to convert the sample from labview5.1 to labview8.05 , thanks
    Solved!
    Go to Solution.
    Attachments:
    CaryExample.vi ‏125 KB

    Hi alane,
    here you go. It's missing the ActiveX component...
    Btw. you surely use LabVIEW8.5
    Message Edited by GerdW on 09-07-2009 03:20 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    CaryExample.vi ‏82 KB

  • Converting labview from unix into windows

    I need to convert some labview programs that were written in a UNIX environment to a PC windows operating system. I have converted the files over to my PC desktop. The problem is I am trying to run libraries that were compiled in unix and have the extension .so at the end. When I open the labview program it can not find these .so libraries and when I point to their location it states that this is not a valid windows image. Is there anything I can do to convert these .so libraries into something labview can read.
    Thanks  

    As far as I know, the equivalent of a shared object in windows is a DLL - DLLs are very common in windows and are also called through the Call Library Function node. You will presumably need to take your C code and compile as a DLL using a windows compiler. I'm not sure how many modifications you will need to make to the C code.
    Try to take over the world!

  • Call function in LabView from a DLL, then access global variable from DLL

    I have created a DLL in LabWindows with a function and a structure.  I want to call the function from within LabView and then access the global structure.  I am able to call the function from the DLL with a "Call Library Function Node" and can access the return value, but I cannot figure out how to access the global structure.  The structure is declared in the DLL header file with __declspec(dllimport) struct parameters.
    Is there any way of accessing this structure without using the Network Variable Library?
    Solved!
    Go to Solution.

    dblok wrote:
    When you say "access to" or "the address of" the global variable, do you mean to pass the variable as an argument to the function call in the DLL?  If so, then I was not really sure how to pass a cluster from LabView by using the "Call Library Function Node".
    Yes, that's exactly right.  I would include a pair of helper functions in the DLL to read and write the global variable.  Alternatively you might write separate helper functions for each field inside the global structure, depending on the number of fields and whether you want to do any validation on the values.
    You can pass a cluster by reference to a function that expects a struct by setting the parameter to Adapt to Type, so long as the cluster does not contain any variable-length elements (strings or arrays).  The cluster needs to match the struct exactly, and sometimes that involves adding extra padding bytes to make the alignment work.  Variable-length elements in LabVIEW need to be converted to clusters containing the same number of elements as the struct definition (for example, if your struct contains char name[12], you would create a cluster of 8 U8 values, and you could use String to Array of Bytes followed by Array to Cluster to convert a LabVIEW string into that format).  If the struct contains pointers it gets more complicated, and it may be easier to write functions in the DLL to access those specific elements individually.
    If you can't get this working or need help, post your code and an explanation of the error or problem you're seeing.
    EDIT: it is also possible to include a single function in the DLL that returns the address of the global variable, which LabVIEW can then use to access and modify the data, but that's more complicated and likely to lead to crashes if you don't get the memory addressing exactly right.

  • Reference Library for Converting Between LabVIEW and XML Data (GXML)

    Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread.
    The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW  Tools Network repository.

    Francesco, Thank you for the feedback.  With this component it was my intention to make a more "terse" version of the LabVIEW Flatten to XML VI that was also supported on RT and that gave the user more flexbility regarding the structure of the parsing type definition. I think you are right that the XML parser is not compliant to section 2.11 of the XML spec.  The parser does specifically looking for a #D#A and this appears to be an oversight on my part.  Please confirm for me, the specifcation is saying that the XML parser should be able to recognize three possibilities as an "end of line" character: #D#A, #D, or #A.  Am I reading this right?There are more efficient (and in some cases much more efficient) ways of sharing data between LabVIEW and LabVIEW: some examples are flattened binary strings and the datalog binary format.  XML is slower than these optons but the upside is that it is human readable.  Furthermore XML is inherently hierarchical which is convenient for complex data structures like clusters of arrays of clusters, etc.  If you don't care about human readability then you are correct XML doesn't make as much sense.I will return to the GXML source code and try to fix this in the near future but I would hope that instead of creating yet another custom VI from scratch that you could reuse what I have provided for you.  I included enough documentation in the source code so that users could make some modificiations themselves. The target application for this reference library was LabVIEW to LabVIEW communication.  As such I documented the schema on the dev zone document from a LabVIEW perspective.  It includes all the supported datatypes and all the supported data structures (cluters, arrays, multidimensional arrays, clusters of multidimensional arrays, etc.)  I do see some value in making a more conventional XML spec but the time investment required didn't really line up with my intended use case. Were there any other downsides to GXML that I have missed?  Best Regards, Jeff TippsSystems Engineer - Sound and VibrationMessage Edited by Jeff T. on 04-21-2010 10:09 AM

  • Vi converted to LabView 7.0 Error

    I converted an application from LabView 6.02 to 7.0, and the conversion is fine.
    However, when one particular vi is opened, Labview 7.0 asks and searches for the vi named ""
    I continue (press ignore vi), and the vi is loaded .
    I saved the vi, opened it again , and still get the same message. It is annoying.
    I solved the problem by copying the block diagram of the vi to a new vi and then saved the new vi. The saved vi, if opened does not produce the message anymore (good news)
    Attached is the vi (_stop.vi) with no block diagram. Open it to see the message displayed
    Attachments:
    load_debug_vi.jpg ‏36 KB
    _Stop.vi ‏7 KB

    Hi Dr. Imad,
    another workaround is described here. Search for my answer. This is a conversion bug in LV 7.0 and the workaround is first load it into LV 7.0 then save it into the new location and then make your changes.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • I have an AT&T iphone 6 and want to give my AT&T 4 to my wife but she is a Sprint customer.  How involved would it be to convert my 4 from AT&T to Sprint?

    I Have an AT&T iPhone 6 and wants to give my AT&T 4 to my wife but she is a Sprint customer.  Is this possible and, if so, how involved is it to convert my 4 from AT&T to Sprint?

    Likely not possible.
    Sprint is a CDMA carrier which typically do not support BYOD (Bring Your Own Device) .
    You will have to ask Sprint if they can offer service on a unlocked GSM Phone that does not have the CDMA chip.
    Its unlikely they will though.  But if they do, you will need to request AT&T unlock your iPhone so you can insert a Sim card form another carrier into it

  • How can i convert video files from my mac to watch them on my iphone?, how can i convert video files to watch them on my iphone?

    how can i convert video files from my mac to watch them on my iphone?, how can i convert video files to watch them on my iphone?

    Turns out the answer to that question changes if you ask it more than 4 times, so ask it again....
    The answer depends on the type of video files you want to convert.  If they are DRM protected commercial videos, no help can be given here.  Google.

  • How can i convert a url from https to http?

    Hi,
    SSL is enabled in WLS 9.2 and its wrkng fine. And iam able to access login page in secure(https)mode. After this page i need to convert the url from https mode to http. For enabling https i added some code in web.xml. For switchinng https to http i dn't knw anythng.
    Pls gve me suggetion.
    Thanks in advance.

    Export it from iPhoto. This process will make a QuickTime movie of it. That will play on an PC that has QuickTime installed - and that's a free download for PC, and comes with iTunes for PC
    Regards
    TD

  • How can i use labview.tl​b to control Labview from an external applicatio​n?

    Hi,
    I've been told by a labview engineer that i could use the file
    labview.tlb located in the labview install folder to control labview
    from an external application (in my case, a C# app). I'm using Labview
    6.1 under Windows 2000. This article confirms that:
    "ActiveX and LabVIEW"
    http://zone.ni.com/devzone/conceptd.nsf/webmain/54​01BE584FBAEECE862567C2006D36C7?opendocument
    But i've not been able to find out how to use this file to achieve
    what i want. I just want to be able to open/close labview, open/close
    a vi, start/stop a vi, hide/show a vi from a C# application. The above
    web page talks about activex but i really don't see the realtion
    between activex and that labview.tlb file.
    Is there so
    mebody around who knows how to use that file? Why does NI
    tell us that it's possible to do what i want to do but doesn't explain
    how (or hides this info very well)?
    Thanks

    Hi,
    > Hi I am fighting a similar problem and so far I found this: Calling
    > LabVIEW from C++ Using ActiveX
    >
    > http://sine.ni.com/apps/we/niepd_web_display.DISPL​AY_EPD4?>p_guid=B45EACE3E21356A4E034080020E74861&p​_node=DZ52051&p_submitted=N&p_rank=&p>_answer=&p_s​ource=External
    Thanks for the link, i actually already found this link before. I've
    found yesterday how to use Labview.tlb, just add it to the references
    of the project, it was probably too easy for me at that time:-) But
    now, i'm still stuck as there is no doc about using the interfaces and
    classes of this activex to control labview.
    The example given on your link is made is C++ and for some reasons,
    the wrapper generated for Labview.tlb when i added it to my c# project
    doesn't seem to expose the same
    interfaces and classes as the one used
    in the C++ example. I therefore can't use the C++ example in C#.
    I've tried to do something like:
    LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
    Just this line causes labview to launch but then immediately throws an
    exception: "Query interface for interface LabVIEW._IApplication
    failed".
    Does somebody knows how to use that control in C#/VB.NET ?

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • Error in converting exchange rate from  to AED

    Dear All,
    When creating sales order I am receiving following error: Condition ZPRS: Error in converting exchange rate from  to AED.
    Such a error I am receiving when in material - there is not mantained delivery plant but this is not this case.
    (interesting is that from FX currency is missing...)
    I have also tried to play with customizing with plant assignment but without a result - this error is only in productive system in test everything is working fine...
    ??? any ideas ???
    many thanks for any brainstorming...
    Brgds. MIchal

    Dear Michal Duris      ,
    Have you maintained the currency conversion factors
    Check the following tcode
    OBBS
    OB08
    Compare between the production server and server in which there is no error (CHOOSE YOUR EXCHANGE RATE TYPE / DOCUMENT CURRENCY AND LOCAL CURRENCY )
    Check and revert back.
    If its not solved, please provide the error message number.
    Thanks & Regards,
    Hegal K Charles

  • Do I need a power converter to go from 220 to 110 on the ipad

    Do I need a power converter to go from 220v to 110v when charging my iPad in Europe?

    Hi,
    No Converted Needed...
    All you need is an adapter from your supply... to the sockets of the country you are in.
    Cheers,

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

Maybe you are looking for

  • ORA-00600: internal error code, arguments: [kokvxsql1], [], [], [], [], []

    Hi all, I'm getting Oracle internal error: "ORA-00600: internal error code, arguments: [kokvxsql1], [], [], [], [], [], [],[]" when I'm trying to drop a user from my DB. The tablespace related to the user is getting dropped easily whereas the user it

  • Can not set home page it goes back to old one every time I close and reopen.

    i change my home page and then after closing and re-opening firefox it goes back to the old home page that it had before, I have had this problem since I went from firefox 3 to 4 to 5, please help.

  • ADC to VGA

    On my Power Mac G5 (June 2004 with ATI Radeon 9600 XT), I'm trying to add a second CRT monitor, and I've been having terrible luck finding anyone that still carries an ADC to VGA adaptor. I do have a spare DVI to VGA adaptor. So, would a ADC to DVI a

  • What is .cs resource in HA resource column from crsstat?

    Hi, I wonder whats that .cs type resource on my 10.2.0.3 RAC ora.whpcd.SERV1.cs                               ONLINE     ONLINE on node2 ora.whpcd.SERV1.dwhp1.srv                        ONLINE     ONLINE on node1I think .srv is actuall service and it

  • Use of dummy profit center

    Hi I am on ECC6.0 and profit center accounting is active. I have one dummy center. Now what is the use of dummy profit center. It i because SAP will not allow me to post FI transaction with out profit center because of document splitting. Then how du