Link Labview and Movicon (a Scada with OPC)
Hi.
I have to read and write some numerical values from a SCADA (Progea Movicon X) and link them to the inputs and output of a fuzzy controller I developed with Labview (7.1).
On Labview side, I can only see Datasocket as a way to "publish" the output value to a Datasocket server and to "subscribe" to it to get the inputs.
Trouble is that in the Movicon list of networking drivers I can't see any Datasocket one. As I know it is OPC compliant, which way I should use to pass those values to and from the two apps?
Considering I have to pass only three integer numbers in total, I would not be too happy if I should spend a lot of money to get the OPC CD servers just for that, so I'm looking for some other way, if any exists.
Thanks.
fabiospark wrote:
Hi.
Trouble is that in the Movicon list of networking drivers I can't see any Datasocket one. As I know it is OPC compliant, which way I should use to pass those values to and from the two apps?
If I'm not mistaken, the DS server is NOT an OPC server and DS only supports OPC as a client, so what you might need to do is define the tags in your own server and then write to them using DS. You can also simply bind the tag to a control.
Try to take over the world!
Similar Messages
-
Link LabView and VisualC++
Hi to all,
I am in charge of desiging a data acquisition program for the balance of
a wind-tunnel (for yacht research).
I would like the user end to be designed with visual C++ and let LabView
do the data acquisition.
How easy is it to have the two talk together? WHere could I find a simple
demo program which does that?
Thanks for your help,
Cyrillefabiospark wrote:
Hi.
Trouble is that in the Movicon list of networking drivers I can't see any Datasocket one. As I know it is OPC compliant, which way I should use to pass those values to and from the two apps?
If I'm not mistaken, the DS server is NOT an OPC server and DS only supports OPC as a client, so what you might need to do is define the tags in your own server and then write to them using DS. You can also simply bind the tag to a control.
Try to take over the world! -
Converting Units in LabView and specifying sampling rate with Universal Library functions
Hi,
I am having trouble converting units in LabView 7.0 and having it write to a file / output on a chart in Nm instead of in volts. I can't seem to find any straightforward instructions, eventhough it seems like a simple task.
Another task that would seem rather simple is changing the sampling rate with the XAIn program from the Universal Library for LabView (this is version 5.40).
If anyone could help me out, I would greatly appreciate it - I have tried other sources without much luck!
Thanks
JennaAre you really needing to change units or do you need to scale the voltages read from your sensors? If it's scaling, it would be trivial to set this up in mAX or with the DAQ Assistant if you were using an NI board. Since you are not, then you could use the Scaling and Mapping Express VI. The y axis of a chart is just a label. You can use the text tool to change it to anything you want.
I have no idea how to change sample rate for your board. Have you asked the vendor? -
Linking Source and Target language PDFs with ref. points
Dear adobe folks,
I am new to this forum, so my excuses if such a topic has already been discussed. I could not find anything:
In my department, we are often handling English source and language-specific target pdfs, for example to do a review of a translation.
What I would like to achieve is to LINK these two pdf documents in such a way that when I scroll through one, the other one scrolls with it to the appropriate point.
IMHO, this should be possible with a grid of "reference points" that an automated function/tool identifies in both docs and creates links. Such reference points would be: chapter beginnings, cross references, images, anyhting that is safely identifiable in both the English pdf and the Target language pdf.
The precision rate of the grid determines how accurate the linking works, of course. But even a rough relationship would help. It could be very beneficiary to all translators, reviewers, anybody who has to compare versions or translations of the same.
Is there any technique of doing such a thing? I am not a programmer myself, but we would perhaps have this done by somebody. I do have a wee bit of programming knowledge though, to understand your answer :-)
Thank you so much
TechlitterWhy wouldn't bookmarks be sufficient for this purpose?
-
How to link to and open external document with Mac Dreamweaver
I'm evaluating Dreamweaver on the Mac. I know how to link to
an external document, such as a Word or Excel document. However, I
would like for the file to automatically open when the link is
clicked, rather than taking me to a directory window (where I then
have to double-click the file icon). Another option would be to
easily import data from a Word or Excel document, but the Help
indicates that's only possible when using Dreamweaver on Windows.
Thanks for any guidance you can provide.What you need to do is this:
1.) back up all your data from your iPod
2.) reformat it on the Windows machine.
You'll then be able to use your iPod on both Windows and Mac:) If you need more help, let me know! -
Link labview with other software which can do hydraulic simulation such as Nanas Fluent.
Hi all:
I currently want to exchange data between labview with Ansys fluent. That is: sending flow boundary condition and initial condition from labview to hydraulic simulation software (ansys fluent), and get simulation result back to labview from that software.
I didn't find any modules online to link labview and fluent together. (There are others such as Labview Solidworks module)
Is any one know how to link labview to any software which can do hydraulic simulation?
Thank you very much. :-)
-BowenDo you know of any other programs that exchange data with Ansys? If so how do they do it? ActiveX is a common way for communicating between LabVIEW and other programs, is this an option?
Justin Parker
National Instruments
Product Support Engineer -
Dear all,
I really wanted to know, Can we consider LabVIEW 7 application a SCADA application (with out any add-on module "e.g.DSC module").
I'm talking about definetions now, Is LabVIEW for SCADA or only Data acquistion ?
Iam seeing that LabVIEW provides most of the SCADA packages features:
Visualization, Alarming (can be developed), Trending .. etc
The only problems 9in my point of view) are:
1- Communication: I mean handling communication with the different controllers (mainly PLCs), I know it can be done (MAX and OPC) but no easy as the other packages.
2- handling data bases for storing/retreving alarms and so.
Please remeber that I'm talking about the Basic package of LabVIEW (No add*-ons).
I want to share this with you.
Thanks
Ayman Mohammad Metwally
Automation Engineer
Egypt - CairoActually Lookout is still alive and well, it probably was "BridgeVIEW" you remember which was basically LabVIEW with SCADA enhancements. If you are planning on trying to do real SCADA, the DSC has a lot of SCADA enhancements to LabVIEW, but it won't be as easy as building a SCADA system using a SCADA package, like Lookout or inTouch. One thing that I miss from Wonderware and Intellution's iFix are how easy it was to build cool, automated graphics. I've been using LabVIEW for 12 1/2 years, work mostly in it, love it, but boy I would like to be able to _easily_ make a valve control that changed depending on its state and looked cool, not to mention pipes that showed stuff flowing through them. Actually to be able to make scalable graphics, where after I put a graphic on a button I could scale it easily, like a native control, would be nice!
Good Luck
Putnam Monroe
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
Face and Eye Tracking with LabView and Vision
Hey all,
For my senior project I am trying to perform face tracking and eye tracking by using LabView and the Vision Development Module. Unfortunately I am new to LV and I'm drowning in a sea of links and tutorials so I was wondering if anyone here that has had experience performing similar tasks would be willing to help and point me in the right direction or provide examples. I bought two Logitech c525 webcams and hooked them up to my pc running LabView and Vision 2011. I was able to see images captured but that's as far as I've gotten with the tools. Any tips?
Thanks,
Alex.have a look at http://sine.ni.com/cs/app/doc/p/id/cs-14116 and http://forums.ni.com/t5/Machine-Vision/how-to-track-face-and-allocate-lips-in-face-using-labview/td-...
This thread would also be more suited to the Machine Vision section. -
What is SCADA and how to integrate with SAP
Hi all,
I am new to SCADA and i would like to know
1. what is SCADA
2. Purpose of SCADA
3. how to integrate SCADA with SAP
4. In SAP for which module we can use SCADA
5. Wether SCADA is used for only PM(Plant Maintanence) in SAP
Thnx in advance,
VishnuCheck if these links help you:
http://help.sap.com/saphelp_47x200/helpdata/en/12/3bc6f8504811d182c20000e829fbfe/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7efbb690-0201-0010-0b94-9a7f7dbe745c
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5b75b590-0201-0010-b6a0-8e84842a5bbf
Regards,
Abhishek. -
Linking labview with C++
Dear all,
I am writing a program about controlling labview by C++ using
OLE. However, i found that when the virtural instrument made of subvi.
i can just control the subvi variables but not the main highest vi. Is it
the problem of linking path to vi? Thanks you
Best regards,
matthew
Click here for Free Video!!
http://www.gohip.com/freevideo/Hello there,
If you are using the LabVIEW Real-time module, then the real-time portion of your code will run on a separate system running a Non-Windows Based Real-time Operating System. Obviously, the Visual C++ code cannot be run on that system.
What you can do, however, is create a LabVIEW VI that runs on a Windows host PC and interfaces with Visual C++. Then, this host VI can communicate parameters to the Real-time system. These can be the parameters that were generated by your Visual C++ code.
If you are not using the LabVIEW Real-time module, the problem becomes simpler. You will just need to build your Visual C++ code into a .dll that can then be called from LabVIEW. A tutorial to do so can be found here. After that, you would use the "call library" function to make calls to the .dll. There is a great example that ships with LabVIEW 7.X called "call DLL.vi". This example is a comprehensive look at calling .dll files from LabVIEW, and it think that it will point you in the right direction.
I hope that this helps.
Regards,
P.J.
National Instruments -
How can i work simultaniously with labVIEW and Excel ?
Hello . I study engineering and need some help with labVIEW, and the connection to microsoft excel.
Hi
NI offers an "Report generation toolkit". You get some VI's with this toolkit and so you can directly create your reports from LV.
Another possibility is the communication through ActiveX. There is a nice link with application notes and LV examples for that:
http://zone.ni.com/devzone/devzone.nsf/webcategories/C3E56C69D399361E86256AB7006A9149?opendocument&node=DZ53003_US
Regards,
Luca -
Open and close multisim contact with LabVIEW
Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)?
Thanks.
Attachments:
Dibujo.JPG 13 KBHi Guddan,
I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
If this needs to be a synchronous call, then you will need to optimize the query to its best.
Regards,
Chen -
I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
1. Party (PartyId, Name)
2. Case (CaseId, CaseNo)
3. Petitioner (CaseId, PartyId) ............. Link Table
I am completely new to .Net and to begin with I download Microsoft's sample application and
following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
users can choose one from the dropdown list to add or edit the petitioner.Hello Barry,
Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
the sample available at the link you supplied.
To get the idea of the thing here is my code behind of a view vBoxPetitioner:
<UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:v="clr-namespace:CCIS.View.Case"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
d:DesignWidth="300"
d:DesignHeight="200">
<UserControl.Resources>
<DataTemplate DataType="{x:Type vm:vmPetitioner}">
<v:vPetitioner Margin="0,2,0,0" />
</DataTemplate>
</UserControl.Resources>
<Grid>
<HeaderedContentControl>
<HeaderedContentControl.Header>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<TextBlock Margin="2">
<Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
| <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
</TextBlock>
</StackPanel>
</HeaderedContentControl.Header>
<ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
</HeaderedContentControl>
</Grid>
</UserControl>
This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
Here is the code of vmPetitioner, a ViewModel:
Imports Microsoft.VisualBasic
Imports System.Collections.ObjectModel
Imports System
Imports CCIS.Model.Party
Namespace CCIS.ViewModel.Case
''' <summary>
''' ViewModel of an individual Email
''' </summary>
Public Class vmPetitioner
Inherits vmParty
''' <summary>
''' The Email object backing this ViewModel
''' </summary>
Private petitioner As tblParty
''' <summary>
''' Initializes a new instance of the EmailViewModel class.
''' </summary>
''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
Public Sub New(ByVal detail As tblParty)
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Me.petitioner = detail
End Sub
''' <summary>
''' Gets the underlying Email this ViewModel is based on
''' </summary>
Public Overrides ReadOnly Property Model() As tblParty
Get
Return Me.petitioner
End Get
End Property
''' <summary>
''' Gets or sets the actual email address
''' </summary>
Public Property fldPartyId() As String
Get
Return Me.petitioner.fldPartyId
End Get
Set(ByVal value As String)
Me.petitioner.fldPartyId = value
Me.OnPropertyChanged("fldPartyId")
End Set
End Property
End Class
End Namespace
And below is the ViewMode vmParty which vmPetitioner Inherits:
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports CCIS.Model.Case
Imports CCIS.Model.Party
Imports CCIS.ViewModel.Helpers
Namespace CCIS.ViewModel.Case
''' <summary>
''' Common functionality for ViewModels of an individual ContactDetail
''' </summary>
Public MustInherit Class vmParty
Inherits ViewModelBase
''' <summary>
''' Gets the underlying ContactDetail this ViewModel is based on
''' </summary>
Public MustOverride ReadOnly Property Model() As tblParty
'''' <summary>
'''' Gets the underlying ContactDetail this ViewModel is based on
'''' </summary>
'Public MustOverride ReadOnly Property Model() As tblAdvocate
''' <summary>
''' Gets or sets the name of this department
''' </summary>
Public Property fldName() As String
Get
Return Me.Model.fldName
End Get
Set(ByVal value As String)
Me.Model.fldName = value
Me.OnPropertyChanged("fldName")
End Set
End Property
''' <summary>
''' Constructs a view model to represent the supplied ContactDetail
''' </summary>
''' <param name="detail">The detail to build a ViewModel for</param>
''' <returns>The constructed ViewModel, null if one can't be built</returns>
Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
If detail Is Nothing Then
Throw New ArgumentNullException("detail")
End If
Dim e As tblParty = TryCast(detail, tblParty)
If e IsNot Nothing Then
Return New vmPetitioner(e)
End If
Return Nothing
End Function
End Class
End Namespace
And final the code behind of the view vPetitioner:
<UserControl x:Class="CCIS.View.Case.vPetitioner"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
mc:Ignorable="d"
Width="300">
<UserControl.Resources>
<ResourceDictionary Source=".\CompactFormStyles.xaml" />
</UserControl.Resources>
<Grid>
<Border Style="{StaticResource DetailBorder}">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Petitioner:" />
<ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
</Grid>
</Border>
</Grid>
</UserControl>
The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
what I need to Know is how to route the binding path if it exists in a different ViewModel?
Sir, I look forward to your early reply bringing a workable solution to the problem I face.
Warm Regards,
Arun -
Problem with Labview and an ARM Cortex
Good morning,
I am currently trying to use Labview with a board from ST Microelectronics (MCBSTM32) with an ARM Cortex Processor.
I use the SDK and have followed the tutorials.
But, when I try to launch the program (the simple loop as write in the tutorial n°2 : http://zone.ni.com/devzone/cda/tut/p/id/7029 ), Keil gives me an error via Labview:
"Argument 'DARMSTM' not permitted for option 'device'."
It seems that Keil does not allow an ARM Cortex from ST as the device.
Moreover, after having this problem, I am unable to use a Keil project ,even a project which worked before, without Labview. I need to restart the computer.
I also try to launch the Keil project generated by Labview, without using Labview, and it works. But as soon as I use Labview, I have the error.
Did anyone already have this error or know how to solve it
Thank you for your answer and sorry for my bad english.
Regards,
Raphaël VAISSIEREHi Raphi,
So let me make sure I understand,
The project created in LabVIEW errors out with the message "Argument 'DARMSTM' not permitted for option 'device"
If you open the same project in Keil uVision, it runs fine
Here are my questions:
1. So how does the code run when run through Keil? does it deploy and run fine?
2. Did you follow the porting procedure completely?
Your target STM32F103RB is techincally supported by Keil but you need to port the RTX kernel to it. This paragraph explains it:
To determine if your target already supports the RTX Real-Time Kernel, browse to the \Keil\ARM\Startup directory, then browse to the folder that corresponds to the manufacturer of your ARM microcontroller. If there is an RTX_Conf*.c file for your target, then the RTX Real-Time Kernel has already been ported for your ARM device. If no such file exists, skip to chapter 4 for more information on the RTX Real-Time Kernel and a guide for porting RTX to your ARM microcontroller.
You also need to port the Real-Time agent to it.
I just want to make sure that you have followed the guidelines. If you have and are still having problems, we will continue to explore this.
Thanks,
National Instruments
LabVIEW Embedded Product Support Engineer -
How can I use Automator to open and save Word docs with links?
Hi-
I'm having trouble building a Workflow to open and save Word docs with links.
My Workflow so far:
1. Get Finder items
2. Copy Finder items (to new folder)
3. Rename selected items
4. Open selected items (Word docs)
Three problems occur.
The first is a Word 2004 problem -- I can't get the warning "This document has links in it; do you want to open it with/without updating the links" to go away (Unilke the Macro warning toggle capability, there is nothing in the Preferences for Word 2004 that addresses the links warning, as far as I can tell; any insight you can shed on this would be terrific.)
The second problem happens with Automator: if I manually accept the update of the first document's links, Automator opens that document but then halts completely, even though I've instructed it to open multiple documents.
The third problem I have is that there's no Finder action in Automator that allows me to save the document that's now open (as far as I can see).
Any suggestions for how to fix? If I can get this to work, and scheduled in iCal, it will be an unbelievable time saver.
Thanks,
Jeremy
PowerPC G5 Mac OS X (10.4.6)Hi there Jeremy,
to do this you are going to have to add in some Run AppleScript steps...
These will rely on GUI Scripting. So first you need to activate GUI Scripting.
Now we need to add in a Run AppleScript action to the end of your workflow...
This will replace your current number 4 in the workflow (Open Selected...)
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">on run {input, parameters}
set allItems to every item of input
repeat with currItem in allItems
tell application "TextWrangler"
open currItem
end tell
activate application "TextWrangler"
tell application "System Events"
tell process "TextWrangler"
delay 2
--when the Word document is opened I have told it to press okay !
--I don't know what key you want it to press in the dialog box
keystroke return
delay 2
--save the doc
keystroke "s" using command down
delay 5
--close the doc
keystroke "w" using command down
end tell
end tell
end repeat
return input
end run</pre>
The above script should open each Word Document, press a button in the dialog box then do a save and then close the doc...then loop through the rest of them.
You need to replace the name Text Wrangler with Microsoft Word (or whatever it is called!), I don't have it on my Mac.
You will have to let me know what button needs pressing in the first dialog, if it isn't the 'highlighted ' one then we will have to amend the script...
regards
Ric
Maybe you are looking for
-
SOAP Adapter Java Null Pointer, Receiver receive mutiple times of message
Hi, My scenario is Proxy -> PI 7.1 -> Soap receiver. The scenario was working before , and recently we got System Fails in adapter: ********************Adapter Audit Log**************************** 2010-01-11 10:41:16 Information The message was succ
-
How Do I find out if Oracle 8.1.5 is running in 32 bit or 64 bit mode?
How Do I find out if Oracle 8.1.5 is running in 32 bit or 64 bit mode? Can anyone please respond that may know the answer to this? It would help a bunch. Thanks! Greg
-
Time limit is not working correctly
I'm using a dot-connection task in which my participants have to complete a picture by 'drawing' a line with the mouse to connect numbered dots. They get a time limit of 10 seconds to do this; and they have to do it with three different pictures, so
-
Problem in connecting database in jsp.
I have oracle 7.3.4.0.1 I am trying to make a connection with oracle database. Following is the test.jsp file <html> <body bgcolor= white > <%@ page language="java" import= "java.io.*"%> <%@page import="javax.servlet.*"%> <@page import="javax.servlet
-
WRE54G expander setting static ip address, then no internet?
I have set a static ip address on my wired computer for the expander. I can access the setup page, but not the internet. So, I went and set my computer back to " obtain ip address automatically ". Now I can access internet, but not the expander set u