OPC: what is the path to follow in LabVIEW 8.20?

Hello:
I started with OPC in Labview 6. The only two functions that I need is "read  multiple tags" and "write tag". The tags are either located on the same PC or on a different one. I use Labview as an OPC client. The number of tags that i need to acquire is in the range of 2000-5000, once per minute. In Labview 6 and 7, all experts in the discussion forum and at NI said that above 100 tags, it was impossible to use Datasocket (performance issue when too many tags) and that the preferred path had to be DSC. So I started using DSC. Now that I migrated towards LabVIEW 8.20 the people at NI say that the best option is to use.... Datasockets! The read/write tags vi having  disappeared the suggest me to make my own "read multiple tags.vi" and "write tag.vi" by encapsulating a "DS read/ write" in a for loop. As an entry to the loop, I would just wire the ref number that the connection ids that the Datasocket Open.vi supplies.
So my first question: why is this old Datasocket mechanism again the path to follow in Labview 8.20?
By curiosity I checked in Labview 8.20 what was embodied in the "read multiple tags.vi" that were shipped in the Labview DSC 7.1. And found that the very last layer of the Vi used... Datasocket read in a for loop.
So my second question: why was the Datasocket mechanism so poor in Labview 6 and 7 (for more than 100 tags) and now is the preferred way to go?
I cannot use the shared variable mechanism in my case because the entry of my application is a list of tags (2000-5000) to read and I just want an automated way to read these tags values in one take.
As I need to install the compiled application on dozens of PC I would prefer not to be forced to buy the DSC licenses on each runtime machine hence Datasocket that does not require the DSC license might be a good choice?
Thanks for all ideas and comments,
Christophe

I have an example of a DSC application in this thread. This is in DSC 7.0 format.
http://forums.ni.com/ni/board/message?board.id=170&message.id=234478#M234478
Here is the scf file. It might have some stuff added to it since the llb file was created.
Attachments:
d103210.zip ‏3 KB

Similar Messages

  • What is the path in the filesystem for the deployed Wendynpro application .

    What is the path in the filesystem for the deployed Wendynpro application in the WAB AS
    We have a different version of webdynpro application running in production and non production , what is the process for overwriting the deployed application from one enviorment to another.
    Please help..

    Hi,
    What is the path in the filesystem for the deployed Wendynpro application in the WAB AS
    If you search for your component under the /usr/<SID> folder
    We have a different version of webdynpro application running in production and non production , what is the process for overwriting the deployed application from one enviorment to another.
    If you have NWDI in place CTS would help in this, else you can deploy your application using sdm.
    in CE you can deploy the application from NWDS.
    Regards
    Ayyapparaj

  • What are the steps u followed in your project

    Hi....
    he asked me like this
    1...what are the steps u followed in your project?
    thanks and regards,
    k.swaminath reddy.

    Hi,
    1.Discovery of problems
    2. Expectations
    3.develop solutions...
    4.Implement Solution...
    4.1 Installation
    4.2 Testing
    4.3Training
    4.4Support
    5.Project Closedown

  • What are the main instruction followed  in flatfile for hierarchy

    what are the main instruction followed  in flatfile for hierarchy

    Hi,
    If you want to load InfoObjects in hierarchy form, you have to activate the indicator With Hierarchies for each of the relevant InfoObjects in the InfoObject maintenance. If necessary, you need to specify whether the entire hierarchy or the hierarchy structure is to be time-dependent, whether intervals are permitted in the hierarchy, whether additional node attributes are allowed (only when loading using a PSA), and which characteristics are allowed.
    The detailed procedure is listed in the link below
    http://help.sap.com/saphelp_bw33/helpdata/en/b0/ab8e3cb4340b14e10000000a114084/frameset.htm
    Remya

  • Where does the "Internet Plug-in" folder go?  What's the path?

    Where does the "Internet Plug-in" folder go?  What's the path?  I moved it by misake and don't know how to put it back where it belongd

    The folder should be In Macintosh HD (Or whatever your hard drive is called) >> Library.... just copy the folder into the Library folder.

  • "the system cannot find the path specified" followed by x:\windows\system32

    Hi I have an HP pavilion g6, my recovery goes perfect up to this point a black window pops up with the system cannot find the path specified what is the reasoning for this I have a new hard drive and CD/DVD drive is there something else that is wrong with it to make it not complete the recovery?

    Using the Recovery disk set on the new hard drive, correct?  When this happens, is the Recovery disk still in the CD/DVD drive?  Actually the  " X:\ " part indicates that the install routine is still looking for the virtual memory slot that the Recovery Environment made during the recovery.  It has to find the real partition.
    HERE is a site that seems confident with the solution, but it is the only one I found that seemd to find a solution.
    {---------- Please click the "Thumbs Up" to say thanks for helping.
    Please click "Accept As Solution" if my help has solved your problem. ----------}
    This is a user supported forum. I am a volunteer and I do not work for HP.

  • Snippet,  iframe not playing the game. Flashskins player. What's the Path?

    Hi guys and girls...
    I'm having snippet flash player problem. Searched around ALOT and seems like I've tried everything. I'm sure I haven't though. Maybe someone can suggest something else?
    So iweb 08, trying to embed a flashplayer, using an iframe.
    I have my files on idisk in SITES, same place as index.html. Took me ages just to get that right. BTW is it?
    I am trying to use a flashskins flashplayer in iweb. On a g4, runing tiger. The guy from flashskins told me to enbed a iframe that will point to my files, cause I just could'nt get it to work by putting the flashobject file into the snippet. They suggest this code
    <iframe width="342" height="119" frameborder="0" src="PATH TO YOUR FLASHSKIN PLAYER/audioplayer7.swf"</iframe>
    So my Q is..
    what's the correct path to my files.?
    is it http://web.me.com/yourusername/Web/Sites/mediaplayerws.swf
    or //Volumes/yourusername/Web/Sites/mediaplayerws.swf
    or idisk.mac.com/yourusername/Web/Sites/mediaplayerws.swf
    or something else?
    And.. is everything else I'm doing correct. It's giving me a heart attack...
    Anyways if any angels out there can shed some light on this one. You might just save my computer from certain vocal abuse : )
    Thanks in advance.
    m

    Hi,
    Thanks R.
    I don't mind about background colour. I want to keep it fairly simple so it actually loads for people. The main goal is for the music to get to ears.
    SO I need to change my page to white? Bummer. Yours is black though. Ok I'll try that.
    And, are you saying IE won't play flashskins at all?
    So should I scrap that idea and use an object perhaps?
    I should say that within iweb the iframe appears with a message +"NOT FOUND" "The requested URL was not found on this server+" And shows the address I pointed to web.me.com/myname/Web/Sites/mediaplayerws.swf
    What a puzzle this is turning out to be.
    Thanks for you time. I read your whole site last week, loved it. It got me into this caper, after years of putting off learning a web design program. I know so many music programs and the like that the last thing I needed was to learn another language (program). But your site showed me I can get something simple, tasteful, and effective. I'm on the final stretch, just this d a m n Mplayer.
    Rock on,
    m
    Message was edited by: The...........Haggis

  • What are the steps to follow after you install a new Hard Drive on a 17in Macbook Pro mid 2009

    I plan on installing a larger Hard Drive..the physical part is simple..but what are the steps after you close it up and hit the power button? Is there softwre on the mother board that will start the unit running??

    A new Hard drive will not be Mac-formatted, so you will have to do that first. A copy of Disk Utility to do the job is also on the 10.6 Installer/Utilities DVD.
    Boot to the installer DVD, but do not Install. Answer only the "what language" question, and wait a quarter minute for the menuBar to be drawn. Choose Disk Utility from the Utilities menu that appears.
    Select the Hardware_name of the new Drive. Partition, one partition, ( Options ), GUID partition table. Name the partition: MacIntosh HD and choose Format: Mac OS X Extended (journaled). It will complete in a minute or two, as it only rewrite the Directory area.
    If you wish to shake out your drive, you can erase it and Security Erase, Zero all data, one pass. But this takes HOURS.

  • How to add image in PDF using JspDyn and what is the path to keep images

    Hi anyone help me out to get this issue solved...
    I'm creating PDF on the fly but I'm unable to get the image in it. It says Invalid path if i give the path like this  Image image =new Image(     request.getWebResourcePath() + /images/MyLogo.gif","picture Mylogo.gif");
    And also I have tried like this
    com.lowagie.text.Image img =                    com.lowagie.text.Image.getInstance("MyLogo.gif");          document.add(img);
    I have  kept the image in /images folder.
    Still i'm facing path problem....
    Please guide me to resolve this issue..
    Regards,
    Joseph

    Hi Joseph,
    Your images will be stored under..
    NWDS path :
    dist/images/your_image.gif
    Server path:
    E:\usr\sap\DP4\JC04\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\portalapps\your_par_name\images\your_image.gif
    you can access the image from this server path..
    ->
    request.getPrivateResourcePath() will give you the path upto ..
    E:
    usr
    sap
    DP4
    JC04
    j2ee
    cluster
    server0
    apps
    sap.com
    irj\servlet_jsp
    irj
    root
    WEB-INF
    portal
    portalapps\
    come back 2 directories back upto..
    root\your_par_name\your_image_name
    Try this and let me know.
    Hope it helps.
    Regards,
    Karthick

  • What are the steps to follow before disabling iCloud?

    After working a while with my iMac running Mountain Lion in combination with iCloud, I have to disable iCloud because I'm going across the ocean for a while. I don't want to end up with a huge bill because every time I use my iPhone, it will sync (while no Wi-Fi available).
    As a matter of fact, I already archived my Contacs, Calanders and Reminders (Notes doesn't have such a feature), but it seems to put everything back to the iCloud account after importing.
    My question is: What is the step-by-step approach to disable iCloud (both iPhone and iMac) without losing any data?
    Many thanks in advance!
    Cheers,
    GJ

    Thanks a lot, mende1!
    It works. (Only Notes is set up differently, but that's not a real issue for me.)
    If I do the same on my iMac, I don't get that question. Is there a possibility to restore these data from my iPhone to my iMac?

  • What is the path or TC for changing control of recon account in vendor

    Hi Gurus,
    Pl tell the TC or Path for changing the reconciliation account control for vendor as like in asset recon account.
    Pl itsUrgens
    Thanks in advance

    Hi:
             What i guess from your requirement that you need to control the field Reconciliation account, some users should be allowed to change the recon account and other should be restricted from doing so? If i am right then you can do that easily with the help of BASIS guy. F_LFA1_AEN     Customer: Change Authorization for Certain Fields will do the needful for you.
    Ask your Basis consultant to implement authorization's checks against F_LFA1_AEN for this Transaction code for the user profiles as desired by you. Before that do the necessary customization in SPRO as follows:
    Define your change groups in the task level menu of Financial Accounting >A/R & A/P -> Credit management -> Define Field group-> Assign Fields -> Groups.
    While assigning you can find the field LFB1-AKONT  . Your issue will be resolved.
    Regards

  • What is the path to use SSO for ASP Applications

    We have a big Active Server Pages based web site.
    And we want to integrate the whole site to Oracle Portal
    Authentication and Security.
    The ASP web site doesn't want to mantain user information.
    What to do?
    I found that external applications are not the solution for me.
    And URL components doesn't managed the security when I follow a
    link or submit a form, because I got a new page directly from
    the url of the ASP web site
    Please help me to understand what options for full integration
    are available? And where do I need to add code for this?
    Any idea will be appreciate

    Refer following ink
    http://blog.anthonybaker.me/2013/06/how-to-upload-file-from-windows-phone.html
    http://stackoverflow.com/questions/20876559/window-phone-8-how-to-read-files-from-savedpictures-folder-into-a-byte-buffer
    Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

  • WHAT ARE THE CORROSION STANDARDS FOLLOWED BY NATIONAL INSTRUMENTS PRODUCTS?

    DOES THE PRODUCTS OF NATIONAL INSTRUMENTS FOLLOWS ANY CORROSION STANDARDS LIKE ISAG3 OR SIMILAR TYPES?

    Hi,
    I was very astonished today to find such files in forms90 directory on my w2k box, so I tried to figure out where they come from. I've checked my config files just to make sure that logging and tracing is disabled. workingDirectory parameter in formsweb.cgf is not set. I can confirm most of what Yong Huan says except of the first 8 bytes of these files. Some of these files have x47 and x08 followed by six x00.
    However, I did some testing and found out that an empty file is created when a user runs a form with a multi-line block, executes a query, navigates to the last record using pagedown-key and pressing pagedown-key again and again (about 3 or 4 times). The file remains empty. If the user ends his forms-session, the file is deleted. I have not found out yet under which circumstances data is being written to that file.
    It would be nice if someone else could confirm this, and it would be very nice if someone from Oracle could comment on this.
    Gerald

  • What are the reasons for following Javascript error in Report Viewer

    Post Author: dhuka
    CA Forum: Crystal Reports
    Hello Everybody!
    I am using Crystal Reports 10 in my web application. But unfortunately I am surrounded with strange problem related to it because of which I have been unable to deploy is on client-side. In my application the error given below is displayed as javascript error in Report Viewer and report is not displayed. But more frustrating part is that I am getting the same error due to different problem with reporting and I am stuck with it as I am unable to figure out what's causing the error now. Earlier this error appeared due to problem with parameter passing to stored procedure which I resolved it and error vanished but once again it has shown up. Moreover this error now appears less frequently and randomly therefore it is even difficult to trace the cause.
    Problem with this Web page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.
    Line: 40Char: 12Error: Expected ')'Code: 0URL: http://myServer/myApp/myForms/myReports/ReportViewer.aspx
    So can anybody tell me what factors might be causing this errors as the error text is very vague in nature and gives no idea about the actual error.
    Guys, I hope for your kind co-operation.
    Regards,

    Post Author: dhuka
    CA Forum: Crystal Reports
    Thanks for you reply Krishna.
    But this syntax error is the one that is creating problem for me as I cannot trace it. The form ReportViewer.aspx contains only a report viewer object which remains un-binded to any ReportDocument even at runtime.
    At code behind ReportViewer.aspx I have code below that associates SQL Stored Procedure Parameter and Report Filter along with report name. Once all above is associated with ReportDocument, I export ReportDocument to PDF file format and display the report. Here I dont' even bind ReportDocument with my ReportViewer. Moreover, as I mentioned previously this error is encountered randomly (with no reasonable explanation so far) on client PC (while browsing through application).
    I hope below code give you good idea of the way I am implementing my reporting.
    Looking forward to you solution. Please note that I am only passing the ReportFileName and Parameter and Filter Criteria to this form while dataTable by itself using the connection information.
    <<<<<<<<<<<<<<<<<CODE BEHIND of REPORTVIEWER.ASPX>>>>>>>>>>>
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim strKeys() As String
    Dim strReportFilter As String
    Dim strReportName As String
    Dim strError As structError
    Try
    ReDim strKeys(0)
    If strReportName = "" Then
    strReportName = Context.Session("ReportName").ToString()
    If Not Session("ReportParameters") = Nothing Then
    Dim char_Delimiter() As Char = ";".ToCharArray()
    strKeys = Session("ReportParameters").ToString().Split(char_Delimiter)
    End If
    If Not Session("ReportFilter") = Nothing Then
    strReportFilter = Session("ReportFilter").ToString()
    End If
    Else
    Session("DataTable") = Nothing
    End If
    If Not ViewParameterReport(strReportName, strKeys, strReportFilter, strError) Then
    ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
    Exit Sub
    End If
    Catch ex As Exception
    strError.strMsg = Err.Description
    ASPNET_DisplayErrorMessageBox(strError.strMsg, Me)
    Finally
    End Try
    End Sub
    Private Function ViewParameterReport(ByVal str_ReportName As String, ByVal str_ReportParameters() As String, ByVal strReportFilter As String, ByRef strError As structError) As Boolean
    Dim str_ReportPath As String = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
    Dim crLogInfo As TableLogOnInfo
    Dim crConnectionInfo As ConnectionInfo
    Try
    str_ReportPath = CStr(ConfigurationSettings.AppSettings.Get("ReportPath"))
    o_Rpt = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    o_Rpt.Load(str_ReportPath & "\rpts\" & str_ReportName)
    If Context.Session("DataTable") = "" Then
    crLogInfo = New TableLogOnInfo()
    crConnectionInfo = New ConnectionInfo()
    crLogInfo = o_Rpt.Database.Tables(0).LogOnInfo
    crConnectionInfo = o_Rpt.Database.Tables(0).LogOnInfo.ConnectionInfo
    clsDbCnn.SetDBProperties()
    crConnectionInfo.ServerName = clsDbCnn.Server
    crConnectionInfo.DatabaseName = clsDbCnn.Database
    crConnectionInfo.UserID = clsDbCnn.UserID
    crConnectionInfo.Password = clsDbCnn.Password
    crLogInfo.ConnectionInfo = crConnectionInfo
    o_Rpt.Database.Tables(0).ApplyLogOnInfo(crLogInfo)
    Else
    ds_MISReports = New DataSet()
    ds_MISReports = CType(Session("DataTable"), DataSet)
    o_Rpt.SetDataSource(ds_MISReports)
    End If
    If Not IsPostBack Then
    Dim param_Fields As CrystalDecisions.Shared.ParameterFields = New ParameterFields()
    Dim iCount As Integer
    If str_ReportParameters.GetUpperBound(0) <> 0 Then
    For iCount = 0 To str_ReportParameters.Length - 1 Step 2
    o_Rpt.SetParameterValue(CStr(str_ReportParameters(iCount).ToString()), CStr(str_ReportParameters(iCount + 1).ToString()))
    Next
    o_Rpt.RecordSelectionFormula = strReportFilter
    End If
    End If
    'crViewer.DisplayGroupTree = False
    'crViewer.ReportSource = o_Rpt
    SetDBLogonForReport(crConnectionInfo, o_Rpt)
    Dim TargetFileName As String
    Dim fs As System.IO.FileStream
    Dim FileSize As Long
    Dim GenDS As DataSet
    'Dim oRD As New ReportDocument()
    Dim crReportObject As CrystalDecisions.CrystalReports.Engine.ReportObject()
    Dim oExO As ExportOptions
    Dim oExDo As New DiskFileDestinationOptions()
    'Build Target Filename
    TargetFileName = str_ReportPath & "\Pdfs\" & Session.SessionID & ".pdf"
    'Export to PDF
    oExDo.DiskFileName = TargetFileName
    oExO = o_Rpt.ExportOptions
    oExO.ExportDestinationType = ExportDestinationType.DiskFile
    oExO.ExportFormatType = ExportFormatType.PortableDocFormat
    oExO.DestinationOptions = oExDo
    o_Rpt.Export()
    o_Rpt.Close()
    'Send the file to the user that made the request
    Response.Clear()
    Response.Buffer = True
    Response.AddHeader("Content-Type", "application/pdf")
    Response.AddHeader("Content-Disposition", "attachment;filename=MyReport.pdf;")
    fs = New System.IO.FileStream(TargetFileName, IO.FileMode.Open)
    FileSize = fs.Length
    Dim bBuffer(CInt(FileSize)) As Byte
    fs.Read(bBuffer, 0, CInt(FileSize))
    fs.Close()
    Response.BinaryWrite(bBuffer)
    Response.Flush()
    Response.Close()
    o_Rpt = Nothing
    Return True
    Catch ex As Exception
    strError.strMsg = Err.Description
    Return False
    Finally
    crConnectionInfo = Nothing
    crLogInfo = Nothing
    End Try
    End Function
    Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, _
    ByVal myReportDocument As ReportDocument)
    Dim myTables As Tables = myReportDocument.Database.Tables
    Dim count As Integer
    For count = 0 To myTables.Count - 1
    Dim myTableLogonInfo As TableLogOnInfo = myTables(count).LogOnInfo
    myTableLogonInfo.ConnectionInfo = myConnectionInfo
    myTables(count).ApplyLogOnInfo(myTableLogonInfo)
    myTables(count).Location = myConnectionInfo.DatabaseName & ".dbo." & myTables(count).Location.Substring(myTables(count).Location.LastIndexOf(".") + 1)
    myTables(count).LogOnInfo.ConnectionInfo.ServerName = myConnectionInfo.ServerName()
    Next
    End Sub

  • What is the path and filename where the profile paths are stored?

    I currently am storing my profiles on a network drive. Due to some changes coming up in my home network I need to relocate them to a different drive and drive letter. I know there is a file in Firefox that has the locations of the profiles in it. I need to know the fully qualified path to find this file. The operating system is Windows XP and I am currently running the latest Firefox 3.6 on it.

    Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    See also:
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/Moving_your_profile_folder

Maybe you are looking for