Compact Fieldpoint TCP/IP remote port

i am working on cFP 2120 / cFP 2020 and for TCP/IP connection i have to use remote port number. so can all you guide me that what remote port nu. or service name i have to use.
waiting for your reply
Prashant Soni
LabVIEW Engineer

The port number can be whatever you want it to be, as long as the server and the client have the same one specified. Generally, you have a server publishing data to a port and some client reading data on that port. I believe there is a TCP communication example in the Example Finder, just search for TCP and look for TCP Communication.lvproj. It's actually set up with a real-time target as well.
Good luck!
Misha

Similar Messages

  • Selecting and running vi's on a compact FieldPoint 2120 via remote panel

    Hi,
      I'm trying to provide two html files to run two different vi's on a compact fieldpoint. I can run either of them by setting them as 'run as startup' in the Build Specification which creates the startup.rtexe program on the controller but the only way I can run two different vi's on the fieldpoint is by renaming the files in the startup directory before calling the html file (and that doesn't work that well). Is there a better process to allow different programs to be run on the compact fieldpoint via the remote panel/html calls?
    thanks

    Hey AgB2,
    I think the best way to get multiple HTMLs linked to their respective VIs would be to set your VIs as the Startup VIs when you build the EXE to deploy to your Compact Fieldpoint. A KnowledgeBase article describing the steps to do this can be found here:
    http://digital.ni.com/public.nsf/allkb/466EA9705F9​8E07786257687005E081B?OpenDocument
    Next, all you'll need to do to get your two HTML files to run two different VIs will be these steps:
    1.Build the HTML for each VI you want to control
    2. Enable the WebServer for your cFP
    3. FTP your HTML files to the www folder on your cFP
    Once you restart the cFP, your EXE will run at startup with both VIs and you can access them by navigating to http://<ip address>/<vi name>.html. Just to double check, I did this on my computer and had no problem loading both HTMLs or taking control of both VIs at the same time.
    Logan H
    National Instruments
    Applications Engineer

  • Ports used by Compact Fieldpoint 2120?

    I have a Compact Fieldpoint 2120 behind a Linksys WRT54G router.  What ports do I need to forward for MAX and Labview to see the router?
    I have 20-21, 80, and 44525 forwarded to the Fieldpoint for both TCP and UDP.  The ports listed HERE don't look applicable.

    Hi Gizmaa,
    Thank you for contacting National Instruments.  From the information you have provided here, it looks like you are unable to see your router and Fieldpoint in MAX.  If this is the case, you should not be seeing your router in MAX, but I can suggest some things to look into to hopefully see your cFP-2120. 
    From the article that you linked, the port that is listed within the Lookout/Logos Communication document is what is used for communication between the cFP device and the host PC.  If you are enabling access to ports for NI hardware and software this might be something to consider.  Aanother suggestion when not being able to locate your device in MAX, is to ensure that your anti-virus software or firewall configuration is not blocking the connection.  I would ensure that this is not the case by temporarily disabling these programs and attempting to locate your hardware.  If this is the case, you can then add the National Instruments software you are using as exceptions to both the anti-virus software and firewall.
    I hope this helps!  Let me know if there is anything else I can help with or clarify.  Have a great day!
    Jason W.
    National Instruments
    Applications Engineer

  • Wrong remote port number with TCP listener

    Hi
    I am sending data from a dsp with a network card over TCP/IP to my pc running labview7express. The data is received correctly, I use a 'TCP create listener' followed by a 'TCP wait on listener' to establish the connection, followed by a while loop with 'TCP read' in it.
    The port returned by 'TCP create listener' is correct (1001), but somehow 'TCP wait on listener' returns 57345 as remote port!?
    Also when using another port eg 1003 it still returns 57345..
    Anyone knows how this erroneous portnumber is achieved?

    stino wrote:
    > Hi
    > I am sending data from a dsp with a network card over TCP/IP to my pc
    > running labview7express. The data is received correctly, I use a 'TCP
    > create listener' followed by a 'TCP wait on listener' to establish the
    > connection, followed by a while loop with 'TCP read' in it.
    > The port returned by 'TCP create listener' is correct (1001), but
    > somehow 'TCP wait on listener' returns 57345 as remote port!?
    > Also when using another port eg 1003 it still returns 57345..
    > Anyone knows how this erroneous portnumber is achieved?
    Nothing wrong with that. A TCP/IP connection has ALWAYS two connection
    ends with each of them using a port number. 1001 is the port of the
    local listen socket (which needs to be fixed so that clients can connect
    to a know
    n server) in your LabVIEW application. 57345 is the port number
    used by your software running on your DSP board. A client usually has no
    fixed port number but allocates any port number not already in use. When
    the listen socket receives a connection request it connects and passes
    the connection with the local port 1001 and the remote port 57345
    through TCP Wait On Listener to your application. Since you set up the
    Listen Socket in Create Listener you already know its port number so TCP
    Wait on Listener does only return the port number of the remote
    connection end of your connection.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • WebServer on a Compact FieldPoint

    Hi,
    In my project I make a lot of acquisitions of sensors, and I wanna do this with a Compact FieldPoint, and publish those measures on the web for controling from a remote panel on the web. But using the standart way of the remote control I had a problem. When I do 1 or 2 measures there´s no problem, but when there are more than 3 sensors being read the web page comes very slowly and after a short time MAX says that the CFp is disconnected. Is there anyone who can help me on doing this?
    Thanks.
    Vinícius Silva Lima.

    Hi
    One question:
    - Your program is running in cFP?
    Because all processcis dedicateds to the measurement of sensors, not providing time to make the communication with ethernet port.
    Try give a time that task and see the result.
    Regards
    Murilo Oliveira

  • Write JPEG file error on Compact FieldPoint

    Hello!
    I'm using Compact FieldPoint 2120 and LabVIEW 8.2. I'm trying to capture an image of a front panel and to save it into Compact FieldPoint using the "Write JPEG file". Unfortunately, it gives the error 1.
    I indicated c:\<jpeg_file_name.jpg> for the path.
    I switched the target to "My computer" and the code works correctly.
    Is that a problem of the path or VI Write JPEG file cannot be impemented on Real-Time target, such as Compact FieldPoint?
    Thank you!

    Well, that's true that Real-Time does not support Write JPEG file (this is the first problem). I'm using now Write BMP file insteed. The second problem, verified also in my practice, is that the Front Panel does not exist too on Compact FieldPoint.
    My aim is to develop web-interface to deal with the Compact FieldPoint from any computer. That is true that it has its own built-in Web-Server, but it doesn't have a script-executive environement. My idea was to create a custom "web" server running in parallel with the principal Web-Server to execute VI scripts.
    For that purpose I used TCP Listen -> TCP Read -> TCP Write runing on the port 82. I can send from any browser the request http://<IP address>/<script.vi>?<params> and my custom server parses the request and executes the <script.vi>. Then to avoid the problems with HTTP protocol I write the redirecting request to the port 82 like <meta http-equiv="Refresh" content="0; URL=<result_page.html">. So, It works.
    The result_page.html must represent the acquired data from the Compact FieldPoint channels. So, I execute a requested script to show the specified data into Graph waveform and then to take a snapshot and to save to the Compact FieldPoint. Then the result_page.html contains the link to the saved snapshot picture.
    Once executing the requested VI script, the Invoke Node gives the error 1003 stating that "the VI is broken etc...". I think that is because of the script attempts to take a snapshot of a panel which doesn't exist...
    Maybe somebody has an idea how to view the acquired data in browser ?
    Message Edited by Mons on 07-10-2008 06:06 AM

  • Compact FieldPoint and Shared Variables

    Hi Real-Time community,
    let me first to describe my problem: I have a project running perfectly on Windows XP machine. The Real-Time Target (compact FieldPoint) is acquiring a data from different sensors and sends them via Shared Variables to the host machine (WinXP). Now this host application has to migrate to Windows 7 machine, which second Ethernet port is also connected to the compact FieldPoint's network. I have created an installer, it run on Win 7 computer but I I see no data there. Shared Variables are standart network-published. What else I need to configure to get Shared Variables visible over there? Thank you in advance for any helpful hint.
    Armen

    Hi,
    we do have the full edition of Signal Express, this is not the problem. We are already logging the information comming from our cFP-1808 : TC-120 and AI-111 module. The problem is that the AI-111 module is a 4 to 20mA module, and we have thermocouple connect to it. We want to read temperature in Signal Express instead of mA.
    There's a option in MAX where you can add scaling to a cFP module. This scaling work in MAX, in the OPC server of the cFP, but not in Signal Express. In Signal Express, you still read the mA value.
    I know we can add a formula in Signal Express, but we don't want to do that, when there is an other option in MAX.
    Thanks

  • Compact FieldPoint without LabView RT

    When using Compact FieldPoint, how necessary is it
    to use LabView RT as opposed to just using LabView?

    Currently, the only available controllers for Compact FieldPoint are the cFP-20XX series LabVIEW RT controllers. If you do not use LabVIEW RT, you do not take advantage of their full capabilities. However, the controllers publish all of their data items over the network just like the FieldPoint Ethernet Network Modules (FP-160X series) do. So you can use them as regular ethernet network modules and access them without LabVIEW RT, but you do not get to take advantage of their serial ports or embedded control abilities.
    Regards,
    Aaron

  • Internet connection of Compact Fieldpoint controller

    Hi all, I have this Compact Fieldpoint controller of cFP-2120, I need to make it stand-alone & also to be able to get my data directly from internet. Is there anyone who know's how to do it? Thanks=) For the controller's mannual I came across this sentence of "In order to configure the cFP-21xx, it must reside on the same subnet as the host PC. If you want to use the FP-21xx on a subnet other than the one the host PC is on, first connect and configure it on the same subnet as the host PC, then reassign a static IP address for the subnet where you want it to be
    and physically move it to the other subnet." Do you all know what does it mean? Is this feature for stnad-alone or for internet connection?=)

    Hi!
       You seem a little confused about networks, am I right?
       The thing is that to configure your cFP, it must reside on the same subnet as your PC.  I make an example: you can assign your PC a static IP address, example 192.168.168.1, subnet mask 255.255.255.0, then your cFP-2120 will have to be inside this subnet, that is 192.168.168.2 to 192.168.168.254.   If you connect your PC to cFP-2120 through a cross ethernet cable, you can set your PC IP address to 192.168.168.1 and cFP-2120 to 192.168.168.2.   With this gear, you configure, program, and test your cFP application.
       If I understood your needs, you need to place the cFP-2120 remotely, and collect data over Internet, isn't that?  If so, one way for doing this is activating a web server on the cFP-2120, for which you can find examples.
       The next step is to be able to view your cFP-2120 remotely, because of course you can't keep IP addresses you used for configuring cFP-2120.  When placed remotely, cFP-2120 will reside on a different LAN, I suppose, and you need to access it from your PC.  Unfortunately, I have no experience on this, but I think that once you configure cFP-2120, create application, create the web server, then you can turn to remoting cFP-2120.
       Some useful application notes are here, in particular take a look at links at the bottom of the page.
      Hope this helps!
    graziano

  • Remote port forwarding to a local port

    I'm not sure if this is possible with verizon routers, but I know some routers will allow you to forward a remote port to a local port.
    can this be done with the verizon MI424WR-GEN3I router?

    viafax999 wrote:
    andrewjs18 wrote:
    anyhow, I'm trying to get port 1194 to work without redoing a bunch of configs because it appears that verizon is blocking port 1194 (openvpn), so what I was trying to accomplish was using 1195 as an external port which would then get forwarded to port 1194 internally.
    when I port scan the IP, I get this: Port 1195 is closed on 173.62.X.X.
    Verizon blocks NO ports
    Do you have a listern on port 1194 at 192.168.1.31  ?
    Source port should be Any
    You need TCP for 1194 also TcpAny -> 1194
    Edit is only an option once you've created a rule
    You are trying to create a VPN tunnel to one of your internal devices?
    Edit
    I see you don't need TCP, it's eithe UDP or TCP
    I got it working.
    I think I was forwarding tcp by mistake rather than udp for openvpn.
    thanks

  • AirPort Extreme FTP port is open when doing Remote Port Scan

    I have a question regarding the AirPort Extreme Base stations running firmware 7.7.3.  Currently the AirPort is not port-mapping any services, however when I do a remote port scan of that particular AirPort I have noticed some TCP ports are open from the outside, such as FTP port 21, RTSP port 554 and ARCP port 7070. Why is that? I thought the AEBS blocks these services by default, unless otherwise configured to be open.  Is this a vulnerability with the firmware?

    TCP and UDP ports used by Apple software products - Apple Support
    Your 554 and 7070 may be open due to links to itunes store. It is not a big vulnerability since it is for streaming.
    Port 21 is more a concern.. It is used internally by the AE apparently.. but I really do not know why. FTP as a protocol is not offered to the outside world. so you cannot connect to it and get info for files.. even if you have a hard disk plugged in. Why it should be open to the outside world I am not sure.
    Do you have BTMM turned on? It may be involved with remote services.
    If you are concerned it is not hard to fix.. port map those ports to a non-existent client in the network.. however your itunes store connection might stop working as well as some other things... that need those ports open.. There is also a good chance you cannot map them when they are used.. so do a factory reset and before you setup other applications or BTMM do the port map and see what happens.
    You can also post the details to apple directly but I honestly doubt you are facing any big issues here.

  • Is there a way to open a remote port programmatically in java code

    Hi,
    I'm trying to open a remote port which is closed by the windows firewall in a java code. I want to know weather this is possible?
    If yes, tell me a way to do this?
    Thanks.
    Buddhika

    Because, that port should be kept closed and I want to open it when i need it in runtime. Also i have full privileges to access that remote machine. So i >want to change the firewall setting while application running.Can't you have a application running on the remote PC that makes use of two ports, and Admin port and a General port?
    The Admin port will be created on startup and use some authentation to make sure that a the application that connects to it will have admin rights
    Use that application to tell the "Server" to open and close the General port.

  • How to install "Compact FieldPoint Embedded Data Logger Example Program" on cfp2200

    i finally managed to get max to see the devices of my cfp2200.
    (i had to disable every unused networkadapter due to overlapping subnets)
    now i want to deploy the example programm "Compact FieldPoint Embedded Data Logger Example Program"
    http://zone.ni.com/devzone/cda/epd/p/id/3221
    i therefor have tried to install the runtime 8.5 on the target. however this is not possble, because i have labview 2010 installed and it gives the message:
    "the host has a newer version available"
    ok. runtime 2010 should work to - not?
    i open a new project - import my *.iak-file and drag-n-drop the content of "cfp_data_logger_source.zip" onto the target.
    now if i open the file cFPEmbeddedDataLogger.vi the run-button is cracked and by pressing it an errorlist opens.
    the errors say stuff like:
    target does not support this function/subvi
    and
    vi has been modified with a different applicationinstance
    please help me to make this work.
    i know that it is possible to get the programm to run on the cfp2200 even dough it is primaly designed for the   cFP-2000, cFP-2010, cFP-2020, cFP-2100, cFP-2110,
    cFP-2120.
    big THANX already for you help !!!!!

    Hi, thanks for your help=) I've manage to drag the file into my targeted controller. I am now doing the setting of the data logger program, but there's one thing I'm unsure of. May I know what does it mean by the cFP controller clock? http://zone.ni.com/devzone/cda/tut/p/id/3219 . Thanks. =)
    Log On Startup
     Start logging when the controller powers up.
    Start Log Time
     The time to start logging.
    Stop Log Time
    The time to stop logging.
    Note: Make sure the clock is set correctly on the controller. The settings described above refer to the cFP controller clock.
    Log Rate
    The number of milliseconds to wait between each acquisition.
    FP Drive For Data Files
    The drive to store the log files in. The C: drive is the default for all cFP controllers. If you want to save to the removable CompactFlash drive on the cFP controller, select the D: drive.
    Digital "Pause" Line
    The Digital Input item to use as a "pause" button for data logging. Logging pauses when the signal is high. When the signal goes low again, a new file is created and logging continues if appropriate.
    Note: Use only Digital Input items for the Digital "Pause" Line.
    Tip: You can use DIP Switch 3 to block the current data from being logged. This switch works the same way as the Digital "Pause" line.
    Logging Session Tag
    Is stamped on the spreadsheet that the data logger creates.

  • TCP/IP Printer ports - HELP PLEASE

    I have a large inkjet printer that I print my graphic design to... for years it has been set up and printing just fine through an Actiontec M1424-WR-rev.D router. No setting were ever changed in the router, it just worked great right out of the box (the Verizon guys installed it). I had a small router with the cable company, but when I got the new router from Verozon the install guy said i didn't need it any more, and moved the ethernet plugs over to the new router. Everything worked fine for years... until the wireless functions started to fail (I don't use the wireless for the office, just the family), so, Verizon told me I had to replace it with a new M1242WR - rev. I router. I transfered all the cables over the the new router in exactly the same positions the were in on the old router. Now my printing software (RIP software) can't see the printer when it's routed through the FiOS router, but If I move the ethernet cable from the router and plug it into the back of my computer, which disconnects my computer from the network and gives me a dedicated ethernet connection to the printer... everything works fine. It's just when I try and run it through the router that my computer and printer can't talk to each other.
    My RIP software that drives the printer demands a STATIC IP address set up in a TCP/IP printing port, and the printer is set up with the corresponding static IP address (this is unavoidable). Images of the setup screens below...
    The RIP software setup is here... very simple:
    Now, on the actual printer, the IP address matches (192.168.0.110), the subnet masks are 255.255.255.0, and the default gateway is set at 192-168.0.1.
    This is all the info I have, and all I know is that it worked fine with no setup on the old router, and does NOT work on the new router... it used to be plug-n-play, now it's plug-n-stop.
    Again, when the ethernet cable run directly from the computer it drives the printer just fine, connected to the router first and it failes completely.... HELP!!!!!!!!!!
    Like I said... this has worked great for years, I haven't changed a thing on the printer or computer... the only change is the new router... I'm out of production until I figure this out (
    Cabe...

    The revision I router out of the box uses the following default IP addresses
    192.168.1.x IP Address
    255.255.255.0 Subnet
    192.168.1.1 Default gateway
    I notice you aren't using that IP Address scheme at all in the screen shots.  Did you change the Verizon router internal settings to use the 0.1 ip scheme? 

  • How to check weather a remote port is open or closed by a firewall

    Hi,
    Need to check weather a remote port is open or closed by a firewall. can i use Java Socket class to do that?
    Is there any proper way?

    In general, there is no way to determine anything about the status of a firewall from the outside (unless you know one is running and you want to verify it's functioning correctly).
    When trying to connect to a socket, you might get a time-out, which means either the firewall is silently dropping packets or the server is down or too busy or that there is a network problem. Or your connection might be refused, which means either the firewall has denied your request or the server isn't listening on the port you specified.
    In most cases, you should only be interested in successful connections and not try to guess too much as to the cause of unsuccessful ones.

Maybe you are looking for

  • Printing a PDF from an iFolio

    Has anyone ever created an iFolio that has a PDF that you need to print? We can get the iFolio to open the PDF, but the PDF viewer that is part of the viewer does not appear to have any print capabilities.

  • How to show tracking bubbles in pages for Pad

    I've just received a document that has been corrected in Pages with track changes on, but when I open it in pages on the iPad, I can see the corrections but I can't see the tracking bubbles to accept or reject the changes- How do I turn them on? Trac

  • Error Message on Launch

    After installing the latest version of AE (10.0.1) on my Mac Pro (OS 10.6.6 [a totally clean erase and install this week], 32g RAM, 2 x 3.2 GHz Quad-Core Intel Xeons with 6T of internal disk space), upon launching the software, I get this error messa

  • Apply License for Adobe Interactive Forms

    Hello Experts,                         I Have installed and configured Adobe Interactive Forms using temperory license                         Can anyone tell me under which catagory do I need to apply for Permanent License                         In

  • Possible fix for "ContentAgent not found"

    Ever since I upgraded to Leopard, my distributed processing setup has rarely worked. I tried most, if not all the suggestions found here in the forums (forii?) to no avail. With one last journey through the zillions of log files, I stumbled on this e