How to communicate results from LabView windows to C socket on UNIX?

Hi, I am interested to buy LabView and I am going to use to control some devices. LabView would be residing on a windows machine and I will need to take input from a unix machine and provide output to it. I was thinking of using sockets and using TCP or UDP to do that. Can you suggest how can I communicate with a C socket program residing on UNIX machine with a labview program on windows? are there any features in LabView by which I can do that. I am new and thats why I needed to know.. your early response will be greatly appreciated. Thank you.

LabVIEW has both TCP and UDP functions. If you set up your unix program as a TCP/UDP data server, it's pretty simple to write a LabVIEW client and in fact, LabVIEW comes with a sample client program.

Similar Messages

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • How to filter results from 4 dynamic list menus depandant on how many of them are selected

    I have a search page with a form with 4 list menus and 1 submit that post the results to the results page. I can create a record set that either retrieves the correct data from my database if a selection is made from all four menus Or i can create the recordset if only 3 menus have a selection or the same for 2 menus and 1 menu. However i want the user to be able to make a selection from either 1, 2, 3 or all 4 of the menus and the exact data be retrieved. At present if i try to combine the recordset using AND and ORs the results are not specific enough, for example the 4 menus are Location, Type, Price & Style if a user selects from all 4 i only want to retrieve data that matches all 4 criteria, but at the same time if the user selects only 2 of the menus the i want it to retrieve data that matches specifically those 2 variables. I´m not actually sure if i should be creating a more advanced sql query of if its the php side of things that i need to look at. This is my first dynamic site so please be aware i´m still a learner where php and sql is concerned. Please can anyone help?  

    Hey there,
    Thanks for replying,
    I too am using Dreamweaver recordset, my local server is XAMPP ( apache php mysql), i´have pasted my sql recordset below to give an idea of what i´m trying to do, however this does not work as i´m trying to select the exact data based on 4 menus PRICE TYPE LOCATION and BEDS, and also want the search to work if the user only selects options from either 1, 2, 3 or 4 of the menus, with the code as it is if the user select only two options from 2 of the menus the results don´t just find (for example) all results for location AND price they find all results for the location varibale OR the price variable rather than a match for both, if you see what i mean?
    Any suggestions?  
    SELECT trueprice,`desc`, `propid`, `bathrooms`, `photo1`, locationtable.loc, typetable.style, bedtable.`number`
    FROM detailstable JOIN locationtable ON detailstable.location=locationtable.locid JOIN typetable ON detailstable.type=typetable.typeid JOIN pricetable ON detailstable.price=pricetable.priceid JOIN bedtable ON detailstable.beds=bedtable.bedid
    WHERE (location=varloc AND price = varprice AND type=vartype AND beds=varbed ) OR (price=varprice AND location=varloc AND type=vartype) OR  (price=varprice AND location=varloc AND beds=varbed) OR (price=varprice AND beds=varbed AND type=vartype) OR  ( location=varloc AND type=vartype AND beds=varbed) OR  (price=varprice AND location=varloc) OR (price=varprice AND type=vartype) OR (price=varprice AND beds=varbed) OR (type=vartype AND location=varloc) OR (type=vartype AND beds=beds) OR (location=varloc AND beds=varbed) OR (price = varprice OR beds=varbed OR type=vartype OR location=varloc)
    ORDER BY detailstable.trueprice ASC
    Look forward to receiving your thoughts,
    Linda
    Date: Wed, 21 Oct 2009 14:36:33 -0600
    From: [email protected]
    To: [email protected]
    Subject: how to filter results from 4 dynamic list menus depandant on how many of them are selected
    Hiya,
    I'm just doing my first dynamic site too, and am at a similar level to yourself.
    Can you give us more info re the site. What software, eg Dreamweaver etc are you using, and is your server using PHP or ASP etc?
    For what I've used, I amended the SQL side of things in the recordset in Dreamweaver. That way, you can test the SQL as you're setting up the recordset.
    Let me know how you're going on anyway
    Cheers
    Andy
    >

  • How to transfer pictures from computer ( Windows 7) to iPad with Retina display ?

    How to transfer pictures from computer ( Windows 7) to iPad with Retina display ?

    Note that, if you use iTunes to sync photos onto the iPad, you'll need to use iTunes to take them off.
    if you don't have a lot and want to keep deletability, you may want to consider mailing them to yourself, or uploading them to something like dropbox, then downloading them (via the dropbox app) to your iPad.
    there are also several photo syncing apps out there that may suit your needs. Afraid I don't have any to recommend. But syncing via iTunes isn't the only way to get photos onto your iPad..it's just the  built in way

  • How to transfer picture from pc (windows xp) to my ipad2

    hi every one,can you help me how to transfer picture from pc (windows xp) to my ipad2

    From your Old Computer... Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    An Added Bonus is that you will then have a Backup of iTunes...
    Backup iTunes to an External Drive
    http://support.apple.com/kb/HT1751

  • How can I jump from Safari window to Safari window?

    Hey all,
    How does one jump from one Safari window to another? While Im at it, also from Tab to Tab?
    On Window to Window in WinXP, I would use Command/Tab. However, in OSX, if I Command/Tab, then I get a different program list other then available, open Safari windows.
    When in a single Safari window and have multiple tabs, to go from Tab to Tab, in Windows, you use Control/Tab. But in OSX, this does not work. I have tried variations to see if I could figure it out, but have been unsuccessful. Many thanks for any help and input.
    LH

    Command + ` is a system-wide function to toggle between open windows within any running app. Works for everything.
    In Safari 4 and 5, ShiftCommand (right or left) arrow moves tabs for me. I noticed that in Apple Discussions, should I have a "reply box" open, this copmmand will go to the that tab and stay there, highlighting text. Otherwise the combo wrks fine.

  • How to use Results from Another Query for SAP BW universes

    Hi Everyone,
    I have two SAP BI universes.In my First universe I have Sales Doc no (dimension) and Orderqty (Measure) and in my second universe I have Sales Doc no(Dimension) and BillQty (Measure).
    Here in my first dataprovider I have 1200 rows of data and in second dataprovider I have 75,000 rows. The report should fetch only the BillQty details that matches to corresponding  Sales doc no in first data provider.
    I want to place all these fileds into a single report like as shown.
    (Datarpovider1)                (Datarpovider1)                    (Datarpovider2)
    *Sales Doc No*               Orderqty                           BillQty
    Here I am able to generate single report using merge dimension but it is leading to performance issues. I want to restrict the values at query level by passing the First dataprovider Sales doc no to second Data provider Sales doc number using Results from Anothery Query feature so that It can fetch only the matching records.
    I tried it but it was giving the follwing error:
    A filter contains a wrong value. You cannot run this query. (Error: WIS 00007)
    How Can I get rid of this error. Can we use Results from Anothery Query option for OLAP universe. Are there any limitation on it.
    All this I am doing in Webi Rich Client.
    Appreciate your help
    Thanks &in Advance
    Kiran Saka

    Hi Kiran,
    I think the filter has a wrong operand. For example, a filter with an empty constant, or a filter that deals with numeric values is defined with an alphanumeric value.Check out for this.
    Regards,
    Neeraj

  • How can I print from my windows 8 pc to my printer using my 2nd g express?

    I have an hp deskjet 1055. It's just a USB printer how can I print from windows to my printer connected to my 2gen airport express? If it only works with airprint printers than why is there belkin routers that can work with any printer?

    Figured it out. To print wirelessly via airport express 2nd generation you have to do some things. Download the bonjour printer thing mentioned above and have the printer plugged in to the airport express. Then run the bonjour printer thing and select your connected printer and install. Where I went wrong was I tried to print from my hp printer (1). When you install a printer with bonjour to print wirelessly it installs the same printer (2) so it's like there's 2 different printers in word or whatever you use to print.  You have to select the one that says ready. Thanks for everyone's help

  • How to transfer files from a window PC to iPad3?

    How to transfer files (mainly PDF files) from a window PC to iPad3? I am a new user of iPad, please tell me the basic method.

    You will first need an app on the iPad that supports PDF files - unlike a 'normal' computer the iPad doesn't have a file system, and everything on it has to be associated with an app. Apps that support PDFs include free apps such as Apple's iBooks and the Adobe Reader app.
    For iBooks, you can add the PDFs to your computer's iTunes via File > Add To Library, and they should then go into the Books part of your iTunes library. You can then sync them to the iBooks app on your iPad (which you will need to download from the store and install on the iPad first) by connecting the iPad to your computer and selecting it on the left-hand side of your computer's iTunes, and then using the Books tab on the right-hand side to select and sync those PDFs to it.
    Other PDF apps quite often use the file sharing at the bottom of the device's Apps tab
    If you don't have a copy then you can download the iPad manual from here : http://support.apple.com/manuals/ipad/

  • How to get result from another JSP file?

    I have to write a jsp (my.jsp) to get information from another jsp file (other.jsp).
    The other.jsp return integer value (0 / 1) so that user can tell if certain service is available or not. And in my.jsp I need to collect such result and other information from a text file to make up of a XML string.
    How can I call other.jsp to get the result? Thanks a lot.

    Hi, I think I didn't describe the problem clearly
    enough. In fact, there is a JSP file, and if our
    database is currently connected, the JSP will return
    value 1, otherwise, it will return 0. My java program
    need to get that result, and then form an XML string,
    and send the string back to the client. I'm just
    wonder how can I write such a program to read result
    from JSP file. Thanks a lot.Why is this function implemented as a JSP file? It should be implemented as a bean. It would be simple to get the information you require from that bean.

  • How to parse parameter from child window to parent window in JSP

    I have two JSP i.e. course1.jsp and course2.jsp. I would want to find out how I could parse the parameter/value from child window to the parent window when the child window get closed.
    What I am trying to do is actually a file upload process. The child windows will open for user to upload the file, and when close, the file name will be parse into the parent form for database update. Is this something possible at all? or is there any other better approaches.
    Thank you.
    These are the two files:
    --------course1.jsp ------------
    Attach File <p>
    <FORM name="courseForm" action="course2.jsp" method="post" enctype="multipart/form-data">
    <TABLE cellSpacing=1 cellPadding=3 border=0 WIDTH=500>
    <TR >
    <TD>
    <input type="text" NAME="f_file_name" size="30" VALUE="this value should be taken from child windows">
    get file name
    <p>
         <INPUT class="buttons" TYPE="submit" NAME="submit" VALUE="Submit">
    </TD>
    </TR>
    </TABLE>
    </FORM>
    ---- course2.jsp -------
    <%
    String filename = "this is the string needs to go back to parent windows when I click on close";
    %>
    <p>
    close

    In course2.jsp, you have to write some javascript code to reload the parent window document to reload the document with an added parameter. But, instead of doing this, you can also do simple thing; in course2.jsp, you can reference course1.jsp controls via javascript object, "parent". On closing event of course2, you can write:
    parent.courseForm.f_file_name.text = '<%=filename%>' ;
    window.close() ;
    But for this to work, you must open your course2.jsp document thru window.open() function instead of simple hyper link (as you did thru ).
    So, modify the hyperlink line like below:
    get file name
    Hope it helps.

  • How do download results from a Ibot

    I’ve created a number of ibots to deliver a few reports to user destination of interactive dashboard. The ibot runs, publishes the link and I can view the output with no problems. The problem is the output opens in a new window with no option to download, print etc. Am I missing a step along the way? The users need to be able to download the results, but the output of the IBOT does not display a download or print link. The same issue occurs if access the results from the alerts link.

    Does you requirement require the reports to be delivered as 'point in time' , ie snapshots ?
    If not an alternative might be to give your users a GOURL path to the report, you can specify what download options you want to give them as part of the URL syntax :
    From here :
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    " &Options=mdfr – Each of the letters in mdfr have a specific function.
    m - To include the modify report link under the report
    d - To include the download link under the report
    f - To include the printer friendly link under the report
    r - To include the refresh report link under the report"
    You can get the base GOURL path to your save report from the Advanced tab, the 2nd link, not the web query link.
    You could always give this URL on the dashboard, but then I guess you may as well display the report.

  • How to install Solaris from a Windows computer

    I have recently received the Solaris operating system on DVD. The only computer that I have that has a DVD player is my laptop. It is however connected to the desktop that I wold like to install the system onto by a switch. I am not sure how to go about installing solaris over the LAN onto the desktop. This is the current setup.
    The desktop has Ubuntu with no direct connection to the internet. The Laptop has a wireless connection to the net with Internet connection sharing enabled. The two are connected via a switch and the laptop acts as a router to assign the ip address for the desktop. I would like to know how I can Install Solaris to the desktop over the network from the windows laptop.
    Please help!
    Thanks.

    Yes it does. I did that before but I could never get the image to boot after recording it to cd.
    Thanks for the reply by the way. I actually found some articles that I am reading through at:
    http://docs.sun.com/app/docs/doc/817-5504/6mkv4nh3p?a=view
    This seems to be going in the right direction. My next question I guess will be how to boot the client from the network. I am not sure how to map the boot procedure to the server. Any ideas are welcome.

  • How to convert llb from LabVIEW version 8 to 7.1

    Can someone tell how to convert the llb from LabVIEW version 8 to version 7.1?
    I hope to sent the program to the others, but the other side are using LabVIEW version 7.1 but not version 8.0.
    I know I can save to VI file as previous version, but it contains severals of VI in the library, it is quite time consuming.
    Can everyone sugguest any method or solution to solve my problem.
    Thanks.

    Hi anson,
    it will run also in LV7.1 - but you should check those warnings (probably things not/differently supported by LV7.1...) anyway!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • HT2518 how can i transfer from my windows outlook .PST to apple mac probook

    Hi
    Happy new year. this karthik, i would like to know about the transfer from my windows outlook. PST to apple mac probook any mac OS version.
    Regards
    Karthik

    Hi jlock76,
    Thanks for using Apple Support Communities.  This article has information on how you can transfer various media to your computer from your iPod:
    iTunes: Transferring media from your iPhone, iPad, iPod touch, or iPod
    http://support.apple.com/kb/HT1209
    Cheers,
    - Ari

Maybe you are looking for

  • A few questions regarding the Zen Mic

    . Should I take off the sticker in front of the Zen Micro's buttons and screen that it came with? 2. Why can't I listen to the radio while browsing the menu items? 3. There's this radio station: B00 who's # is 99.7 But whenever I go to this other sta

  • Airplay iTunes 11 only streams sound, no video, What's the fix?

    I have macbook Pro Mid 2011. Watching video from itunes library through airplay and Apple TV works fine for both video and audio. Streaming movie from itunes store only plays sound, no video. Tried other videos from You Tube and they worked fine. Is

  • Structure of ITABs in GRAPH_MATRIX_3D function module?

    What should be the structure of the internal tables DATA & OPTS for the function GRAPH_MATRIX_3D?

  • Centering images on fluid site

    Rebuilding a very antiquated site to meet the upcoming Google deadline, I'm having problems centering images. I defined a class of "center" but it's not working; http://www.aptcoweb.com/dev/aptcoFluid/office/label.htm Sometimes I want to center a sin

  • Why does my Safari 8.0.2 on Yosemite drop some image on html web pages ?

    Problem: Some images on the web(HTML) page not displayed. (images are dropped and displays as "?" marks) When I used OS X Mavericks, there was no problem. After updating OS X Mavericks to Yosemite, this problem has occur until now. I did do safe boot