Tranfering data to LabVIEW through TCP/IP

Dear all,
Hello! I am a new LabVIEW user. What i am trying to do is to transfer
data from one computer running a commercial package, to a remote
computer running LabViEW, through TCP/IP. To do that i developed a
simple LabVIEW code, which establishes a connection first and then
tries to read data. The connection seems to work, but i get no data.
After the first TCPread i placed an indicator, to check if data is
transfered, where i am getting the message "nect"...any ideas on what
this could mean?
Any help would be more than welcome!Thank you in advance!
Ferrari

I don't think we have enough information to troubleshoot this issue from your description, because there is a nearly infinite number of possibilities to "transfer data via TCP/IP". What kind of "commercial software" is the server you are trying to contact? Is it LabVIEW based? What are the specifications to transfer the data? Are you trying to use low-level TCP or e.g. datasocket?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Reading controller data into LabVIEW through serial connections to controllers?

    I'd like to read data from environmental chamber controllers (System Plus) into LabVIEW through RS232 connections.  Has anyone done something similar?
    I see interfacing with the serial controllers as the biggest obstacle and although not directly related to LabVIEW programming, I'm hoping someone here can give me some advice or resources on how best to do so now days.
    My first thought is to write a program with VB or C++ to act as a terminal and write the data to a text file for LabVIEW to poll.  Aside from using Telix decades ago to work with BBSes, my only other serial experience consists of interfacing with a Kiethly multimeter using a C++ program. 
    I would rather not use multiple PCs but I have never worked with more than one serial port on a computer before in the past.  Perhaps LabVIEW itself already provides for multiple serial card communications (wouldn't that be perfect)?
    Any info would be great.
    Regards,
    Dave

    Thanks Dennis.
    I spoke with Envirotronics and they do not provide the driver for the System Plus controller any longer since there were issues with changing hardware and software.  Their IT department may be able to put something together for me.
    Using USB->RS232 connections would be nice given the abundant number of USB ports available on modern PCs.
    Without a driver I see parsing the serial text as a challenge in LabVIEW.  I know how to approach this with a traditional programming language but are there any examples around here of how this is done with LV (most recent version is fine)?
    Dave

  • Get Siemens LOGO OBA7 data in Labview through Ethernet Port

    Please help me get the Siemens LOGO Status including Network ouput data to a Labview program.
    Is there any Siemens OBA7 drivers in Labview.
    Please Help.
    Thank you in advance
    Regards
    Grugh Mike
    Success is Everything !!

    hi,
    i am also looking to communicate to a siemens logo! PLC 0BA7 via ethernet using labview. the LOGO! documentation doesnt say much about ethernet communication. i tried a simple labview code which i have attached here, error message shows the connection has been refused. i have set the LOGO! to slave mode with my PC as the master I/P but still get this error (see attached jpeg). i apologise in advance i am a relatively new to LabVIEW and TCP comms.
    Attachments:
    LOGO! TCP.JPG ‏225 KB
    LOGO! TCP.vi ‏9 KB

  • Labview was blocked when building communication through TCP/IP

    I am trying to transfer data between a Labview system with Win2k and a RT system on PXI controller through TCP/IP. A problem is that when the Labview program started to build the communication to RT, the other Labview programs are all blocked. Howerver, the other application programs except Labview are running properly.  

    Thank you Mike.
    I am trying to transfer data through TCP/IP and Ethernet. The source is a Labview RT program in a PXI controller, and the receiver is a Labview 6.1 program in a workstation with Win2k, and here we focus on the program in the workstation. Besides the communication program, some other Labview programs are also running in the workstation in the mean time.
    The problem occurred at the beginning of the TCP connection: during the following several seconds after the communication program started, I cannot access any of the Labview programs (no response when click on any Labview program). Meanwhile, I found that the CPU usage and memory usage were in normal level and I can access any other windows application program properly. So it seems that the communication program held up all the LabVIEW programs when it started to build connection. Do you have any idea?
    Pierce

  • Capture video through TCP/IP protocol in labview

    Hi Friends, How to acquire video data using TCP/IP read? actually i am trying to control a robot using labview. This robot has WiFi card and has an ip 169.254.0.10. Robot control protocols are already burnt into blackfin processor, of the robot, example.... if i enter 8 in string control of front panel, robot will move forward, 2 is backward, 6 is right and 4 is left. Robot has camera and transmits images through tcp/ip protocols. well.... i am able to establish wifi connection between my PC nd robot and i am able to control it simply by entering corresponding numbers in string control of VI but i am not able to acquire video from the camera through TCP/IP read platelet. ( someone has created a java consol for this robot and i downloaded it from online forum. by running this consol i can control the robot and also accquire real time video) but i want to do the same using labview. please help.
    labview version: 8.6
    NI vision 8.6
    vision acquisition 2009
    robot reference
    robot control protocols: http://www.surveyor.com/SRV_protocol.html
    http://www.surveyor.com/SRV_info.html
    journal: http://www.surveyor.com/cgi-bin/robot_journal.cgi
    Forum: http://www.surveyor.com/cgi-bin/yabb2/YaBB.pl
    Attachments:
    roboimage.vi ‏39 KB

    You do realize that you are not actually reading any data, don't you? Your input to the TCP Read VI is the default which is a value of 0. So in essence you are saying read nothing. Also from reading through some of the information you pasted it appears that the video is streamed via a web browser. There simply reading from a TCP port will not accomplish what you want. Do you have the Interent Toolkit? That has an HTTP protocol implementation which may work for you though I don't think it will have what you want. It looks like you need to send an HTTP GET to retrieve the video image. You could also try using ActiveX or .Net to embed a browser window in your application.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Passing data through TCP/IP

    Hello ! My challenge is this: I have a vi that i have to use as a server and a vi as a client. In the server vi, i want to modify multiple parameters of one graph and these modifications should reflect on the client vi. How can i transmit, through TCP/IP, the modified graph to the client vi/application ? I would appreciate very much a link or a example vi that can show me exactly how such an opperation can be achieved. Thank you!

    You can make the string you pass include any data.  Here is a simple example using an XML string.
    <Graph>
    <Value>1,2,3,4,5,6</Value>
    <Visible>True<\Visible>
    </Graph>
    Send this string on the server side taking a reference to a graph and build a simple vi to generate a string containing  the data you want to send.
    At the client side you parse this string an a loop as set the appropriate property node as the tag dictates.
    I cant think of a precanned solution for this but my morning coffee has not kicked in yet.
    Paul 
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Receiving data through TCP Socket

    Hi all,
    I am trying to receive some data through TCP Socket from the
    server using XMLSocketClass. Ther server is responding with some
    data. But I can't access this data in my application. Pls tell me
    the reasons for not working of handler private function
    dataHandler(event:DataEvent):void .
    =============================================================================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.DataEvent;
    import flash.events.IOErrorEvent;
    import flash.net.XMLSocket;
    private var socket:XMLSocket;
    private var nextId:int;
    private var events:ArrayCollection = new ArrayCollection();
    public static var host:String = "34.234.43.97";
    public static var port:Number = 8002;
    public var xml:XML;
    private function connectToServer():void
    socket = new XMLSocket();
    socket.addEventListener(DataEvent.DATA, dataHandler);
    configureListeners(socket);
    socket.connect(host, port);
    //This function is Not working
    private function dataHandler(event:DataEvent):void {
    Alert.show("dataHandler: " + event.data);
    xml = new XML(event.data);
    Alert.show(xml); }
    private function
    configureListeners(dispatcher:IEventDispatcher):void {
    dispatcher.addEventListener(Event.CLOSE, closeHandler);
    dispatcher.addEventListener(Event.CONNECT, connectHandler);
    dispatcher.addEventListener(DataEvent.DATA, dataHandler);
    dispatcher.addEventListener(IOErrorEvent.IO_ERROR,
    ioErrorHandler);
    dispatcher.addEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    private function closeHandler(event:Event):void {
    trace("closeHandler: " + event);
    private function ioErrorHandler(event:IOErrorEvent):void {
    trace("ioErrorHandler: " + event);
    private function progressHandler(event:ProgressEvent):void {
    trace("progressHandler loaded:" + event.bytesLoaded + "
    total: " + event.bytesTotal);
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    /* private function dataHandler(event:DataEvent):void {
    trace("dataHandler: " + event);
    private function connectHandler(event:Event):void
    var obj:Object = new Object();
    obj.id = nextId++;
    obj.eventName="connect";
    obj.timestamp = new Date().valueOf();
    events.addItem(obj);
    private function sendData():void
    var xmlvalue:String=txtData.text.toString() ;
    var xmlfile:String =
    "<command>SndIns<parameter1>0x06</parameter1><parameter2>0x00</parameter2><parameter3>0x7 1</parameter3><parameter4>0x0F</parameter4><parameter5>0x11</parameter5><parameter6>0xFF</ parameter6></command>";
    socket.send(xmlfile);
    Alert.show(xmlfile);
    ]]>
    </mx:Script>
    <mx:HBox width="80%" horizontalAlign="center">
    <mx:TextInput id="txtData" name=""/>
    <mx:Button id="btnConnect" label="Connect"
    click="connectToServer();btnConnect.enabled = false"/>
    <mx:Button id="btnSend" label="Send Data"
    click="sendData()"/>
    <!--<mx:Button label="getData" id="btnGet"
    click="getData()"/>-->
    </mx:HBox>
    <mx:HBox x="10" y="30" width="100%">
    <mx:DataGrid width="80%" height="100%"
    dataProvider="{xml}">
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn headerText="Event Name"
    dataField="eventName"/>
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>
    </mx:HBox>
    </mx:Application>

    Hi all,
    I am trying to receive some data through TCP Socket from the
    server using XMLSocketClass. Ther server is responding with some
    data. But I can't access this data in my application. Pls tell me
    the reasons for not working of handler private function
    dataHandler(event:DataEvent):void .
    =============================================================================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.DataEvent;
    import flash.events.IOErrorEvent;
    import flash.net.XMLSocket;
    private var socket:XMLSocket;
    private var nextId:int;
    private var events:ArrayCollection = new ArrayCollection();
    public static var host:String = "34.234.43.97";
    public static var port:Number = 8002;
    public var xml:XML;
    private function connectToServer():void
    socket = new XMLSocket();
    socket.addEventListener(DataEvent.DATA, dataHandler);
    configureListeners(socket);
    socket.connect(host, port);
    //This function is Not working
    private function dataHandler(event:DataEvent):void {
    Alert.show("dataHandler: " + event.data);
    xml = new XML(event.data);
    Alert.show(xml); }
    private function
    configureListeners(dispatcher:IEventDispatcher):void {
    dispatcher.addEventListener(Event.CLOSE, closeHandler);
    dispatcher.addEventListener(Event.CONNECT, connectHandler);
    dispatcher.addEventListener(DataEvent.DATA, dataHandler);
    dispatcher.addEventListener(IOErrorEvent.IO_ERROR,
    ioErrorHandler);
    dispatcher.addEventListener(ProgressEvent.PROGRESS,
    progressHandler);
    dispatcher.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    private function closeHandler(event:Event):void {
    trace("closeHandler: " + event);
    private function ioErrorHandler(event:IOErrorEvent):void {
    trace("ioErrorHandler: " + event);
    private function progressHandler(event:ProgressEvent):void {
    trace("progressHandler loaded:" + event.bytesLoaded + "
    total: " + event.bytesTotal);
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    /* private function dataHandler(event:DataEvent):void {
    trace("dataHandler: " + event);
    private function connectHandler(event:Event):void
    var obj:Object = new Object();
    obj.id = nextId++;
    obj.eventName="connect";
    obj.timestamp = new Date().valueOf();
    events.addItem(obj);
    private function sendData():void
    var xmlvalue:String=txtData.text.toString() ;
    var xmlfile:String =
    "<command>SndIns<parameter1>0x06</parameter1><parameter2>0x00</parameter2><parameter3>0x7 1</parameter3><parameter4>0x0F</parameter4><parameter5>0x11</parameter5><parameter6>0xFF</ parameter6></command>";
    socket.send(xmlfile);
    Alert.show(xmlfile);
    ]]>
    </mx:Script>
    <mx:HBox width="80%" horizontalAlign="center">
    <mx:TextInput id="txtData" name=""/>
    <mx:Button id="btnConnect" label="Connect"
    click="connectToServer();btnConnect.enabled = false"/>
    <mx:Button id="btnSend" label="Send Data"
    click="sendData()"/>
    <!--<mx:Button label="getData" id="btnGet"
    click="getData()"/>-->
    </mx:HBox>
    <mx:HBox x="10" y="30" width="100%">
    <mx:DataGrid width="80%" height="100%"
    dataProvider="{xml}">
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn headerText="Event Name"
    dataField="eventName"/>
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>
    </mx:HBox>
    </mx:Application>

  • Is it possible to acquire string data from PLC through LabVIEW?

    Hi All,
    I am using Labview 8.6 and modbus library to communicate with a Allen Bradley PLC and exchange data. the screenshot of library and its usage is attached. the operations possible right now with this library are r/w of bits and bytes. Now there is a requirement to transfer the log table inside PLC to the labview. Using the available provisions in the library, there is no method to read the PLC memory which stores the log table. So I am left with the option of copying the log table memory into input registers and reading input registes into Labview, continuing until 128K of log data is read. But this doesnt really appear neat. Is there any other way of transferring Log table data into Labview?
    Is there any other forum in which I can ask this question?
    Thanks.
    Attachments:
    Modbus Library.png ‏71 KB

    I had a project to communicate with omron plc with opc server.
     ni opc server configration window,you can config the tag with storage address you wanted.then you can connect your labview application to plc through opc server.
    by this way, i can read and write most of the data type,including string.
    your labview application act as the client for the opc server.
    sorry for my poor english.

  • Data access in Teststand/LabVIEW through OPC connection

    We are using TestStand 2.0 and LabVIEW6.2 and following problem occurs when accessing the datas from UUT through OPC.
    For the first UUT i get the measurement datas but starting the next UUT causes a system hang up. The corresponding LabVIEW VI stops at the connect to the OPC Server it doesn't read the selected item. Only with LabVIEW there is no problem launching OPC data access for multiple times. Does anyone have expierence with this configuration: TestStand-LabVIEW-OPC?

    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    This toolkit has free deployment licence.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • Communicate a PC with GPRS module through TCP/IP

     I want to exchange data between a PC and a GPRS module.
    One problem i have is that my PC is on a local network and the IP my computer has, is the local IP. The server has a different IP through we connect to the internet. Which IP I must use and how?
    I know almost nothing about TCP/IP (i have use the Labview TCP/IP functions successfully at our local network) and i would like to ask for informations. I know it is a little irrelevant with Labview, but as there are many users who uses GPRS modules, i would like informations about how to connect a GPRS module through TCP/IP. Simple examples will be the best.
    Any informations, links, recommended books, will be highly appreciated.
    Thanks

    Pnt wrote:
    Thanks for answering Rolf.
    To be more clear : i have a GSM/GPRS module (like the well known Wavecom's modules (or Falcom, Telit...)). They accept AT commands and they have a D-sub-9 serial connector. They connect to serial port of the PC. I want to connect to the internet with TCP/IP (by sending AT commands). But i can not find any manual..! The module have some commands for TCP/IP but no explanation or examples. Those modems have no drivers, they accept only AT commands.
    For example i have to set APN and IP Address which i don't understant what i should write to. It is independant of Labview but i do not know where to look for information.
    If someone knows anything similar please reply.
    In that case what I wrote applies fully to you. You do not want to communicate with the modem from LabVIEW itself. You want to use TCP/IP and that means using the Windows socket library that the LabVIEW TCP/IP functions access. The modem then needs to be installed in the Windows system as a dialup adapter. There is really no other way to use a modem, GPRS or not, as TCP/IP communication path. Trying to implement TCP/IP,SLIP/PPP and all that in LabVIEW would be a many man year project with lots of problems and the likely chance that it will never fully work.
    So get your modem to work under Windows so that you can use your browser to view some internet pages and once that works you can also use the LabVIEW TCP/IP functions to communicate with whatever is there.
    Direct communication to the modem through AT commands would only make sense if you wanted to access the SMS facilities in that modem instead. Even that is not exactly trivial as I can attest to, especially if you want to make it work with more than one GSM modem type.
    Your modem manufacturer should be able to give you the necessary modem initialisation string to put your modem into the right GPRS mode and your mobile phone network provider should be able to tell you the dialing number to fill in the dialup configuration. No need to do anything else!
    As Wiebe explained rasdial.exe would then make it possible to connect to the internet under LabVIEW control.
    All in all it's doable but I have spent many hours to get it working last time I did. A few of those were spent waiting on the line for the support persons of the mobile network provider to answer my calls and then playing the ping pong game to get a person that actually knows what a computer is and that it's actually possible to connect a modem to it to use their services.
    Rolf Kalbermatter
    Message Edited by rolfk on 01-09-2008 06:06 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Need help : Reading from DAQ through TCP/IP ?!!

    Hello
    I have two machines running labview connected to a network. Basically,
    I want to read data from a temperature sensor through a DAQ card
    from one machine, and be able to plot the data in a chart in the
    other machine. I'm trying to use TCP/IP feature to do that but it's not
    working.
    There is a VI in the tcp.lib "simple data client.vi " and
    "simple data server.vi" that does the same thing except that
    the data are of type double generated from a sine function and
    a random number generator. So i tried to do the same but since
    the data read from the DAQ has a thick brown line (not sure what
    type) the task was not easy. In the server part i tried to broadcast
    3 things through (tcp write.vi): The type of the data, the l
    ength of the
    string, and the data itself. On the client side i read (tcp read.vi)
    these things and plot the data. But i'm not getting any output on the chart.
    I had to use (Type Cast), (flatten to string) and (unfatten from string)
    in order to get the right wiring. Both VIs run but there is no output
    on the chart.
    I know it's hard to explain in words, but if anyone is interested i can
    give more detai or send the vis to him to look at them. They seem very simple and
    straight forward but i don't know why they don't work.
    Appreciate any help.
    Thanks
    Sami

    Try running the "Remote Device Access Server" (RDA) on hte machine that has the DAQ card in it. You'll find it in NI-DAQ folder under National Instruments in your Start Menu. (guessing you're running Windows here?)
    With this running, you can start MAX on any machine on the network and access and configure the DAQ cards in the remote machine and program an applicaiton just as if the DAQ cards were local. You'll need to know either the remote machines IP address or network name.
    I've used it quite a bit and have never had a problem. The Help inside MAX gives good details on how to set it up and use it.
    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.

  • Listening multipe devices through TCP/IP Listener

    Hello
    How can I listen multiple devices at the same port on TCP/IP. for example there are 10 to 100 devices that sends their data each after 5 secs. How can I listen to all of them at once? I designed the logic but when I am trying to send the data to the port (say 6060) from 2 different window of hyperterminal, my labview progmram is listening only to that hyperterminal which send its data first. Whereas when sending the data from simultaneously through both hyperterminal windows, I am able to read all on Port Peeker.
    Also when the connection is closed by the device, program stops listening again to the device when the device makes the connection again.
    I have attached my prog.
    Please help me out
    Attachments:
    example prog.vi ‏25 KB

    Take a look at this thread.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Flatten to string for sending through TCP/IP contains CRLF characters

    Hi,
    I'm using a 'flatten to string' function to send some data through TCP/IP.
    To minimise delays, I use the CRLF mode so that the receive function returns as soon as it receives a CRLF sequence (termination character).
    I noted that every now and then only part of the data is transmitted because the flattened string itself sometimes (albeit rarely) contains CRLF characters.
    I was wondering if this is correct behaviour, or if I'm missing something.I expected flatten to string to produce pure ASCII strings without special characters.
    Now I first have to scan the string and replace possible CRLF characters by some known series of characters and do the opposite on the receiving side, and hope that this particular sequence never occurs.
    Any comment is appreciated,
    Manu
    Certified LabVIEW Developer (CLD)
    Solved!
    Go to Solution.

    mkdieric wrote:
    Hi,
    thanks for the feedback. I'll use the way you describe, by first sending the number of characters to expect.
    Manu
    Make sure you are consistent with the format for the number of butes. That is, always use an 8, 16 or 32 bit value. Which one you use is up to you and will depend on the size of your data. A 32 bit value is the most common size to use. Anyway what I am basically saying is that if you are inconsistent with what size number you use for the size you will get inconsistent results when you read the data since you will be interpretting the size incorrectly some of the time.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • How do I read/write many matrices through TCP server?

    I'm trying to modify the simple data client and the simple data server program in example in LabVIEW6i. How do I send a 2 dimension nummeric matrix? and also how do I send many numeric matrices at a time?

    The problem here is that at the receiving end, one cannot know how many
    bytes to read before unflattenning into the datatype.
    A method that works for *any* datatype (and any data transfer mechanism):
    Flatten the data to string.
    Flatten again the string to string; this adds a string lenght (U32) header
    to the string.
    Send the string.
    When receiving data, first read 4 bytes and convert to U32.
    Read this number of bytes.
    Typecast the string to the expected datatype.
    Jean-Pierre Drolet
    ----- Message d'origine -----
    De : "Mark Hanning-Lee"
    Groupes de discussion : comp.lang.labview
    Envoye : 6 septembre, 2001 22:21
    Objet : Re: How do I read/write many matrices through TCP server?
    > Lab Viewer wrote:
    > >
    > > Hi Irene,
    > > Re
    garding that example, probably you are wondering how can you pass a
    > > 2D array to Type Cast.VI (it accept only 1D array). The answer is
    > > Reshape Array.VI. Use this VI to transform your multidimensional array
    > > in a 1D array (after that use Type Cast.VI to transform it in a
    > > string). Also, you can use Array To Spreadsheet String.VI in order to
    > > obtain a string to send via TCP, but in this case the string is
    > > longer.
    >
    > Or better, wire the 2D array to the Flatten to String function, which
    > accepts any data type.
    >
    > When you receive the data, wire the string into the Unflatten from
    > String function. You'll need to wire a 2D array of the same
    > representation into the type input of that function.
    >
    > Mark
    LabVIEW, C'est LabVIEW

  • Flexiable Communication through TCP/IP or RS-485 using VISA

    I am trying to create a flexiable distributed application that can communicate over RS-485 or TCP/IP visa.  The application has a basic Host / Client(Listener) type of Architecture.  What I would like to be able to do is simply to change my Visa resource name from [Com4] to [TCP::192.168.1.10::3000::socket] and seemlessly change communication protocals.  The problem I am running into is creating a flexiable visa listener.  I tried using the visa events vi's, but I don't know what the syntax of the visa string should be.  Any thoughts or clarifing questions would be apprecaited.

    Hi,
    I am using Compact FieldPoint 2120 with analog I/O to control a robot arm and i am trying to interface a third party device such as a mobile phone (using Java) to program and control the rotation of each joint of the robot arm. I understand this process can be done through TCP/IP or usign DSC software.
    For example:
    Hosting on TCP port (?) and use the syntax
    [newline]::[joint number]::[degree of freedom]::[set to angle in degrees]::
    [arm number] = an ascii value 1 or 2 to determine which arm.
    [joint number] = an ascii number value.
    [degree of freedom] = ascii value x,y or z.
    [set to angle in degrees] = ascii value between 0 and 360.
    The true is that i have no clue how to set up the interface steps and i will appreciate if someone can suggest an easy way of doing the above steps and which software to use. I am currently using LabVIEW 8.20 for building the control model for the robot arm.
    Many thanks
    Bakari

Maybe you are looking for

  • Is it possible to split the same document, Word-style?

    I don't know what else to call it. In Word, it was "split." I often edit two parts of the same document simultaneously, but in Pages 08, I haven't been able to figure this out. "Two Up" is not what I'm looking for. For example, what I would do in Wor

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box) I wrote a stored procedure to get the da

  • Annual Maintenance Contract for Equipment Pieces in SAP

    Hi All, I am aware of the standard SAP function of Service Procurement. However my requirement is as follows:- 1.I want to create a 'F' Account Assigned service Purchase order (Annual Maintenance Contract) with a option in the PO screen to enter equi

  • Cannot start EAS component HTTP:101216 AppManServlet "eas"

    Hi all, I have this problem. When start the EAS in the AppsServer, i see this error: ####<Aug 24, 2011 5:03:29 PM CLT> <Error> <Deployer> <g500603sv552.cencosud.corp> <EssbaseAdminServices0> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.De

  • Since upgrading to IOS 8 , Facetime connection trouble

    Hi all Sorry but another complaint. My GF and I did upgrade to IOS 8. Since then, we have difficulty to communicate with each others on FT. She has a 5s, I have a 6 * Facetime doesnt react on my phone when she ring me (phone dont wake up but it does