Unable to read "read/write" OPC tags through datasockets

I am having problems reading tags from an OPC server that are "read/write" access. Reading "read-only" tags works good. I am using the Datasocket Open.vi and Datasocker Read.vi and I have tried to set the mode input of the Datasocket Open to "read/write" follow by a Datasocket Read without any success. I am constantly getting the 1179 error as return.  
I have tried to read the same tags with an OPC Client software and it works fine.
Anyone that have successfully read a "read/write" OPC tag using Datasockets?  

Are you watching these variables in another program as well? I have seen this error pop up before when variables were on the watch list and variable manager was open.  Make sure you have nothing else grabbing the resource at the same time.
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video

Similar Messages

  • How do I read/write many matrices through TCP server?

    I'm trying to modify the simple data client and the simple data server program in example in LabVIEW6i. How do I send a 2 dimension nummeric matrix? and also how do I send many numeric matrices at a time?

    The problem here is that at the receiving end, one cannot know how many
    bytes to read before unflattenning into the datatype.
    A method that works for *any* datatype (and any data transfer mechanism):
    Flatten the data to string.
    Flatten again the string to string; this adds a string lenght (U32) header
    to the string.
    Send the string.
    When receiving data, first read 4 bytes and convert to U32.
    Read this number of bytes.
    Typecast the string to the expected datatype.
    Jean-Pierre Drolet
    ----- Message d'origine -----
    De : "Mark Hanning-Lee"
    Groupes de discussion : comp.lang.labview
    Envoye : 6 septembre, 2001 22:21
    Objet : Re: How do I read/write many matrices through TCP server?
    > Lab Viewer wrote:
    > >
    > > Hi Irene,
    > > Re
    garding that example, probably you are wondering how can you pass a
    > > 2D array to Type Cast.VI (it accept only 1D array). The answer is
    > > Reshape Array.VI. Use this VI to transform your multidimensional array
    > > in a 1D array (after that use Type Cast.VI to transform it in a
    > > string). Also, you can use Array To Spreadsheet String.VI in order to
    > > obtain a string to send via TCP, but in this case the string is
    > > longer.
    >
    > Or better, wire the 2D array to the Flatten to String function, which
    > accepts any data type.
    >
    > When you receive the data, wire the string into the Unflatten from
    > String function. You'll need to wire a 2D array of the same
    > representation into the type input of that function.
    >
    > Mark
    LabVIEW, C'est LabVIEW

  • Unable to read/write bytes using 9870 with cRio 9151

    Hi everyone,
    I'm currently having some problems trying to use 2 ports of module NI 9870. I'm unable to read bytes even if I try to send some datas (I always get a Timeout) and I'm also unable to write some datas( I can't see nothing on Hyperterminal).
    Please find enclosed a snapshot of my Fpga code.
    Regard,
    Nicolas Kaminski, Toulouse France
    Attachments:
    ReadBytes.jpg ‏93 KB
    WriteBytes.jpg ‏30 KB

    Hello,
    Can you give us some other details:
    Are you sure that you provide power to the 9870 module?
    Do you have tested your system with an example? (NI-987x Serial Loopback.lvproj)
    DO you get something through that loopback?
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • Maxl script unable to read/write to a folder

    When logged in to EAS, we are trying to run a maxl script to read/write to a report script in a particualr folder on the server. Even though the eas login username has write permissions to that folder, the maxl keeps saying: unable to open file.
    Is there any internal Hyperion service account that should specifically have write permissions to the folder?
    here is the maxl:
    SPOOL ON TO 'D:\Oracle\WE.log;
    LOGIN 'username' 'password' on 'server1';
    ALTER SYSTEM LOAD APPLICATION 'Plan1';
    ALTER APPLICATION 'Plan1' LOAD DATABASE 'Main';
    export database Plan1.Main using report_file 'D:\Oracle\WE.rep' to data_file 'D:\Oracle\WE.rpt';
    SPOOL ON TO 'D:\Oracle\REV.log';
    When we run it, we get the following error:
    It gets past the alter systen and alter application commands, and then:
    'Unable to open file ['D:\Oracle\WE.rpt']

    Have you tried running it from a maxl session and not EAS, if you are testing using maxl you may need double backslashes instead of single ones.
    Have you tried with the report script in the database app folder and using the server option - export database Plan1.Main using server report_file 'WE' to data_file 'D:\Oracle\WE.rpt';
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to read/write CDs/DVDs

    I have a Sony DVD RW DW-U10A combo drive. I have been unable to write CDs for a few weeks now, but manage with my MacBook. Now however, the drive in the iMac doesn't see either blank or written CDs, or professionally produced CDs. This also applies to all DVDs.
    The only, but major, change that I have made is to upgrade to Tiger. I cannot categorically link the problem with the upgrade.
    Could this be the cause of the problem? What can I do to be able to read/write CDs while using Tiger?
    How can I clean the CD lense if that is also contributing to the problem?
    Thanks in advance
    PG

    Hello and Welcome to Apple Discussions. 
    You really need to repost over in the MacBook forums. The hardware is very different.
    http://discussions.apple.com/forum.jspa?forumID=1172
    regards
    mrtotes

  • IPod gets read/write error halfway through transfering songs

    Ok, I posted the other day about a read write error on my iPod. I got it replaced. New one didn't work on my home computer but I did get it up and running on my laptop at work. When I got home I plugged the iPod into my home computer. Everthing was fine (I have it on manually update). When I tried to put music files on my iPod (drag and drop) I did one and it worked fine. Then I highlighted a group and dragged it over. They were transfering. Then halfway through I got the read write error.
    Can anyone explain why this would happen? Why did it work for a little bit and then refuse to keep transfering songs? Do I have to do them one at a time when I manually update? I basically had to restore the iPod when I got to work this morning. Things are fine now. It would be a pain (but still bearable) if I can't use my iPod at home.

    Can anyone explain why this would happen? Why did it work for a little bit and then refuse to keep transfering songs?
    The problem could be one of mnay mentioned in the link below. A complete Reformat of the IPOD using Windows would be a great start and then "restore" the IPODs software. The drive on the IPOD seems to get corrupted at some point and this is the best way I have found to get rid of the problem.
    "Disk cannot be read from or written to" when syncing iPod or "Firmware update failure" error when updating or restoring i
    Pod:http://docs.info.apple.com/article.html?artnum=301267

  • Unable to read/write to external FW drive

    I have a LaCie external D2 drive and just noticed since I got a new MacBook Pro that I'm getting read/write error -36 when attempting to copy files to/from the disk.
    The actual finding of the problem was on reinstalling and configuring Silverkeeper for backups. I've had problems with Silverkeeper in the past but was giving it one last chance before moving to Retrospect. When it failed I started to config Retrospect and when I set it to discover connected drives it didn't see the external harddrive but did see the internal & external DVD/CD burners. The external DVD/CD burner is also LaCie and was first in the firewire chain but even disconnecting it and connecting the external drive has no effect. So when neither backup program worked I tried an individual file copy from the internal to external drive and received the "error -36"
    Do I need to format the drive to work with the MacPro or is this a permissions problem?
    K.

    Has the drive ever been formatted? If not, then yes
    you need to format the drive before you can use it.
    Otherwise check with LaCie's technical support.
    Yes, the drive has been formatted and was used with my old Powerbook for backup purposes. I forgot to mention that the drive does appear on the desktop when I boot up etc and I can open the Finder window on it and navigate the folders etc located on the drive. Just no read/write

  • Unable to Read Calendar List Items through CAML

    Hi All,
    * I have created two columns in calendar one Year and other Month.When new event is added in calendar through (Item Added) event receiver I am setting the values to this columns as Name of Month to(February) and Year as(2014)  .So that I can fetch the
    data easily based on month and year
    * Through this Columns Secondly when I try to fetch the data to count number of items of particular month and year using caml query I am getting error as below .
    "Error:One or more field types are not installed properly. Go to the list settings page to delete these fields."
    *My below caml code is working fine if i applied to custom list,But not to calendar.Can any one help me for what reason I am unable to fetch data
    Code
     string year="2014";
     string month="February";
     SPSite mysite = SPContext.Current.Site;
     SPWeb myweb = mysite.OpenWeb();
    SPList mylist = myweb.Lists["Calendar"];
     SPQuery myquery = new SPQuery();
      myquery.Query = @"<Where>
                                          <And>
                                           <Eq>
                                             <FieldRef Name='Year'/>
                                             <Value Type='Text'>" + year + @"</Value>
                                          </Eq>
                                          <Eq>
                                             <FieldRef Name='Month' />
                                             <Value Type='Text'>" + month + @"</Value>
                                          </Eq>
                                         </And>
                                      </Where>";
     SPListItemCollection totaltiems = mylist.GetItems(myquery);
      Label1.Text= "Total Number of Items is "+" "+totaltiems.Count.ToString();
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .

    Hi,
    According to your post, my understanding is that you got an error when read calendar list items using CAML.
    I created two single line of text columns in the Calendar( Year and Month), then add items in the Calendar to check with your code. The CAML query worked well as below.
    string year = "2014";
    string month = "February";
    using (SPSite oSiteCollection = new SPSite("Your site URL"))
    using (SPWeb myweb = oSiteCollection.OpenWeb())
    SPList mylist = myweb.Lists["Calendar"];
    SPQuery myquery = new SPQuery();
    myquery.Query = @"<Where> <And> <Eq> <FieldRef Name='Year'/> <Value Type='text'>" + year
    + "</Value></Eq><Eq>+ "
    + " <FieldRef Name='Month' />+ "
    + " <Value Type='text'>" + month + "</Value>+ "
    + " </Eq> </And></Where>";
    SPListItemCollection totaltiems = mylist.GetItems(myquery);
    Console.WriteLine( "Total Number of Items is " + " " + totaltiems.Count.ToString());
    Console.ReadLine();
    Which type of the two columns in your Calendar? Were they text type?
    Are you sure the field name(<FieldRef Name='Year'/>,
    <FieldRef Name='Month' />) is same as internal name?
    We should only use internal name while refrencing columns in CAML query. If you have space In you column , replace it with "_x0020_", such as
    News_x0020_Category. 
    Thanks & Regards,
    Jason 
    Jason Guo
    TechNet Community Support

  • Unable to read recordsets in oracle through VB6/ADO 2.0

    Problem: Not able to access/read partiular field of any table(in Oracle) through vb6/ADO.
    Note the "insert into" SQL statement is working and through SQL worksheet in Oracle 8.0 , version 1.5.0 (which I am using) I am able to read all the records but whenever I try to read it through the VB6 by the command - "recordset!field name" , the following error is generated.
    Error:
    Run time error:- 2147417848(80010108)
    method 'xxxx' of object 'yyyy' failed
    Environment:
    Windows NT 4.0 Oracle 8, version 1.5.0
    Visual Basic 6.0
    ADO 2.0 object library
    oracle ODBC driver version: 8.00.0400
    I enclose below the lines of code.
    Dim AccDb As New ADODB.Connection
    Dim AccountGroup As New ADODB.Recordset
    Dim AccountSetup As New ADODB.Recordset
    Dim Mgrp As String
    Global Const CntString = "DSN=DATAB;UID=INTERNAL;PWD=ORACLE;"
    Mgrp = ""
    AccDb.ConnectionString = CntString
    AccDb.Open
    AccountGroup.Open "Account_Group", AccDb, adOpenStatic, , adCmdTable
    AccountSetup.Open "Account_Setup", AccDb, adOpenStatic, , adCmdTable
    AccDb.BeginTrans
    If Fld_AccGroup <> "" Then
    StrCriteria = "Accid =" & Fld_AccGroup & ""
    AccountGroup.Find StrCriteria
    If Not AccountGroup.EOF Then
    Grp = FillText(AccountGroup!Acc_Group) ' filltext is a user defined function
    End If
    Mgrp = Trim(Grp)
    LGrp = Right$(Str$(1000 + Val(AccountSetup!Last_Grp)), 3)
    Else
    LGrp = Right$(Str$(1000 + Val(AccountSetup!Last_Grp)), 2)
    End If
    Grp = Trim(Grp) + LGrp
    'Sql = "Execute sp_InsertAccountGroup '" & Grp & "','" & Fld_AccName & "','" & Fld_PlBl & "'"
    Sql = "Execute sp_InsertAccountGroup "
    AccDb.Execute (Sql)
    AccDb.CommitTrans
    AccountSetup.Close: Set AccountSetup = Nothing
    AccountGroup.Close: Set AccountGroup = Nothing
    AccDb.Close: Set AccDb = Nothing
    Exit Sub
    SaveErr:
    AccDb.RollbackTrans
    For Each Errloop In Errors
    With Errloop
    StrError = _
    "Error #" & .Number & vbCr
    StrError = StrError & _
    " " & .Description & vbCr
    StrError = StrError & _
    " (Source: " & .Source & ")" & vbCr
    End With
    MsgBox StrError, vbCritical, MsgTtl
    Next
    AccDb.RollbackTrans
    Resume Next
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sandip Tusnial ([email protected]):
    Problem: Not able to access/read partiular field of any table(in Oracle) through vb6/ADO.
    Note the "insert into" SQL statement is working and through SQL worksheet in Oracle 8.0 , version 1.5.0 (which I am using) I am able to read all the records but whenever I try to read it through the VB6 by the command - "recordset!field name" , the following error is generated.
    Error:
    Run time error:- 2147417848(80010108)
    method 'xxxx' of object 'yyyy' failed
    Environment:
    Windows NT 4.0 Oracle 8, version 1.5.0
    Visual Basic 6.0
    ADO 2.0 object library
    oracle ODBC driver version: 8.00.0400
    I enclose below the lines of code.
    Dim AccDb As New ADODB.Connection
    Dim AccountGroup As New ADODB.Recordset
    Dim AccountSetup As New ADODB.Recordset
    Dim Mgrp As String
    Global Const CntString = "DSN=DATAB;UID=INTERNAL;PWD=ORACLE;"
    Mgrp = ""
    AccDb.ConnectionString = CntString
    AccDb.Open
    AccountGroup.Open "Account_Group", AccDb, adOpenStatic, , adCmdTable
    AccountSetup.Open "Account_Setup", AccDb, adOpenStatic, , adCmdTable
    AccDb.BeginTrans
    If Fld_AccGroup <> "" Then
    StrCriteria = "Accid =" & Fld_AccGroup & ""
    AccountGroup.Find StrCriteria
    If Not AccountGroup.EOF Then
    Grp = FillText(AccountGroup!Acc_Group) ' filltext is a user defined function
    End If
    Mgrp = Trim(Grp)
    LGrp = Right$(Str$(1000 + Val(AccountSetup!Last_Grp)), 3)
    Else
    LGrp = Right$(Str$(1000 + Val(AccountSetup!Last_Grp)), 2)
    End If
    Grp = Trim(Grp) + LGrp
    'Sql = "Execute sp_InsertAccountGroup '" & Grp & "','" & Fld_AccName & "','" & Fld_PlBl & "'"
    Sql = "Execute sp_InsertAccountGroup "
    AccDb.Execute (Sql)
    AccDb.CommitTrans
    AccountSetup.Close: Set AccountSetup = Nothing
    AccountGroup.Close: Set AccountGroup = Nothing
    AccDb.Close: Set AccDb = Nothing
    Exit Sub
    SaveErr:
    AccDb.RollbackTrans
    For Each Errloop In Errors
    With Errloop
    StrError = _
    "Error #" & .Number & vbCr
    StrError = StrError & _
    " " & .Description & vbCr
    StrError = StrError & _
    " (Source: " & .Source & ")" & vbCr
    End With
    MsgBox StrError, vbCritical, MsgTtl
    Next
    AccDb.RollbackTrans
    Resume Next
    <HR></BLOCKQUOTE>
    null

  • Unable to read/write Windows files on mac anymore

    Today, out of much extreme panick as of a false alarm, i had installed MacFUSE, an application used so you can read and write windows files on your mac side. What i didn't know is that i already had NTFS-3G, one which could already do that. I uninstalled MacFUSE instantly (removed pane from system preferences), now i still can't see windows mounted on my mac desktop. When i boot up, i get an error; below. If i choose to manually mount it from the disk utility i get the same error. I'm not sure where to post this type of stuff since it's not really apple related but it's worth a shot.

    I've had that same issue with NTFS-3G and Fuse. I ended up getting Paragon NTFS for Mac. Its about 20 bucks, but it works great. IMHO, this is a feature Apple should build into OS X especially since they have a feature such as Boot Camp

  • Using Bridgeview with the IAK/IAS Server, I was able to read and write several registers using a string tag. In DSC using the Lookout Protocal Driver, I do not see a way to read/write string tags.

    In the tag configuration I can select for a string tag, but I do not see a way to set up the Lookout Protocal Driver for a string tag.

    That's right - The old IAK/IAS Servers from National Instruments were a tighten developement with BridgeVIEW together - so that they implement the string data type. Since NI recommends to use the LPD drivers instead of the IAK Servers there is no way to configure string tags in the Lookout protocol drivers. The LPDs or Lookout does not really handle arrays/strings at all - that's a limitation for the Lookout protocol drivers.
    Roland

  • Why I am unable to read/write thermocouple data using FIFO

    I like get data using 9213 module. I used example VI for this. And to get the data according to my desired samling rate, I used FIFO.
    The problem is, if I use FIFO, I do not get any data when run the real time VI.
    But, if I like to get data using cluster, then it is OK.
    Also, can you tell me why the error comes when I use FIFO and run the program?
    My sampling desired rate is 1200 sample/sec. I like to acquire data for 30 seconds after the trigger.
    Attachments:
    Error_50400.jpg ‏34 KB
    FPGA.jpg ‏201 KB
    realtime_temp.jpg ‏249 KB

    Good Afternoon,
    I would suggest lowering the number of elements into the invoke node in your real time VI.  You only need the number fo samples times the sampling rate for the number of elements input.  Hope this helps!
    -Cody C

  • Music Downloads - unable to read or write to disk.

    Hi, I'm new to iPods, and when I try to download music
    I get the message Unable to update iPod, unable to read / write to disk....
    Originally I had no problems now unable to download more than one song at a time, and only the manually... it's taking ages...
    Does anyone have any ideas? I've restored, reset everything and downloaded the latest software....

    Hi,
    Unless you are using OCR (optical character recognition) software when doing the scan, the result of scanning a document is only an image, a picture of the document. Since you only have a picture of the document at this point, the only thing that you can do with it in Word is to insert the image into the document. As an image, you won't be able to edit or search the text that appears in the image. You need to run OCR software to examine the image and convert the images of the characters into editable text. If you are already using OCR software, reply back and let me know which application you are using, and I'll try to help you further.
    Hope this helps,
    Ken

  • Can't Read/Write to External HDD-Permissions Problem

    I have external Seagate HDD, formatted as FAT32, connected to Airport Extreme Base Station. I am unable to Read/Write to this Drive because Finder says I "Don't have permissions" to do so.
    Following are details that may be important:
    1. I was able to read/write to this drive under Leopard but lost the right under Snow Leopard, after upgrade to SL.
    2. In Airport Utility, I set up (2) accounts for the External HDD, "Dad" with "Read/Write" access and "Mom" with "Read" access only. I have Guest Account privileges set to "Read Only". It has been this way for (2) years.
    3. Under "Get Info" in Finder, the only account listed is "everyone" with "read" permission only (this is same as Guest Acount in Airport Utility). I am unable to add new accounts because I get error message "The account name is not valid" even though I am using the account name that I am logged in under.
    4. I can change the Permissions on the "everyone" account (in Finder) by changing the permissions on the "Guest Account" in Airport Utility. When I do this, "everyone" in Finder now has "read/write" access but my two accounts, "Dad" and "Mom still don't show up in Finder.
    5. I also upgraded internal HDD to 1Tb and used Restore from Time Machine. I hhad problems with the restore and did new install of Snow Leopard.
    Any ideas on how to make Finder show the two accounts I have set up in Airport Utility?

    My apologies for bumping this but I still don't have a solution...any help would be greatly appreciated!

  • When syncing my iPod photo it transfers 2 songs then gives error message ' cannot read/write disk' what wrong?

    Can someone tell me whats going wrong when I manually sync my iPod with computer only 2 songs transfer to my iPod then I get error message ' unable to read/write disk ' the 2 songs are transferred to iPod and I have to keep starting the process over again, what can I do?

    First, try shutting down (powering off) your computer and resetting the iPod
    http://support.apple.com/kb/HT1320
    Start up the computer, and connect the iPod to a direct USB port on the computer, if you have been using a USB hub.  If there are other USB devices (other than standard keyboard/mouse) connected, you may want to disconnect them, as a test.
    If that does not help, or you already did that, it is possible that the iPod's hard drive has become faulty.  It is also possible that the hard drive is OK, but there is data corruption that is making the iPod's storage unreliable.
    If the problem is not resolved, you should probably do a Restore on the iPod in iTunes.  The Restore button is on the iPod's Summary screen in iTunes.  This will erase the iPod, reinstall its software, and set it to default settings.  If the cause is data corruption, the Restore (erasing the storage) should fix the problem.  However, if the cause is a hardware fault on the hard drive, it will not help; the Restore may not complete successfully, which will leave your iPod inoperable.

Maybe you are looking for

  • Ssrs 2008 r2 parameter values

    In a new ssrs 2008 r2 report, I need to display 2 of the parameter values in the heading of the report. One of the parameter values in the name and customer number. The second heading value is the city and state where the particular customer is locat

  • Adobe Media Encoder CS5.5 crashing/rebooting?

    Hello all, I've been using CS4 for about two years now, and I've never had a problem with its Media Encoder crashing. On Friday, I got a new PC, and I successfully ran CS4's encoder for two days with no problem. However, last night I decided to upgra

  • Editing a midi file in GarageBand 09

    Just downloaded a midi soundtrack, a karaoke version of a popular song. I plan to track in original vocals, but I have additional verses of lyrics that will require repeating sections of verse and chorus to accommodate. As cool as midi is on Garageba

  • Error During Check In : Publish Course In Master Repository

    Hi Gurus, Here we are trying to publish one SCROM course through AE Tool, And while uploading course from local repository to master repository getting error  (A read/ write error occured when checking in object) As Master Repository we are using IIS

  • Program names L... are reserved for function group includes

    Hi All Im involved in a migration project from GTS  to ECC server where i have problem while creating a function group, when am creating a same include LZFR1T00 in ECC server am getting an error *'Program names L... are reserved for function group in