Can VISA create a TCP listener?

I know the TCP primitives allow me to create a TCP listener, but can VISA do the same thing?  I have an application which will communicate over serial or TCP.  I need to be able to programmatically switch between the two, and so would like to use the same VISA resource wire in my application.  This works fine when I'm the one creating the connection, but with the VISA resource I have no way of receiving a connection (i.e. through a listener).  Is there a better way to do this or am I stuck using both a VISA resource wire and a TCP reference wire?
Thanks for your thoughts,
Robert C. Mortensen
Certified LabVIEW Architect
Certified LabVIEW Embedded Systems Developer
Endigit

I'm not trying to connect to an instrument.  I want another computer to connect to me.
For my application, I don't want to use the VISA reference for both serial and Ethernet at the same time.  I will be using one or the other.  The setup code will obviously have to be different depending on which I'm using, but since all the messages are the same strings for either interface the rest of the code can be the same.  This all works great when I'm the one connecting to the other computer (which I have to do as well) but won't work when I'm the listener, because VISA doesn't seem to be able to create a listener.
Robert Mortensen
Software Engineer
National Instruments

Similar Messages

  • How can I create a generic listener?

    So I 'm coding a Flash animation where there are two streams
    of MovieClip objects scrolling both right to left on the top
    portion of the Stage and left to right on the bottom portion of the
    Stage. Each object is attached the Stage using attachMovie() and
    after they cross the Stage they are removed. I want to be able to
    attach some kind of listener to each object so they are can respond
    to onRollOver() and onPress(). Does anyone have any tips?
    Thanks,
    Mike

    you can add one listener to many movieclips, but that can't
    be used to define actions related to a movieclip that doesn't exist
    when the listener is created. you'd have to recreate the listener
    each time a movieclip is created/attached.
    why not define those handlers for movieclips as they are
    attached?

  • ODBC with TCPS listener

    Hi, I am using an Oracle 9i server with a TCPS (SSL-encrypted TCP/IP) listener. I can't seem to get ODBC clients working with this listener.
    I can successfully use this TCPS listener with all of the regular Oracle clients (SQLplus, Enterprise Mgr, etc.)
    I can successfully use ODBC with the TCP (non-encrypted) listener.
    When I try to connect with ODBC over TCPS (e.g. to import data into Excel), the connection freezes. Has anybody else ever successfully used the encrypted listener in this way?
    Here are my particulars:
    Database server: 9.2.0.4 on Linux
    Database client: 9.2.0.4 (both Oracle Client and ODBC driver) on Windows XP
    Any help appreciated!!
    --Andy Stevens
    New York, NY

    yes the TCPS listener is part of Oracle Advanced Security.
    --andy                                                                                                                                                                                           

  • How can i create an apple id without using a visa or credit card

    how can i create an apple id without using a visa or credit card

    Follow the directions here, EXACTLY:
    http://support.apple.com/kb/ht2534

  • Error in Create TCP Listener - Linux

    Hi,
    When using the Create TCP Listener function in Linux Red Hat 9.0, I get an error (ill-formet net address). What is strange is that I get this error only when running the VI (built as an executable) as a regular user. When I run it as root, no problem.
    Any idea?
    Thanks,
    Alex

    Hello Alex,
    We've seen this issue before with Linux users (for example
    http://forums.ni.com/ni/board/message?board.id=170&message.id=63457&requireLogin=False),
    it seems as though you'll have to change some permissions in Linux if
    you want to use TCP when not logged in as root.
    Hope it helps-
    Travis M
    LabVIEW R&D
    National Instruments

  • I HAVE A LISTENER . WHY CAN'T I CREATE A NEW LISTENER?

    Hi All,
    Please can anyone explain why I am getting this error and how to fix it?
    I already have a LISTENER installed.
    I was trying this exercise to create a new LISTENER to support a connect-time failover on my 10g Database using Enterprise manager.The steps were .1)I clicked the Listener's link on Database control page.2)Next I clicked the Net Services Administration link.3)I selected listeners from the Administer drop-down list and clicked Go.
    I received the ERROR message that "Listener administration cannot be performed, as this Oracle Home
    "/opt/oracle/DB10g" is not a server installation.
    Is this normal?

    I already have a LISTENER installed.try :
    $> ps -ef | grep tns
    also
    $>lsnrctl status
    also
    $>netstat -an | grep 1521
    I was trying this exercise to create a new LISTENER
    to support a connect-time failover on my 10g
    Database using Enterprise manager.falover ?
    you try of create on standy machine ?
    The steps were .1)I
    clicked the Listener's link on Database control
    page.2)Next I clicked the Net Services Administration
    link.3)I selected listeners from the Administer
    drop-down list and clicked Go.
    I received the ERROR message that "Listener
    administration cannot be performed, as this Oracle
    Home
    "/opt/oracle/DB10g" is not a server installation.
    Is this normal?
    on the failover machine, you have installed the product,
    or the disk whit the product swap at failover time ?
    pasquale rago

  • Can I create an album of select photos to stream was screen saver when listening to my iTunes library on my apple tv

    I have a new apple tv that I am listening to my iTunes library. I have approx 800 photos in my iPhoto library. The screen saver chooses the same small number of photos and keeps on playing them over and over again. Can I expand the number of photos that are displayed? Can I create an album of photos to display?

    The screen saver uses the photo stream so if you can create a new stream and place the images you want the screen saver to show and then select that stream it shoudl do want you want.

  • HT2731 I am from Nepal how can i create Apple Id and don't have VISA card?

    I am from Nepal how can i create Apple Id and don't have VISA card?

    Refer to this article:
    Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    http://support.apple.com/kb/HT2534

  • Some questions about to create a TCP/IP Adapter,anybody can help?

    Scenario:
    need to create a socket listener at special ports,and convert the stream data to XI message and put them into XI.
    Current questions:
    1.Any detailed development documents or tour about how to create adapter and communicate with XI internal?
    2.If Adapter Framework supply any strategy to help modules communicate each other and monitor the data in module?

    Hi
    This is the closest blog that i could find,
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    Reward points if you find it useful
    Thanks
    Saiyog

  • Setting up a VISA for a TCP/IP connection

    I am trying to write a program in LabVIEW that will allow me to take data from my LeCroy Wavejet 354 and display it in a LabVIEW interface.  I have installed LeCroy's VICP passport.  I have no problems pinging the device so I know my ethernet connection to the computer is good.  It is not clear as to how I can use VISA to establish the desired connection for TCP/IP connections. In MAX, the remote systems function doesn't detect the o-scope's IP address.  I also tried creating a new device under devices and interfaces in MAX and after "create new" it gave me no option to create anything.   Do you have an example VI that can help me see how VISA can be used to establish this connection or know of some other way I could get this to work?  Thanks for the help.
    Solved!
    Go to Solution.

    Hi BYULab,
    Alan from LeCroy Tech Support here...    Unfortunately, the "Accepted Solution" isn't correct.
    When using the VICP Passport, you cannot create a TCP/IP resource in MAX for the scope. You can create an alias in MAX via the VISA Options... but it isn't necessary at all.   In fact, you don't need to do *anything* in MAX to connect to the scope.
    To connect to the scope, simply enter into the VISA Resource control the following string:  VICP::<ip address> (example: VICP::100.100.100.1)
    I've attached a screenshot...
    Best Regards,
    Alan
    Alan Blankman, Technical Product Marketing Manager and LabVIEW Developer
    LeCroy Corporation
    800-553-2769 x 4412
    http://www.lecroy.com
    [email protected]
    Attachments:
    WaveJet VICP control.JPG ‏94 KB

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

  • How can I fix consistent TCP timeout and make data flow simpler?

    Hi!
    I'm acquiring data from a Scanivalve Digital Scanning Array through a TCP/IP connection. I'm having problems with the connection timing out regularly. It will run fine if you take data several times in a row, but if the VI sits for several minutes (while looking at previous data runs or adjusting test setup) the connection will timeout the next time you try to take data. The subVIs (reading the tcp connection, processing the data pakcet, etc) were provided by the manufacturer several years ago. The midlevel VI were written by another engineer, and I adapted them to run with the top level VI that I needed for this test. The data flow in the VIs are convoluted and while I can follow the ones t
    hat I wrote, I'm not sure how to troubleshoot the others.
    I posted a question on an unrelated problem and the responses mentioned that race conditions were going to be a problem b/c of all of the global variables.
    Please be patient with my lack of knowledge in some areas. Any help would be appreciated.
    Thanks so much!
    -Sarah
    Engineering intern
    Techsburg, Inc.
    Attachments:
    DSA_Acquistion_VIs.zip ‏253 KB

    I'm not positive about the best solution in this situation, but there is lots of information available regarding error 56 when using TCP/IP communication.
    You might find some of these useful:
    Error 56 Occurred at TCP Open: Windows XP Fails as TCP/IP Server with LabVIEW 6.1.
    Error 56 Occurs When Using TCP Listen.vi
    TCP/IP Error Codes and Related Time-out Issues in LabVIEW

  • Can we call Tree Selection Listener this way..?

    Hi,
    I have written one class 'DemoTree' that implemets framework tree.In frame work tree
    We have All the listeners defined and all the listener methods have been implemented
    in 'DemoTree' class.
    Now I create one more class 'DemoTree2'.In this class I am instantiating 'DemoTree'.
    My question is.. is it possible to use listener method defined in 'DemoTree'.
    public class DemoTree implemets FrameWorkTree{
    public void selectionListener(event){
    public void mouseListener(event){
    public class DemoTree2 extend JPanel{
    private DemoTree  tree=new DemoTree();
    pubic void main(String arg[]){
    tree.selectionListener()-----> how to use/implement this feature?
    tree.mouseClicked()
    }Thanks.

    The real drivers are supplied to our OEMs by sending them an email conatining release notes for them in an encrypted Zip-file.
    They then need a password to FTP them from our FTP site.
    Any normal individual (i.e. end user) coming to ADI direct should gte a standard reply telling him to go to the Mobo manufacturer or PC supplier along with some links .
    Here is an example that I concocted as an MSWord autotext so I just type the word "sound" and this is inserted :
    Sound Cards and Modem Information
    Analog Devices does not manufacture sound or modem cards. Many sound cards use chipsets from Analog Devices in their designs.
    Drivers are often customized to work with specific PCs or motherboard platform. Please contact the manufacturer of the PC for technical assistance. For technical assistance on a specific sound card, please contact the manufacturer of the card. http://forms.analog.com/Form_Pages/soundMAX/soundMAXtechSupport.html
    may help.
    Other sources you can check:
    * You can visit the FCC's web site and use the search engine to see who manufactured the card.
    * You may also be able to locate & download drivers for these cards at the following web site: http://www.fcc.gov/oet/fccid/
    * You may want to try http://www.danworld.com/ for hotlinks to sound cards/modems
    * or   http://www.windrivers.com  .
    * http://www.driverguide.com  is extremely good  You have to register (once) but it is very useful and free. Copyright 1995- 2003 Analog Devices, Inc. All rights reserved.
    Chris Muriel, Manchester, UK  (ADI applications engineer).

  • Can I create my own cirrus Server with ServerSocket?

    I wanna my own server for cirrus.
    how can I get it ?

    i assume you mean by using ServerSocket in AIR.  ServerSocket creates a TCP server (listening) socket. RTMFP uses UDP.  ServerSocket can't be used to create an RTMFP endpoint.
    Adobe Media Server (AMS) implements RTMFP and performs the same peer introduction services that codename Cirrus does.  AMS is available for purchase or by the hour on Amazon Web Services.  see http://www.adobe.com/go/ams for more information.
    the RTMFP base transport protocol is described in http://tools.ietf.org/html/draft-thornburgh-adobe-rtmfp . however, the Flash-specific adaptation for RTMFP, including the "cryptography profile" we use and the mapping of Flash communication to RTMFP flows, is not yet publicly published.  see section 3.5.1.6 for an illustration of how RTMFP P2P introduction works, as practiced by Cirrus and AMS.

  • TCP listener?

    Hello,
    Is it possible to create TCP listener instead of HTTP or IIOP one in J2EE? My client application sends only TCP messages and as it is external system I can not change it. How to deal with it in elegant way within J2EE?
    Thank you,
    Ps. I am newbie in J2EE and currently designing new application.

    Just put a multiplexing proxy between the two,
    wrapping your legacy request in an http request
    and feeding back the html response.

Maybe you are looking for