How can I communicat​e between two computer via RS 232 port?

I would like to communicate between two computer in order to servo a motor motion to an acquisition.
Thank you in advance for your answer an your solutions

PreScript: I did not rate the above answer!
Here's a VI I use to test my instruments - if you have it running on both PCs, you should be able to communicate (with the help of a Null modem between them - cross Rx and Tx) - hopefully this will get you started.
cheers,
Christopher
Christopher G. Relf
Certified LabVIEW Developer
[email protected]
International Voicemail & Fax: +61 2 8080 8132
Australian Voicemail & Fax: (02) 8080 8132
EULA
1) This is a private email, and although the views expressed within it may not be purely my own, unless specifically referenced I do not suggest they are necessarily associated with anyone else including, but not limited to, my employer(s).
2) This email has NOT been scanned for virii - atta
ched file(s), if any, are provided as is. By copying, detaching and/or opening attached files, you agree to indemnify the sender of such responsibility.
3) Because e-mail can be altered electronically, the integrity of this communication cannot be guaranteed.
Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.
Attachments:
Test_RS-232_Serial_Communications.vi ‏118 KB

Similar Messages

  • How can i get report between two dates?

    Hi
    how can i get report between two dates?
    for example i want get reports between 20/4/2002 & 27/4/2002.
    my table has date column and i can get first date( exam : .... where date:=a and/or ....i don't know this part)
    thanks alot.
    Regards
    The Oracle Reports Team
    http://otn.oracle.com/

    where exam_date between :from_date and :to_date
    from_date and to_date are user_parameter

  • How can i use eyedropper between two different art board.

    Hi
    How can i apply the same color for the images in two different art boards with eyedropper.
    I am trying to apply the same color from the image in one art board to another image in another art board.
    Can any one help me please. Thanks
    Steve
    I am using Mac

    apresslink,
    Presuming you are unable to use the Eyedropper Tool normally, in other words keep the target object selected while you pick up the colour, by having the Artboards open in adjacent windows to ClickDrag between (I am still with 10 which may explain at least part of my ignorance for which I apologize):
    Until someone presents a smarter solution, you may cheat and create a carrier object beside the  source object, drop the colour in that, cut and paste it to be beside the target object, and drop the colour there. With multiple colours to drop multiple times, you may create a palette to hold them, to use just like a painter working on several canvases at the same time. Or you could paste diminshed copies of the source objects.

  • How can I share data between two forms on different lists

    Using a custom content type, I created two lists that I want to share the same data - one is a calendar.  Our employees complete a form from the "Out of Office Request" list that has workflow functionality that sends an email to that person's
    manager.  If the manager approves the request, the item automatically populates the "Out of Office Calendar."  The problem is that the only information from the request list that populates the calendar is the Title field and date/time fields. 
    I need the manager name in order to create a view for each manager.  
    How can I connect the other information in the request list to the calendar list.  It seems to me that if the title and date fields carry over the information, there should be a way to connect the other information.  I'm using Designer.
    I've tried to connect the two lists' webparts with the wizard, but when I get to the page that maps the two lists, there are no column names and the "Next >" button is grayed out.  This seems like the logical place to connect the two lists,
    but it isn't working.

    Hi,
    According to your post, my understanding is that you wanted share data between two forms on different lists.
    To show external  information on the calendar event, there are two methods: Calculated column, workflow. You can refer to:
    A Simple Guide to Show More Information on a Calendar Event
    I recommend to use workflow to achieve what you want. But you need to create a people column to display the manager.
    You can create a workflow associated to the "Out of Office Request" list, add action to Start Approve Process. If the manager approves the request, you can create a item in the calendar, and then update the people column and the title column.
    Then the calendar will display the Title, date/time and the manager.
    To create a view for each manager, you need to modify the Filter. You can use the people column is equal to the manager name or the Title contains the manager name.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can i make  network  between two databases  ?

    Good Morning to all ;
    Going to configure  oracle 10g -  ( I trying to exchange data between two different databases.
    Each database is configured in different operating systems.
    For ex : one database from windows XP(seperate virtual machinne)
    one database from linux rhel (seperate virtual machinne)
    I am waiting for some suggestions ..
    Thanks ..
    Edited by: 969352 on Mar 19, 2013 10:04 AM

    969352 wrote:
    What virtualization product are you using?*#* vmware-toolbox-cmd -v
    8.1.3.9911 (build-203739)
    VMWARE  Product  Information :
    Version : 7.0.0 build - 203739
    OK. You will need to make sure the ip addresses you assign to your vms are in the same subnet as the adapter create by the installation of vmware. Once you get the fundamental network setup fixed, you can treat these vms just like any machine in your data center. Forget the vm console and access them exactly like you would any remote server -- putty for the linux machine and Windows Remote Desktop for the Windows machine.
    At a command prompt on the host, issue this:
    c:> ipconfig -allYou will get back info on several net adapters, two of which are identified as being with vmware -- vmNet1 and vmNet8. Note the IP addresses of both. We'll need it later.
    You will also need to know how you configured the network adapters on your vm's -- NAT, bridged, hostonly, ???
    Note that these issues are out of scope for this forum. I don't mind helping, but I no longer have a vmware installation to reference details.
    What have you actually tried to do? ( Data Transfer )I tried to exchange data from windows database  to linux DB
    That's pretty vague. Exactly how did you try to "exchange data"? A sql statement using a db_link? export/import? Carrier Pigeon?
    >
    Where are you stuck?
    I don't know ,  how to configure ip and necessary information  for windows database.
    Configuring an IP address is purely an OS admin issue and is out of scope for this database forum.
    Google is your friend, but only if you use it: [url http://lmgtfy.com/?q=configure+windows+ip+address]http://lmgtfy.com/?q=configure+windows+ip+address
    >
    That's it Edstevens .. thanks ..

  • How can I share music between two computers and two accounts?

    My wife and I each have our own devices. I would like to purchase an album and have it on both accounts so we do not have to buy the same album twice just because we both like it. I have seen many articles on how to achieve this on a single computer but nothing that talks about multiple computers and multiple accounts.
    TIA

    iTunes: How to share music and video - http://support.apple.com/kb/HT2688 - about Music Sharing and Home Sharing
    Home Sharing Support page - http://www.apple.com/support/homesharing/
    iTunes: Setting up Home Sharing on your computer - http://support.apple.com/kb/HT4620
    Understanding Home Sharing - http://support.apple.com/kb/HT3819
    iOS8 preview - http://www.apple.com/ios/ios8/family-sharing/ -family sharing
    By account I take it you mean computer account, not iTunes Store account.  You can't currently share items between multiple store accounts though you can share it between computer accounts.  Also read about changes in forthcoming iOS8.

  • How can I pass value between two pages or fragments?

    Hi,
    I am learning ADF nowadays. Now I come across the following problem.
    There are two pages or fragments in a bounded task flow, e.g. PageA&PageB. There is an inputtext on PageA.When I press an button on PageA with an action jumpping to PageB I want pass the value of this inputtext to annother inputtext, which is shown on PageB. Moreover, the inputtext on PageB comes from a ViewObject. How can I achieve this goal? Any ideas or suggestions?
    Best wishes!
    Eleven.Xu
    Mar 27th.2009
    Edited by: Eleven.Xu on 2009-3-26 下午7:03

    RequestContext requestContext = RequestContext.getCurrentInstance();
    requestContext.getPageFlowScope().put("var_name", value);
    String value = (String)requestContext.getPageFlowScope().get("var_name");
    if you open a new window, the value will be null.

  • How can I share calendars between two different people?

    I am trying to share my ICAL with my wife and she wants to do the same with me. For some reason I cannot find the path to allow us to see each otjer's calendars. Any ideas?
    Thanks
    Don

    Hi,
    According to your post, my understanding is that you wanted share data between two forms on different lists.
    To show external  information on the calendar event, there are two methods: Calculated column, workflow. You can refer to:
    A Simple Guide to Show More Information on a Calendar Event
    I recommend to use workflow to achieve what you want. But you need to create a people column to display the manager.
    You can create a workflow associated to the "Out of Office Request" list, add action to Start Approve Process. If the manager approves the request, you can create a item in the calendar, and then update the people column and the title column.
    Then the calendar will display the Title, date/time and the manager.
    To create a view for each manager, you need to modify the Filter. You can use the people column is equal to the manager name or the Title contains the manager name.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How can I transfer data between two while loops in parallel

    Hello,
    I have two while loops in parallel and I want to transfer data from the first to the second loop. The problem isthat data are transfered only when the first loop ends. I tried with queue but it doesn't work. How can I do, preferentially without global variable ?
    Thanks.

    I join a very simplified VI's because the real works with PXI, RT, ...
    When you run the "secondVI.vi", no data comes in array from the "firstVI.vi".
    As I said in my first message, I tried with queue too but it doesn't work, because when the terminal go out from the while loop, while loop have to be ended to send data.
    Attachments:
    transfer_data.zip ‏20 KB

  • How can you remove clustering between two BO XI 3.1 Servers

    Hi,
    Servers A and B have been clustered before and because we have done so many changes to each of the servers, we thought of uninstalling everything from both servers and reinstall BO XI 3.1 server on each.
    Installed BO XI 3.1 server on Server A, applied SP2 and this worked fine.
    Installed BO XI 3.1 server on Server B, applied SP2 and this worked fine too.
    We performed the installation using most of the default settings e.g. port number on both servers (nothing on setting them up as clusters).
    However, when we checked the Settings on both CMCs of our BO XI 3.1Servers, there was information under the Cluster Tab as follows and these were on both servers' CMCs:
    CMS Name: ServerA.cms (ServerA.ourdomain:6400)
    Cluster Name: @ServerB.ourdomain:6400
    Cluster Members:
    ServerA.cms (ServerA.ourdomain:6400)
    ServerB.CentralManagementServer (ServerB.ourdomain:6400)
    Question: How can we remove clustering from both servers (we do not want it in the first place and we did not think we set it up when we reinstalled BO XI 3.1 on each).
    Hope someone can help us.
    Thanks.
    Edited by: boxidhf on Apr 14, 2010 8:18 AM
    Edited by: boxidhf on Apr 14, 2010 8:19 AM
    Edited by: boxidhf on Apr 14, 2010 8:19 AM

    This is the high level procedure.
    1. STOP SIA on the server to be removed say X.
    2. Delete all the servers that belong to X from CMC.
    3. Delete the SIA on X and un-install.
    There are some key points to watch out for- you can check the admin guide..but at a high level this is the process i have followed in the past.

  • How can I sync firefox between two macs: cannot fond the add a device buttom!

    In the instructions found in help in order to set up firefox sync a device must be added. However in the preferences <I do not finf the Add device buttom. Any suggestion?

    Hi!
    Unfortunately your message is incomplete.
    Take a look to this article and let me know if it doesn't help: [[How to sync Firefox settings between computers]]

  • Can i share files between two macs via airport express?

    hi. we have an imac and a macbook connected to the internet with airport express. all is well with that, but i'd like to be able to share files between the two computers. it seems like i should be able to, but i can't figure out how. can someone help?
    thanks.

    Hello smw380. Welcome to the Apple Discussions!
    Yes. You just need to enable "Personal File Sharing" on both Macs.
    o System Preferences > Sharing > Services tab
    o Personal File Sharing: On (checked)

  • TS2972 How can I share playlists between two users on the same laptop?

    I have a work account and a home account on my laptop in Windows 7.  After the new version of iTunes was released this week, I"m unable to share playlists between the two accounts.  HELP.

    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189

  • Using the 6023E in LV 7.1, how can I get timing between two events to microsecond precision?

    I am a student and I have only been using LV for a few weeks so cut me some slack. I know similar questions have been on the forum 10 times but I am still having problems. I am sending a signal to a PIC microcontroller that controls the signal generation of a 40KHz acoustic ranging circuit. The output of the hardware goes high when an echo is detected. I need LV to start/restart a clock every time a signal is sent to the microcontroller and stop the clock when an echo is detected. It will use the time to computer the range. I am using the 6023E board and LV 7.1 and I know everything on my hardware is working correctly. I have a digital output going to the microcontroller and an analog input with a VI for detecting a voltage threshold listening for when an echo is received. I have looked through some other forum questions and examples and have come up with three different approaches. Originally I was trying to use the ms tick count VI but I've already read up on why that deos not work.
    The first VI posted below (ALIS2wavd) uses a timed loop. I can't seem to get the timed loop to run correctly with a 1 MHz clock. I am currently trying to use the DAQMx Create Timing Source.vi. Basically, the timed loop should run at 1 MHz and I would use the loop count to see how many times it runs before a signal is received. I also use the loop count to control how long I send the signal to the microcontroller, and how long to wait for an echo before starting over. In all of my VI's, the goal is to send a signal to the microcontroller for about .1ms and listen for an echo for 1-2ms.
    The second VI posted uses a VI for timing that I found on devzone. The timing VI that I found is also below. This really looks like a mess right now, sorry. You may want to look at the timing VI first. It uses counters to get a pre and post count and subtract to find the total time elapsed. I have the DAQmx read.vi's in the loop so that it will be subtracting the time of the first pulse from the time of the echo each iteration. At its closest point to working, this VI would return the same number for the range every time, meaning it was counting the same amount of time each iteration. I know the timing VI works accurately so I am guessing that there is a problem with my structure or the way I am using the DAQmx functions.
    In the last VI I am trying to use a counter to do something similar to what the timed loop VI should have been doing. I am setting up an egde count and controlling the transmit and detect time with this count. The value of the count when an echo is detected would be used to determine the elapsed time. Im not sure why this isn't working either.
    NOTE In all of these VIs there is an enable button and a PIC microcontroller frequency test. The VIs won't step into the case structure without both of these as true so you might want to get rid of them if you want to try to test anything. In trying to fix these VIs I may have made little changes that actually made the situation worse so keep that in mind too. Originally I was using just DAQ Assistant VIs to do the input and output but I switched the the DAQmx functions in the loops because I thought the assistant VIs might be causing the problem. Also, I noticed that there is a count events or time.vi on the traditional counter palette. I can't use the traditional functions at the same time as the DAQmx functions so I was wondering if there is an equivalent time counter VI for DAQmx that I just do not have?
    Attachments:
    ALIS2wavd.vi ‏627 KB

    timing VI
    Attachments:
    Time_with_Counters.vi ‏112 KB

  • How can i merge data between two tables and then insert to another table

    Hi ,
    Could pls help me,
    I have two tables i need to merge this tables for a single column then need to insert the records to a third table
    Ex-
    Suppose emp, dept two tables , merge this two tables for empid then insert that value to emp_dept table.
    I am using oracle 10g.
    Thanks

    Hi,
    too many values comes from the select clause. I stated you have to match the columns from the emp_dept table to the columns in the select. In my example I return all the columns of emp and dept, but I think you have only one empid column, the select for example will give 2, one empid from emp and one empid from dept. So best is to match:
    insert into emp_dept
    (column1,column2,column3,empid)
    select emp.column1, emp.column2, dept.column3, emp.empid
    from   emp, dept
    where emp.empid = dept.empidAbove is an example how you can match, so the number of columns in the insert should match with the number of columns coming from the select.
    But better for us to help you is give your definitions of emp, dept and emp_dept.
    Herald ten Dam
    htendam.wordpress.com

Maybe you are looking for

  • Win 8.1 temp / enviroment folders permissions

    Hello, how are you? Three days ago, last win update came in to my computer. Everything was great, but Acrobat Reader, stops work. So I unninstall, e install agian. Its ok. Reboot, and now are problems: Dropbox don't work, Acrobat Reader don't work, w

  • Can't open pdf created with Adobe Acrobat Pro

    I can't open a pdf (that was created with Adobe Acrobat Pro) using Reader 11. However, the file will open with an older version of Reader (10.1.4) on another workstation. Is there any way to resolve the problem?

  • How do I auto populate the date into text fields when form is first opened?

    Hello, I read all about the changing the scripts but its not really working for me. I was hoping someone could help me with directions on how to auto populate the date into designated text fields when my adobe document is first opened? I am working i

  • How to read attachment from adobe interactive form

    Hi, My requirement is- vendor should fill all the detail in an offline interactive form and attach necessary documents in the form itself. How can i read the attachments from the form inside my program and how can i store it in SAP. I am using FM ' S

  • Amount field shoub print from RHS

    Hi, I have requirement amount should be print from right hand side. Data: var(13). E.g 100.00  (My 100.00 amount should be print from 8 character) Ans.       100.00 Regards,