VISA alias to TCP/IP without MAX

Hi
Is there a way to create the VISA alias for TCP/IP device (scope) without using Max? 
The VISA is used to talk to TCP/IP oscilloscope. 
I need to distribute hte vi executable to other PCs and I would like to avoid installing MAX just for the sake of creating the VISA alias.
Is there any trick to "cast" TCP/IP address to VISA?
thanks
Solved!
Go to Solution.

Here's a snippet of the VI I made for one project.  It worked well for all of the instruments I had in that rack that used Ethernet.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Attachments:
IP Address to VISA Session_BD.png ‏21 KB

Similar Messages

  • COM port from VISA alias

    I have a test fixture I am designing in LabVIEW that is composed of many independent instruments. For simplicity sake I gave all of these instruments a VISA alias (for instance Programmer rather than COM3) so I wouldn't have to guess at which COM port the instrument was attached to.
    Now, in LabVIEW, one of my instruments does not have a driver but does have a DLL shared library that I am trying to create wrappers for. One of the inputs is the serial port in a numeric format (0 for COM1, 1 for COM2, etc). If I didn't have the alias I would just do something like this...
    But....because I have these aliases I cannot make it so simple. Is there a way to get the serial (COM) port number (I can decrement it) from the VISA alias?
    Edit: seems the code didn't make it in on the first pass
    Solved!
    Go to Solution.

    Jeff·Þ·Bohrer wrote:
    obviously you're not using Quick Draw correct that drop.
    they are on the pallets under measurements and they show up at the lower left hand sideI believe they install with DAC MX or device drivers
    and of course that's a snippet so you could have just drop it will block diagram right click instead find an outlet from the alt correction find on pallets from the help
    side note: Google speak doesn't recognize everything correctly
    Ah.. I see them since I have never used any sort of DAQ devices or quick-drop (never could figure that out) I guess I never saw them before.

  • 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

  • SbRIO-9612 unable to close a TCP connection without causing TCP failure

    Hello,
    I'm working on a multi-server (sbRIO-9612's), multi-client (Windows PCs) application which uses the STM 2.0 libraries and LV2009 SP1.  The server listens on a UDP port for the client to send a message - once sent, the server opens the TCP connection to the client and all is well . . .
    . . . until I added a "hearbeat" message to monitor for down connections.  Once the TCP connection has been extablished, the client PC sends a TCP message (a request for the number of clients connected) to the server sbRIO-9612 every 5 seconds - both the client and server are coded to close the connection if a message is not received within 10 seconds.  The client-side app works fine - if the TCP message is not returned in 10 seconds, the connection is closed and a new UDP message is sent to re-establish it.
    The server-side is the problem - if no message is received in 10 seconds, the TCP connection is closed o.k. (no errors), but the server will no longer allow new TCP connections to be established unless it's rebooted.  It seems to work fine if I leave the non-communicating TCP connections open on the server-side, but I can see this leading to problems after several clients have disconnected without notifying the server properly.
    Interestingly, if the client closes the TCP connection properly (via TCP Close in LV), the server detects it fine and there is no problem.
    I'm allowing the operating system on both sides to select the TCP port to use.
    Any help is greatly appriciated - thank you!
    Al

    Hi Al,
    Thanks for the update -- I'm glad that you were able to find that the issue wasn't actually with the TCP VIs, and moreover that LabVIEW 2010 SP1 seems to have resolved the issue. I would still recommend combing through the code on the RT end to ensure that the LabVIEW 2010 SP1 upgrade really did 'fix' the underlying issue. It's somewhat strange that a version upgrade resolved TCP communication issues that you were having. I just want to be sure that the solution is a truly stable one.
    Sanjay C.
    Embedded Software Product Manager| National Instruments

  • Configuring FP-20xx without MAX

    Think about a FP-20xx which may be unreachable by ethernet network, so unreachable by MAX. It can be contacted via GSM modem connected to serial port. I'd like to remotely change its configuration (connected I/O modules, channel ranges... possibly anything i'd normally configure with MAX), or tell somehow the RT application to self-configure.
    What's the way to do this? Can i send optomux commands thru the modem? Can i send a new IAK or fpbank.ini file and tell the RT to use it? Can i tell the RT to programmatically apply some settings?
    As for last question, i saw some interesting VIs (LV7.1) under NI Measurements -> FP -> Advanced -> Ethernet Config, they can be run in RT and work for self-configuring most channel parameters. But the settings are temporary and are lost if power goes down. And you can't redefine modules.

    Hi,
    there are different points in your message that need to be addressed:
    1) What you can do programatically is described in this Knowledgbase . It basically deals with the creation of Items in the IAK file that are then configurable through software.
    2) As far as the fpbank.ini file goes, remember the following: The IAK file is used on host computers and contains channel name, communication parameters and channel settings. The full IAK file is never downloaded into FieldPoint controllers. With FP-20XX controllers, a subset containing the channel names is downloaded into the module. With all controllers, the channel configuration information is saved into non-volatile memory (this does not include channel naming information which is only relevant for the FP-20XX series). The fpbank.ini is essentially the .iak configuration information, but without the Resource Names.
    3) Changing the item names that are downloaded on to the controller is not supported, but here is an untested and unsupported solution could be:
    1. Download the item names to your controller.
    2. FTP to the controller and then change the name of the following file: ftp:///NI-RT/SYSTEM/fpbank.ini. This is the file that holds the I/O modules names.
    3. Repeat the previous two steps until you download several different sets of item names to the controller.
    4. When you want to switch which configuration you are using just use the file I/O VIs to ch
    ange the name of the item name file to fpbank.ini.
    5. You may have to restart the controller before the new item names are valid.
    4) To me it sounds quite hard to change the modules that are attached to a bank if you only have access to it via GSM Modem. You would need to physically move modules around, wouldn't you?
    AlessioD

  • Using a table alias to identify row with max timestamp for same ID, syntax?

    Hello experts
    I have created an alias of a table, so now I have table T1 and its alias T2. (T2 is not joined to anything in the universe currently)
    I need to identify the row from T1 with the maximum timestamp for any given ID:
    ID                       Timestamp
    1                         2011-01-24 16:26:00.000
    1                         2011-02-24 14:21:00.000
    1                         2011-02-24 13:49:00.000
    I couldn't find anything on the SAP forums, but elsewhere suggested my approach should be thus:
    1) Create a table alias (leave it free standing i.e. not joined) - DONE
    2) For T1, create a dimension object named Timestamp - DONE
    3) Create a seperate predefined condition icon funnel / filter - in the where clause:
    T1.timestamp = (SELECT max(T2.timestamp) from T2 WHERE
    T1.Key = T2.Key)
    I'm stuck with the BO XI 3.1 syntax on step 3. I can't get it to parse.
    In the where clause, mine starts with @select(T1\Timestamp) = max(@select(T2\Timestamp)
    @where T1.Claim_no = T2.Claim_no)
    Please can someone help me with the syntax so this thing will parse.
    Many thanks in anticipation.
    Eddie

    Hi ,
    Can you try
    SELECT   ID, MAX(datetime) FROM T1 GROUP BY by ID
    Thanks
    Ponnarasu

  • Is it possible to use board without MAX

    Hi All,
    I am develloping an Application that will use a NI USB measurement module. This Application is going to be distributed and used in the production in different industries.
    I don't want that an operator can change the channel settings in the MAX, because this could make the measured results worthless. I have heard, that it is possible to controll a board without the MAX under CVI, but LabVIEW needs the MAX. Is it possible to use the dlls that are used with CVI in LabVIEW as well and controll a board without even installing the MAX.
    Best Regards
    Dermot

    Hi,
    No, it is not possible, you must at least have the Operational Database. But please check Microsoft Monitoring Agent, is that what you are looking for?
    Monitoring with Microsoft Monitoring Agent
    http://technet.microsoft.com/en-us/library/dn465153.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Custom scaling of data without MAX?

    Okay here's my problem. Hopefully you can help me or offer some helpful advice.
    I am creating a user interface for data acquisition (only analog inputs are used). Thermocouples (Type J and Type K) will be used, as well as factory calibrated strain gauges. Some other sensors that can be linearized on a 0-5Volt scale might be used too.
    I originally had my program set up where the user had to set up their channels in MAX and then come to the program I made. There will probably be a lot of scale/offset changes made by the users so channel configuration needs to be flexible. I changed the program to custom scaling. Instead of virtual channels the user just enters scale and offset values. These values are saved to a text configuratio
    n file and later used on raw voltage.
    Then I realized I would have to have the user input what type of sensor they are using because I'd have to compensate for CJC in thermocouples. AND, I dont think the SCC-TC02 is linear.
    *Am I right in thinking I will have to use case structures when I finally scale data for LINEAR versus J THERMOCOUPLE versus K THERMOCOUPLE?
    *How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
    *Is there an easier way to do what I'm trying to do? I know people do custom scaling, how is it done?
    THANKS.
    I have:
    SC-2345 Module Box
    SCC-TC02
    SCC-SG24
    LabVIEW 6.1

    I'm not sure I see where your difficulty is.
    I have always used custom scaling, MAX never did quite enough.
    I have a cluster for each channel. The cluster contains a scaler (EU/Volt), an offset (EU@0V) and a channel type enum, among other stuff (channel name, units, filters, etc.)
    When processing the data, look at the cluster for that channel. Use a CASE statement on the CHANNEL TYPE value. If linear, multiply the volts by the scaler and add the offset - you get EU (Engineering Units) out. If the channel type specifies some other type, use the appropriate linearization routine.
    How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
    <
    p>
    Depends on which type TC, and where you are on it's range. You might expect 20 degrees or more error at the high end of some ranges, without proper CJC.
    There's no easy answer to that question.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • 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

  • How to build a Labview Installer without MAX

    I have created a LV program, using VISA.
    When I create a Installer, MAX is also included - this is not necessary, how can I avoid it?
    Furthermore, how does one deinstall the NI libraries when deinstalling the product? Due to their size this may be desired.

    Yes,
    this sounds very logical, and has been attempted, but:
    1: In Additional Installers NI Measurement & Automation Explorer is not checked.
    (Only Run time engine, Variable engine, variable manager, visa configuration support and visa runtime is installed)
    2: the installation disk created by LV is 200Mb, but the NI programs that are to be deinstalled are of only 4Mb - normally an installation expands on disk instead of shrinking, is the footprint of the NI runtime engine really only 4Mb on an XP machine?

  • Using one VLAN over several WLANs without maxing out controller

    Hi,
    I need to provide several WLANs that need to have different SSIDs, but can all go on the same VLAN.
    An example would be if i have 40 schools and one large, flat guest LAN that I want to use for them all. I'd like to put (SSIDs of)school0001, school0002, school000n etc onto this same VLAN without breaking my limit of 16 WLANs on the controller.
    Does anyone know if the cisco 4404 (or 5508) can do this? and if so, how.
    Thanks in advance,

    The 16 wlan limit is hard set.
    Here is a good reason why:
    "... limit the number of service set identifiers (SSIDs) configured at the controller. Based on your access point model, you can have configured 8 or 16 simultaneous SSIDs, but as each WLAN/SSID needs separated probe responses, and beaconing, the RF pollution increases as more SSIDs are added. The results are that some smaller wireless stations like PDA, WiFi Phones and barcode scanners cannot cope with a high number of basic SSID (BSSID) information. This results in lockups, reloads or association failures. Also the more SSIDs, the more beaconing needed, so less RF space is available for real data transmits. "
    from
    http://supportwiki.cisco.com/ViewWiki/index.php/Wireless_LAN_Controller_%28WLC%29_Configuration_Best_Practices
    You may want to consider using multiple controllers & limiting the # of wlans per controller.
    You should also check into AP groups to limit what wlans are broadcast on what APs to help control the rf pollution where possible.

  • Signal scaling with cRIO without MAX?

    Using e.g. DAQmx and MAX it was possible to use different scaling and calibration options in MAX. Because the Project Explorer is used instead i can't seem to find any plug n' play solutions when using my cRIO and the onboard FPGA. Is it possible to do something similar in the project explorer as i MAX or should I just start multiplying my way there?
    Regards
    Soeren

    Hi Soeren,
    The best way to implement a scale is probably using the Scaling and Mapping express VI in LabVIEW. It has the same basic functionality as a scale in MAX.
    Best regards,
    Peter Porsman | Applications Engineer | National Instruments

  • How to add VIS Demo after installing APPS without it??

    Hi all,
    I have installed Oracle Applications wihout VIS Demo and now i want to add it. How can i do that?? Is there a script to do that?
    Tks,
    Paulo.

    Cannot be done. You must select the Vision install during the initial installation.
    Loading Vision DB on existing install
    Re: Loading Vision DB on existing install

  • Using Multi Mode in Omnisphere without "maxing" out my Mac

    Hi,
    I use Omnisphere a lot when I am creating multiple keyboard parts for tracks I am producing/session-ing on.
    But because I usually use about 6 different omnisphere parts in a track it really puts the pressure on my Mac and decreases performance.
    I usually create a Omnisphere track and then hit the "create the same track again button" and then open up that instance of Omnisphere and then create my next part and make sure that the midi channel for that track is set to 2.
    And so on....
    Is there a better way to do this? I.e. Run one instance of Omni and have blank tracks set up that i don't have an instrument set, but can just use the MIDI info from. Because that's what i am doing, but I can't get that track to talk to Omnisphere.
    Not even sure that I can communicate what i am trying to say...but if you understand what i'm trying to say....help would be appreciated.
    Thanks in advance.

    When you create a new track in Logic, check the MULTITIMBRAL box and put in 8 for the number. It will create one instrument with eight tracks.

  • Is there any power electronic converter models or templates or VIs available in LabVIEW?(WITHOUT Multisim)

    I want to to build a speed control of DC motor. for this i need to build a power electronic converter (AC to DC) in LabVIEW. is it possible to model a power electronic converter in LabVIEW like a DC motor?

    Hello Ivan,
    It looks like in your project you are using both the NI 5761 adapter module and DRAM.  We have seen a few cases where certain combinations of DRAM, adapter modules, and FlexRIO FPGA targets in LabVIEW FPGA 2010 have caused some resource overmapping errors of the IODelayCtrl components used in the adapter module and DRAM CLIPs. Due to a bug, certain constraints inside of the CLIP cores are misinterpreted by the ISE compiler causing this overmap error when you switch to LabVIEW FPGA 2010. 
    This was reported to R&D (# 258076) for further investigation and to create a long term fix.  In the meantime, for this specific issue please use the following knowledgebase article to apply a patch to your FlexRIO fixed logic files.  This patch updates some of the constraints used by the DRAM to ensure that the Xilinx compiler can properly interpret them. There are more details on your issue in the knowledgebase as well. 
    Knowledgebase 5E4FNCDP: Error, “Compilation Failed Due to Resource Overmapping,” When Using NI FlexR...
    If you do run into any other issues regarding IODelayCtrl components, feel free to reply to this forum topic to let me know about them.
    Regards,
    Browning G
    FlexRIO R&D

Maybe you are looking for

  • Problem in opening a view on Portal

    Hi, I'm working with SAP BI 7.0 integrated with SRM Portal and I'm facing the following issue: when I launch a report via Portal, in the "Data Analysis" tab there is the button "Save view", that allows me to save a view with specific technical name a

  • Problem in Update PO Function module in SRM

    Hi all, I am updating the existing PO with the Function Module 'bbp_po_app_update_po' in SRM system.When i execute this in my program , I am not getting any errors. After this function module call, I committed using 'Commit work and wait'. But my rec

  • Disp+wp.exe is in yellow colour saying starting the process ?

    Hi Guys, My disp+wp is yellow in colour and saying starting the process but not coming to green active state. I found this in dev_disp Fri Oct 17 08:22:03 2008 J2EE server info   start = TRUE   state = STARTED   pid = 2332   argv[0] = E:\usr\sap\PN5\

  • Unzip utility ..

    Hi, instllaing unzip utility on hp ux Downloaded archive from http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&description=on&term=unzip&Search=Search installtion process? Regards, Rahul Reddy

  • Windows Disk too small

    I am running Windows XP that was installed on my intel Macbook- aluminum. I also have Parallels installed but that would not allow me to upgrade my Blackberry. So I went for a full install. That partition is now too small and I need to make it bigger