Interfacing between labview and microcontroller using rs 232

hi my task is to generate a wavefrom of certain frequency and certain duty cycle in labview and feed it to pic18f452 microcontroller and the o/p of microcontroller when connected to CRO should display the same frequency and duty cycle which was fed from labview.
for that when i am sending decimal data from labview microcontrolle is receiving ascii data for eg 62(decimal) gives 36 and 32 respectively in microcontroller registers and when i use type cast function and convert the decimal data into ascii data and then sending it to uc it gives hex o/p so i am confused that how to solve this problem
pls guide me
thanks
satish

Double post

Similar Messages

  • Interface between labview and multisim

    hi ,
         i have labview 2012 full edition. i have created some blocks in lavbview and these blocks having some circuits are there i need to create those in multisim and also i need to open these multisim circuits in labview is it possible ? possible means ,what are all toolkits required? 
    please reply me 
    regards
    basavaraj

    Yamaeda wrote:
    DLL's are for using C# code within a LV program, that's not what you're doing. 
    Actually DLLs are strictly speaking normally shared libraries exporting standard C functions. They get interfaced with the Call Library Node. .Net libraries (written in C#, VB or whatever) are normally called assemblies, although the are usually packaged in a file with a DLL extension, but they are VERY different from normal shared libraries.To access .Net assemblies you use the .Net Nodes in LabVIEW. In LabVIEW you can create normal DLLs or .Net assemblies from VIs.
    It's probably possible with some involved magic to write normal DLLs in C# but most likely a pain in the ass and a quite useless exercise. And if you want to call a normal DLL from C# you have to use unmanaged interface, which is also a pain in the ass, since you have to worry about the same things as when you use the Call Library Node to interface to a DLL.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Connecting between labVIEW and PLC S7-1200 using EPICS

    Hello everyone,
    I'm trying to connect between LabVIEW and PLC S7-1200 using EPICS. I did it using OPC and it succeeded and the communication was done, so right now i'm trying to do it using EPICS. so Can anyone help me with that?
    Thanks in advance.
    Ahmed

    Hello,Ahmed:
    Now I'm trying to conect S7-1200 to Labview by OPC server 2012, I'm newer for both PLC S7-1200 and OPC server. by the help file of NI's OPC I tested many times, but lost totally.
    You mentioned that you have succeeded making the connection between them, could you please help me :
    1) How to set in Simense TIA software? I can set the PLC's IP address now, that's all;
    2) OPC server setting.
    if there is a video, that will be great.
    thanks a lot.
    Delphi77.

  • Interface between paravision and labview

    Hi,
    Does any one here who can help or give some idea how to make an interface between paravision and labview software???I need to acquire captured MRI image from paravision and store it to Labview.
    I would appreciate for any kind of assistance.
    Kind Regards,
    Jasim

    Hi Jasim,
    Could I get a little more information about how you are importing the MRI image into LabVIEW?
    1) How are you getting the MRI image into LabVIEW?
    2) What image format will the image be in?
    3) What will you be doing to the image once it is in LabVIEW?
    Best Regards,
    Bill
    Bill E. | Applications Engineer | National Instruments

  • Communicat​ing between LabVIEW and Basic Stamp 2.0

    Hello,
    We are trying to control the movement of a Parallax Boe-Bot (robot with
    Board of Education) via LabView programming.  The BOE operates on
    Basic Stamp programming to control the pulse width sent to two servo
    motors.
    Is there a way to establish communication between LabVIEW and Basic
    Stamp 2.0?   We need to send commands from LabVIEW to the
    Basic Stamp to control the pulse width and therefore the rotation of
    the two servo motors.  We also need to send a signal from an
    accelerometer based on the robot to the LabVIEW ADC. 
    The ultimate goal is to do this with wireless communication, but for
    right now we are simply trying to figure out any way to send the data
    between LabVIEW and the Basic Stamp.
    Any ideas?
    Thank you,
    Adam

    Hi Adam,
    You can communicate with a BASIC Stamp microcontroller over GPIB using VISA.  To see some LabVIEW example code, just search for GPIB in the NI Example Finder (Help>>Find Examples). This will show you the basics of GPIB communication in LabVIEW.  I also found this link by searching the NI discussion forums for "basic stamp"
    http://www.parallax.com/html_pages/downloads/softw​are/software_basic_stamp.asp
    Here you can download an example using LabVIEW 7.0 or higher to communicate with a BASIC Stamp 2.
    I hope this is helpful!  Let us know if you have further questions.
    Megan B.
    National Instruments

  • 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

  • Interface between sockmod and udp

    Hi,
    where can find info on interface between sockmod and udp stream modules. Iam specifically looking for how sockmod and udp/tcp modules inform each other of the destination ip/port numbers, source port number etc... any help would be greatly appreciated.
    Thanks,
    Surya

    Hi,
    In our case we are using
    IDOC-XI--SOAP ( For all Outbound scenarios)
    In this case ask abt wsdl files for SOAP Structure
    HTTPXI--IDOC ( For all Inbound scenarios)
    In this case POS will directly post the message to intergration server direcly by using parameters like namespace , IS details
    Regards
    Seshagiri

  • Transfert between Labview and HTML page

    Is it possible to transfert data between LABVIEW and a HTML page without using a java applet?
    Is Labview including this possibility?
    The aim is to pilot a system via internet with a html page.

    Hi Mat,
    LabVIEW CGI is the best solution for that. I know that you can build ActiveX controls (in Visual Basic) that talk to labVIEW. But LabVIEW CGI is the easiest way of doing that. You should have some knowledge of HTML inorder to work with LabVIEW CGI.
    Also note that in order to have the LabVIEW CGI capability you should have Internet Toolkit for LabVIEW (available from NI). For more information
    http://www.ni.com/labview/internet/
    The examples that ship with the toolkit should get you started on it. LabVIEW CGI VIs would allow you to execute VI from web browser and get results back in web browser in form of HTML page.
    Hope this helps,
    A Rafiq
    National Instruments
    Hope this help.

  • Data Replication Between Sqlserver and Oracle11g using materialized view.

    I have Sqlserver 2005 as my source and oracle11g as my target.I need to populate the target daily with change data from source.
    for that we have created a dblink between sqlserver and oracle and replicated that table as a Materialized view in Oracle.
    problem we are getting here is Fast refresh option is not available.each day it will pick full data from the source.
    is there any way to use Fast refresh in this scenario??
    Thanks in advance.
    Regards,
    Balaram.

    Pl do not post duplicates - Data Replication Between Sqlserver and Oracle11g using materialized view.

  • Interface between WM and SD

    Hi,
    Is there anybody who can give me the details of the interface between WM and SD through shipping module?
    It would be nice to have few info about WM /PP and WM/QM.
    Thank you in advance.

    Hi,
    The interface is mainly through the LEWM movement type configuration. You need to define the Interim storage type and movement types required to sales process prior to that.
    After you are done with the above settings, then you can configure for the 2 step picking. If you need it.
    Thanks,
    Mono

  • I need help syncing my contacts between Outlook and iPhone using iTunes. I followed the steps given and ended up with just email addresses showing in my contacts even though I have phone numbers and snail mail in my Outlook Contacts. Using  Windows 7

    I need help syncing my contacts between Outlook and iPhone using iTunes. I used the knowldge document and set it up to transfer my Outlook contacts to the iphone using itunes.
    In contacts on the iphone I only see the email addresses.
    Yet in Outlook I have email, snail mail and phone numbers.
    I followed the knowledge document from iphone.
    I did it once, didn't work so deleted all the contacts from the phone and tried again. Same result. I have a PC using Windows 7 64 bit.

    You can't access an Exchange account via ActiveSync with the Address Book and iCal on your Mac.
    You can access a MM account with Outlook on your PC at work and keep your MM email account server stored mailboxes synced between your PC at work, your iPhone, and the MM "cloud". Not sure about syncing MM contact info and calendar events with Outlook at the same time with an Exchange account.
    This will not provide for syncing your Exchange account contact info and calendar events with the Addresss Book and iCal on your Mac because the accounts are separate.
    You can access an Exchange account and a MM account at the same time with the iPhone's mail client, and sync contact info and calendar events over the air with both accounts at the same time. You can view combined contact info or separately for each account, and the same for calendar events.

  • IDOC Interface between CO and BW

    Hi Gurus
    I am just looking for documents about all interfaces between CO and BW/BI. Can any body supply me these??
    Thanks in advance
    SIM

    Hi Joe-
    There are several How To guides that provide detailed instructions on how to automate transactional and master data loads from NW BW into BPC.  Please check out the following guides:
    [How to Migrate Transactional Data|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0427318-5ffb-2b10-9cac-96ec44c73c11]
    and
    [How to Automate Master Data Loads|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00380440-010b-2c10-70a1-e0b431255827]
    Regards,
    Sheldon

  • Is there a way to sync my saved user ids and passwords between Mac and iPhone using iCloud?

    Is there a way to sync my saved user ids and passwords in Safari between Mac and iPhone using iCloud? Like I can do using Chrome for Mac and iOS...

    You three would do better to sync to google directly.  Google has a blackberry app that will allow you to sync your contacts and calendars.  The app isn't perfect, but it works reasonably well, especially if you're just using one calendar to sync.
    Then there's plenty of ways to sync those to your iPad using Google, including Exchange, or simply adding it as a google account.
    As for iCloud, there really isn't any supported or unsupported method to do what you're trying to do, at least at this time.  If there is, it would definitely be a hack and I would be wary of risking your contact or calendar data on it..

  • Interfacin​g between labview and microcontr​oller using rs 232

    hi my task is to generate a wavefrom of certain frequency and certain duty cycle in labview and feed it to pic18f452 microcontroller and the o/p of microcontroller when connected to CRO should display the same frequency and duty cycle which was fed from labview.
    for that when i am sending decimal data from labview microcontrolle is receiving ascii data for eg 62(decimal) gives 36 and 32 respectively in microcontroller registers and when i use type cast function and convert the decimal data into ascii data and then sending it to uc it gives hex o/p so i am confused that how to solve this problem
    pls guide me
    thanks
    satish

    So your display from the uc is giving you a hex display instead of the ASCII representation? Are you using VISA to send a string to the uc? Is that string being represented as hex instead of ASCII by the microcontroller? I'm confused about what exactly your setup and problem is...

  • Interface between C++ and labview

    I have decided a project that consists of C++ and Labview. C++ is used
    as the input to labview. However, i don't know how to use C++ to
    control the labview. Can C++ control the labview directly? and how ?
    or I have to buy another program or hardware to be interface?
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    ActiveX and TCP/IP are both good choices for high-level communication
    between Windows applications. LabVIEW's VI Server, introduced in version
    5.0, gives you tremendous power to control LabVIEW programmatically and
    exposes it to the programmer via either ActiveX or TCP/IP.
    For a very nice example that shows how to call a LabVIEW VI with arguments
    passed from the C++ environment, then bring the resulting data from
    LabVIEW back to C++, check out the following example from NI's site:
    http://digital.natinst.com/explprog.nsf/websearch/6960cee3bf3d8c30862565da0078ef30?OpenDocument
    If the URL doesn't work for you, just go to NI's Example Programs Database
    (http://www.natinst.com/support/epd/) and search for "labview and c++".
    Regards,
    John Lum
    National Instruments
    Matthew
    Ho wrote:
    > I have decided a project that consists of C++ and Labview. C++ is used
    > as the input to labview. However, i don't know how to use C++ to
    > control the labview. Can C++ control the labview directly? and how ?
    > or I have to buy another program or hardware to be interface?
    >
    > Sent via Deja.com http://www.deja.com/
    > Share what you know. Learn what you don't.

Maybe you are looking for