Measurment Studio 8.6 Network Variable and Compact FieldPoint

Hello,
Looking for Vb.Net 2005 and Measurment Stydio 8.x Example illustrating how to browse multiple cFP items based on Network Variables.
Thanks

Hi,
I don't think that you will be able to get the pop browser with network variables in Measurement Studio either.  The only example I could find was the project in C:\Documents and Settings\All Users\Documents\National Instruments\MStudioVS2008\DotNET\Examples\NetworkVariable\Basic\vb.  In this you would have to hard code the shared variable that you want to use.  Also, I found this article that might be interesting to you Migrating to Measurement Studio Network Variable from DataSocke.  
I do have some good news on the cRIO front though, it supports both DataSockets and OPC.
Justin Parker
National Instruments
Product Support Engineer

Similar Messages

  • Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6

    A Very Simple quistion:
    Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6?

    Shady -
    Measurement Studio 7.0 Standard Edition provides support for Visual C++ 2003, Visual Basic .NET 2003, and Visual C# 2003. It just so happens that the Visual C++ support includes ActiveX controls, which are usable in VB6. The CWGraph ActiveX control provides both graphing and charting functionality.
    However, full Visual Basic 6 support, including examples and documentation is not in the Standard edition. It is in the Professional and Enterprise Editions.
    The best thing to do would be for us to get in direct contact with each other to make sure that we get you exactly the (minimum) package you need. If your profile includes your email address, we can contact you. Otherwise, you'll need to go through ni.com/support and refer to t
    his discussion thread to open a direct dialogue.

  • Need help getting networked shared variables on compact fieldpoint to work

    I'm still a newbie and am trying to get Networked Shared Variables to pass from a VI running on a PC to a VI running on a Compact Fieldpoint. I created a VI that sends a message via a Networked Shared Variable and a VI that receives it. I have them both in the same project. If I run them both on the PC, it works, I can send a message string from the first VI to the Networked Shared Variable and read it in the second VI. I have the second VI turn the LED "A" on and the LED "B" off if I send the string "a", and turn the LED "B" on and the LED "A" off if I send the string "b", and turn them both off if I send anything else. It works as expected if both the VIs are running on the PC. The second VI also continuously blinks the LED "C" so I can verify that it's running.
    I "deployed" the second VI to the Compact Fieldpoint as follows:
    In Project I dragged the VI from My Computer (under Project: name.lvproj) down and put it under the Compact Fieldpoint name.
    I right clicked on Compact Fieldpoint name and verified it was set to "Connect".
    I right clicked on the second VI and selected "Deploy".
    I started both VIs with the "Run" arrow. At this point I know second VI is running since the LED "C" keeps blinking. But, when I try to send an "a" or "b" nothing happens, so the VI on the Compact Fieldpoint must not be receiving the messages in the Networked Shared Variable.
    I also right clicked on Compact Fieldpoint name and selected
    "Disconnect". The second VI continued to run since the LED "C" keeps
    blinking, but I still can't get messages to pass.
    Any help will be greatly appreciated.

    I got this to work. I moved the library (.lvlib) containing the Networked Shared Variable to down under the Compact Fieldpoint name. Now it works.

  • VB6 and compact fieldpoint

    I have a request to add 4-20 mA and relay outputs to an existing VB6 application using compact fieldpoint.  Is VB6 still supported by the compact fieldpoint drivers/software, and if so, what is the recommended interfacing approach?
    Thanks,
    -Scott Hein
    Diablo Analytical, Inc.

    Scott,
    There does not appear to be nay reason why you cannot use VB6 with compact FieldPoint. The implementation of your application should be the same for FP and cFP.  Here are some articles that reference this:
    Can I Use Visual Basic with FieldPoint?
    FieldPoint Optomux Programming Reference Help
    Best,
    National Instruments
    Applications Engineer

  • PoE switch and Compact Fieldpoint

    Hello all... Is it possible to connect my Compact Field Point Controller to a PoE switch (Power over Ethernet Switch)??? This is because some other devices on the same subnet require PoE (IP cameras) and I wanted to know if this can cause some sort of problem with my Cfp... Should I connect the Compact Fieldpoint to a regular switch and connect that switch to the PoE switch??
    Let me know any suggestions...
    Thanks a million in advance,

    Hi Jaime!
    Currently there are only certain products that support the PoE standard, unfortunately the cFP family is not one of them. The best you can do is connect your cFP to a switch and then to the PoE switch like you said and check if that works. Here is the document where the PoE and NI products are described:
    http://zone.ni.com/devzone/cda/tut/p/id/9847
    Hope this helps!
    Have a great day!!!

  • Read LabVIEW shared variables ( network variables?) with VB6

    Hi, i need to read some LabVIEW shared variables (network variables?) using a VB6 program.
    Is it possible?
    I think that yes, using Measurement Studio for VB6 but I don't know how and I haven't found information in the  Measurement Studio for VB6 help file
    Could some one send me a program example or explain me how it is possible to read LabVIEW shared variables fromVB6?

    Hello quintella,
    To be able to interface with LabVIEW
    Shared Variables with Visual Basic 6 you will need to use NI Measurement
    Studio, which ships with examples on how to use VB6 with DataSocketing. Apart
    from Data Sockets, if you are using Measurement Studio 8.1 or higer, with the
    Network Variable Library introducted in NI Measurement Studio 8.1, you can read
    and write to shared variables in ANSI C, Visual Basic .NET or Visual C#. (http://zone.ni.com/devzone/cda/tut/p/id/4679)
    Here you have two links where you can
    find more information about how to use the datasocket option. In addition, there
    are several examples included in Measurement Studio with Network Variables and
    Datasocket.
    http://forums.ni.com/ni/board/message?board.id=230&message.id=2945&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=230&message.id=3324&requireLogin=False
    Regards,

  • Network variable creation through DSM

    I've been using CVI 2009 and I'm able to create a simple network variable using Distributed System Manager 2009 (DSM 2009).
    Now I need a "struct" network variable, and I noticed that the only option I can choose is "From Custom Control..." which asks me for a LabVIEW .ctl file.
    I read this KB and I created a custom control with LabVIEW 8.2.1, but DSM gives me the error "Invalid data type". I find the same error even if I create a .ctl file with a simple numeric indicator.
    Should I use a specific LabVIEW version to create this .ctl file?
    How can I create a struct network variable with DSM if I only have CVI 2009?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

    I tried with LV 8.2.1 and Variable Manager 8.2.1 and everything seems OK (both creating the varibale in LabVIEW and in Variable Manager).
    The problem is that I want to deploy variables on the PC where I have CVI 2009, that is not my old one where I have LabVIEW.
    On my new PC I only have CVI 2009 and DSM 2009, but not LabVIEW: how can I create a "struct" network variable?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Using graphs in measurement studio

    I have written in multiple languages, and this �easy� �user friendly� software package has left me completely stumped. How on earth do you put data in to a graph and display it????? Can someone please show me code examples of firstly how to shove an entire array of numbers into a graph in VB.net using the new Measurement Studio and secondly how I could update a graph plot with a next acquired sample. Please help

    "Where would I find "Creating Measurement Studio Strip Charts, Scope Charts, and Graphs" document. if it is on the website it is extremeley well hidden even from its own search engine. Does this specifically talk about VB .NET and measurement studio"
    You can find this topic, as well as several other conceptual topics about the Measurement Studio .NET features with VB.NET/C#, in the Measurement Studio help that installs with Measurement Studio. You can find this help in two ways:
    Integrated into VS.ET 2003/MSDN Help - Go to the table of contents, then the "NI Measurement Studio Help" node.
    Measurement Studio standalone help - Go to the Start Menu, then Programs->National Instruments->Measurement Studio 7.1 for VS.NET 2003->Measurement Studio Documentation
    Once you're in the table of contents, you can find the topic above by navigating to:
    - NI Measurement Studio Help
    - NI Measurement Studio .NET Class Library
    - Using the Measurement Studio .NET Class Libraries
    - Using the Measurement Studio Windows Forms .NET Controls
    - Using the Measurement Studio Graph .NET Controls
    The topic above is the second link in the list. If you have Measurement Studio 7.1 installed, this link will take you directly there.
    "Using Measurement Studio ActiveX controls I wouldn't even know where to start, there is no AxCWGraph on any toolbar."
    AxCWGraph is the name of the interop wrapper that is automatically generated by VS.NET when you add CWGraph to your project, so you won't see it in the toolbox. WaveformGraph/ScatterGraph is what you should use in .NET applications if you have Measurement Studio 7.0 or higher. I only mentioned CWGraph because this was posted to the Measurement Studio for Visual Basic forum instead of the Measurement Studio for Visual Studio .NET forum, so it wasn't clear if you were using the Measurement Studio .NET controls or the Measurement Studio ActiveX controls.
    "If NI could just stick an example of exactly how to use VB.NET with measurement studio on displaying data and the various options available and stick it for all to see on the measurement studio home page it would be great."
    There are several examples that are installed with Measurement Studio 7.1. If you installed Measurement Studio to the default location, you can find this examples at:
    Program Files
    National Instruments
    MeasurementStudioVS2003
    DotNET
    Examples
    UI
    Graph
    "I write in over ten different languages and scripts and fluent in two of them. It worries me that I can't even find the front door let alone open it."
    I can understand how this could difficult if you were not aware of the Measurement Studio help and examples. Is it easier now that you know about this content that installed with Measurement Studio? If not, what else do you feel is missing?
    - Elton

  • Compatibility of NI IMAQ with measurement studio

    I would like to know where the NI IMAQ driver software is compatible with measurement studio.

    Hello,
    NI-IMAQ driver and its API is fully compatible with Measurement Studio. If you have already installed NI-IMAQ with Measurement Studio support, see the following directory (default path) for shipping examples
    C:\Program Files\National Instruments\MeasurementStudio\CVI\samples\IMAQ
    Let me know if you have further questions on this.
    Regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Cannot generate network variables - used to work

    After a rather extensive edit of a project I found that I could no longer do anything with network variables and every time I tried it would cause LV to exit (very quickly).  I started a new project but found I could not create any network variables.  When I try I get the busy pointer (hourglass) for less than a second and nothing happens.  This problem has caused work stoppage on a major project.  I need a fix ASAP!!!

    Mr6dof,
    Firstly, if this is an extreme show stopper that is costing your company a lot of money for downtown, I would definitely reccomend using our support line and calling in. However, hopefully it is not that awful.
    Have you tried this on multiple computers, or just your one?
    This happens with every new project you create?
    When you open LabVIEW again, does it give you a crash report?
    Is it just network, or all shared?
    Chris Van Horn
    Applications Engineer

  • Can I acquire data with VB from my DAQCard without using Measurment Studio?

    I have the Measurement and Automation Software on my computer and VisualBasic.NET. Do I need any other software if I am receiving 2 analog signals and outputing 1 analog signal on my NI DAQCard-6024E PCMCIA?

    The short answer is yes, you can acquire data with VB.NET from your DAQCard without using Measurement Studio.
    There are a variety of ways to do it. All of them require that you install either the Traditional DAQ driver or the DAQmx driver in addition to Measurement and Automation Explorer. The DAQ drivers are included on a CD or CDs with your hardware. They are also available on the quarterly National Instruments Device Driver CD.
    1) You can use the Measurement Studio DAQmx .NET API. This is far and away the easiest API to use to program DAQ cards in VB.NET and C#. This API is included in the DAQ installer and does not require you to purchase Measurement Studio. However, without Measurement Studio you do not get the benefit of the DAQ Assistant integrated into Visual Studio .NET. The DAQ Assistant, when integrated into Visual Studio .NET, allows you to graphically configure your DAQ tasks, generates the code you need to configure your tasks, and generates a .NET user control (with user interface) that demonstrates how you use the tasks that you created. The caveat to this approach is that PCMCIA cards are not directly supported under DAQmx 7.0. There is, however, a beta versin of DAQmx PCMCIA support as described in this KB article.
    2) You can use the .NET P/Invoke services to call the Traditional DAQ or DAQmx C API directly. See MSDN for more information about P/Invoke. If you choose the DAQmx API, you will need to install the beta of the PCMCIA support as described in this KB article. National Instruments does not provide any examples, language-specific documentation, or code generation for this method. You'll need to look at the C API documentation to see what to do.
    3) You can use the Measurement Studio Traditional DAQ ActiveX controls. These are included in the DAQ installer and do not require you to purchase Measurement Studio.
    The absolute quickest and easiest way to get started using an NI-DAQ card in VB.NET is through the DAQ Assistant and Measurement Studio Professional or Enterprise edition.
    Your next best approach is to use the native .NET DAQmx API. This API was designed from the ground up to support .NET languages. There are examples written in VB.NET to help you get started.
    If for some reason, you don't want to use the native .NET API (or your hardware is not supported under DAQmx), whether you use P/Invoke or the ActiveX controls is a toss-up. It depends mostly on whether you are already familiar with the C API or the ActiveX API.
    David Rohacek
    National Instruments

  • Can compact fieldpoint work together with regular fieldpoint?

    Hi,
    I'm using regular FieldPoint modules with Labview 8.5 right now. I want to add new modules, can I choose compact FieldPoint moudles?
    Thanks!
    Gman

    You'll have to get a new backplane and a new controller or network module.  Compact Fieldpoint modules aren't physically compatible with the regular field point modules.  So the new devices will show up as a new target in MAX.  Beyond that, LabVIEW will be able to work with both just have in any application that would have multiple targets.

  • Gains Available with Compact FieldPoint

    What gains are available with Compact FieldPoint
    I/O modules?

    This question does not really apply to FieldPoint/Compact FieldPoint. Different FieldPoint modules have different input ranges. By changing the range of a channel, the gain may be adjusted automatically. A user has no direct control over the gain. FieldPoint and Compact FieldPoint IO Modules have input ranges from +/- 25 mV to +/- 120 Volts depending upon the module. What sort of signal ranges are you looking for?
    Regards,
    Aaron

  • DataSocket SelectURL method fails with Measurement Studio and vista

    The application uses the datasocket .SelectURL method to browse compact fieldpoint OPC items but the following error is raised:
    System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at NationalInstruments.Net.Internal.Win32.IAxDataSocket.SelectURL(Object startUrl, Object title, Object options, Object filters)
       at NationalInstruments.Net.DataSocket.SelectUrl(String startUrl, String title, SelectOptions options, String filter)
       at NationalInstruments.Net.DataSocket.SelectUrl()
       at DrillSense.Sensors.Sensor.SelectURL() in C:\DrillSense VS2005\DrillSense\cls_Sensor.vb:line 309
    This method works with Windows XP Pro however.
    The Development Environment includes:
    MS Visual Studio 2008 with SP1
    Measurement Studio 8.5.0 for VS 2008
    Windows Vista Business
    Is there a workaround to browse OPC items?
    Thanks,
    Barrett

    Hi Barrett,
    I would like to verify that the PC with Vista installed can see the OPC item.  Do you have an alternative programming language which you can use to verify communication?  If not, you may try Measurement & Automation Explorer (MAX).  If you do not see the fieldpoint in MAX, I would try the suggestions outlined in this KnowledgeBase article.
    How to Network FieldPoint to a Host Computer with Ethernet
    It would also be helpful if you could provide a bit more information about your setup.  I'm particularly interested in what .NET language you are using within Visual Studio (C#, VB.NET, C++, etc.).  I may have to try and reproduce the behavior on my end, so if you could provide as much detail as possible it would be helpful.  Thanks Barrett! 
    Rod T.

  • 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

Maybe you are looking for

  • Error while testing a webservice in http analyzer

    Hi ADF Experts, I am using 11.1.1.7.0 jdeveloper version. My questions are:- Can we create a webservice proxy from a webservice which contain multiple schemas? If yes how? While I separated the schemas into different filesystem and tried calling from

  • Profit Center  is not updating in Vendor line item

    Hi Experts, For my GL postings in F-43, F-41, F-53 ,F-54 and F-28 the 1st line item corressponds to Vendor or Customer, the profit center is not updaitng the values and shows nill. We have given check in Exit and Substitution but its not updating in

  • Windows says the itunes download file is corrupt and will not install

    Im trying to install itunes on my new windows 8 pc.  It seems to recognize my software and takes me to a download the 64 bit file (iTunes64Setup.exe).  Once the download completes, the file appears in my windows download manager with the message "The

  • New Tab opens in current tab

    Hi there, I have Safari set to open new tabs with "Top Sites". Whenever I try to open a new tab (CMD-T, click on the + symbol in the tab bar or the toolbar, double click next to open tabs), instead of Safari opening a new Tab with the Top Sites showi

  • Trying to share just part of a movie

    Using elements 7 i've made a movie and burned it to dvd.  Now I would like to take one scene from that movie and share it over the computer.  I have figured out how to share the whole movie, but not just one scene.  I've tried in vain to find an answ