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.

Similar Messages

  • Connect CFP-2000 with Measurement Studio

    Hi, I haven't understood how to connect a CFT-2000 module with Measurement Studio and VC++.
    Can any one help me to find documentation and sample related this task?
    I'm  interested into this topics:
    - is it possible to manage a CFT-2000 ethernet device with MAX? In ordere to use that device can i use DAQmx?
    - which  kind of data I will recive over ethernet raw, scaled..
    - is it possible to select one particular board of AI?
    - is it possible to execute multiple applictions (LabView and  Measeurement Studio) connected with the same CFTP-2000 controller into one PC?
    Thanks

    Dear Bobby60,
    First of all I suggest you this FAQ.
    You can connect and configure cFP 2000 from MAX through NI-Field Point and Labview Real Time.
    You have to use Labview Real Time to program an application on the cFP 2000.
    Comms to Labview and Measurement Studio can be realized through OPC Shared Variable and TCP/IP. In the last option you will have to program your own server in labview RT and deal with multiple client stuff.
    Best Regards
    FiloP
    It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong.
    Richard P. Feynman

  • Transport of Transformation failed with RC= 12 and job: RDDEXECL cancelled in Target sytem

    Gurus,
    When i am importing the workbench request from dev to qty.
    I am getting error : Program terminated (job: RDDEXECL, no.: 22321300).
    Transformation contains only Endroutine.
    Job log:
    Job started
    Step 001 started (program RDDEXECL, variant , user ID DDIC)
    All DB buffers of application server xxxxxx were synchronized
    The internal session was terminated with the runtime error UNCAUGHT_EXCEPTION (see ST2
    Job cancelled.
    When i see the dump it is througing errror at the method of following class.
    CL_RSO_TLOGO_PERSISTENCY-CHECK_INITIALIZED
    Could you please help. Thanks in advance.
    Ashok

    Hi Ashok,
    In QA use program "RSTRAN_ROUT_RSFO_CHECK" to check and remove any inconsistencies for the transformations. After that again transport those transformations in new TR and import in QA.
    Also you have to search "Transport of Transformation failed with RC= 12 and job: RDDEXECL canceled in Target system" by Dinesh Tiwari.
    Check the reply of Fun Sébastien in http://scn.sap.com/message/13795238#13795238.

  • 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

  • I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1

    I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1
    Thanks
    Biswajit

    Howdy Biswajit,
    The IMAQ and Vision ActiveX controls you are using with Visual Basic 6 do not install with Measurement Studio. They are installed when you install the IMAQ software and include support for Visual Studio 6. Upgrading to Measurement Studio 8.0.1 will have no effect on your IMAQ controls since they are not related to one another. Purchasing Measurement Studio Professional or Enterprise packages allows you Visual Studio 6 support for other ActiveX components. Refer to this link for a list of ActiveX components included in those packages. 
    If you are asking about using the ActiveX controls in .NET, then take a look at this KnowledgeBase entitled Do NI-IMAQ and NI Vision Support Microsoft Visual Studio .NET?
    Hope this clarifies things!
    Best Regards,
    Jonathan N.
    National Instruments

  • Difference between Measurement Studio and NiDAQmx ?

    What is the main difference in Measurement Studio and NIDAQmx. I have a DAQ software, which was initially developed in M Visual C++ 2003, which was originally using Measurement Studio. Now I want to  replace measrement studio by NIDAQmx latest release. Is it Possible to do it? 
    Solved!
    Go to Solution.

    Hello,
    Measurement Studio is an extension to Visal Studio, which contains a variety of libraries for measurement applications as well as user interface elements like graphs.
    DAQmx is the hardware driver framework for NI Multifunction DAQ devices. If you use a DAQ board you need this driver to access it, with any programming environment (LabVIEW, CVI, C, C++, .NET).
    This means you can access the hardware also with Visual Studio, which has no Measurement Studio installed. Though Measurement Studio makes analysing and presenting the acquired data much easier.
    Kind regards,
    Robert H
    NI Germany 

  • ERROR - the ProtectKeyWithTPMAndPIN Method failed with the exit code: 8031005B

    Hello
    I am using the EnableBitlocker.vbs script to automatically assign the TPM and start the encryption. I am running it from an elevated command prompt. Here is are the arguments I am running with
    cscript EnableBitLocker.vbs /on:tp
    /l:c:\bitlockerlog.log /promptuser /ro:"MBAM" on
    All is well and it prompts the user for a PIN but then it fails.
    Here is the full log file. I haven't been able to find any info on the error code in the subject.
    Script processing started  02/07/2014       14:43:27
    Proper number of command line arguments passed to the script
    ---------------Executing with the following arguments------------------
    Enable parameters: tp
    Logging location: c:\bitlockerlog.log
    Create recovery key: No recovery key use specified
    Encryption method: 3
    Create SMS status MIF's: No SMS status MIF's will be created
    Reset TPM ownership: 1
    User prompting: 1
    Connection succeeded to MicrosoftTPM
    Successfully retrieved a TPM instance from the Win32_TPM provider class
    TPM found in the following state:
    Enabled - True
    Activated - True
    Owned - True
    Connection succeeded to MicrosoftVolumeEncryption
    TPM is in a ready state to enable BitLocker.
    Change TPM owner password specified on the command line.
    Random TPM owner password is: ;&K:)BU65|c7_v2n
    Completed converting old owner password to owner authorization:  0
    Completed converting owner password to owner authorization:  0
    Starting to change owner authorization process on the TPM
    ERROR - Failed to change owner authorization on the TPM with the following exit code:  80280001
    Successfully connected to WMI StdRegProv
    Checking if Group Policy encryption method is set...
    Found EncryptionMethod with value: 4
    Found EncryptionMethod policy registry key ignoring any /em options on command line
    Found ActiveDirectoryBackup with value: 1
    Found RequireActiveDirectoryBackup with value: 1
    Determined client Group Policy configured to require AD escrow of recovery password
    EncryptableVolumes count is: 1
    The EncryptableVolume(s) found: \\?\Volume{ad6db324-01dd-11e4-8272-806e6f6e6963}\
    EncryptableVolume used for encryption is: C:
    The volume has a protection status of: 0
    BitLocker Protection is Off
    Get conversion status is: 0
    The volume has a status of fully decrypted
    The following user is logged on: MGMT\80151318-sys
    Attempting to enable BitLocker TPM + Pin
    ERROR - the ProtectKeyWithTPMAndPIN Method failed with the exit code:  8031005B
    Script ended  02/07/2014       14:43:51
    Any and all help would be appreciated. This has worked before on a different laptop.
    Thanks

    Hi,
    This error indicates that the group policy isn't set correctly, when configure the group policy at teh server side, you should notice that only one of the additional authentication can be required at start up , otherwise a policy occurs, the notice can be
    found just like below:
    and after test, the error indeed occurs, just like the screen below:
    So, I suggest to check the group policy for bitlocker settings, you can only choose one start up authentication method.
    Regards
    Wade Liu
    TechNet Community Support

  • My IPOD Touch initially had a white screen.  I tried correcting this by restoring default settings via ITunes.  The Restore Failed with error 1602 and now the IPOD touch is completely dead. It will not power on or respond when I plug it into my PC via USB

    My IPOD Touch initially had a white screen.  I tried correcting this by restoring default settings via ITunes.  The Restore Failed with error 1602 and now the IPOD touch is completely dead. It will not power on or respond when I plug it into my PC via USB.  I get an error on my PC stating that device attached to USB port is not recognizable.  Can anyone help?

    Error 1602: Try the following steps to resolve this error:
    Ensure proper USB isolation troubleshooting has been performed, and test with a known-good cable.
    Follow the steps listed for Error 1604.
    This error may be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.
    Above from:
    http://support.apple.com/kb/TS3694

  • Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Acrobat 7 mandatory update failing with error 16820 and blocking the use of the program

    Sorry I can't get the screen print to upload
    It says
    Mandatory Update Available
    A Mandatory version of this application is available for download. Application can't continue without installing this version.
    Application:     Acrobat_com
    Installed version: 2.0.0.0
    Update Version : 2.3.0.0
    Download now                    Quit
    Release notes ( this is blank)
    After selecting 'Download Now' I get the following message;
         Download failed
         There was an error downloading the update. Error #16820
         Close

  • Putting a row into a pageable cache failed with error 9 and error message

    Hi Guys,
                 I am fetting the follwoing message when the job is scheduled.
    Putting a row into a pageable cache failed with error <9> and error message <Db::put: Bad file descriptor>
    I read the forum and Manoj has suggested to one of the forum member to change the size of the Pcache setting through the server manager. But I do not see the setting there. can any one please let me know where exactly I can see and increase the size of the Pcache.
    Thanks

    Hi
    I've had the same problem.  We know from other (more meaingful) error messages that we ran out of space for the Pageable Cache, but we've just increased it by 50GB and still get the same error.
    Anyone??
    Btw i don't think you there is a setting for PCache size - it will just use all the free disk you have on the drive where you have located the PCache directory.
    Richard

  • Flash Player download keeps failing with lost connection and then gives up.  satellite Internet connection

    Win XP. Firefox 34.0.5 (latest)
    The Flash  Player download keeps failing with lost connection and then gives up.I am on a  satellite Internet connection.
    It seems to be extremely slow even when loading the installer which is only 1MB. Then when I run the installer and it starts to download the installation there are frequent messages about losing the connection and then finally gives up.
    I have had problems with other software failing when I am on a satellite link. This is most likely because of the huge latency which may be taken as a link failure. Ping times are typically 800ms but can be 2000ms sometimes!

    Hello,
    The online shim installer, which you are using actually downloads and installs Flash Player silently in the background.  If your satelite connection is experiencing latency issues it could result in the failure to download.  Please try the full installer posted at the bottom of the Installation problems | Flash Player | Windows page, in the 'Still having problems' section.
    Maria

  • Scanning with Kodak i65 and Vista

    Hi,
    I am having trouble 'Creating a PDF from Scanner' with a Kodak i65 scanner. Everytime I attempt to scan a document with Acrobat 8 and Vista I receive a scanning failed message. The 'Scan Validation Tool' scans documents fine to the .tiff format however when I try to scan documents with Acrobat 8 it doesn't work and I get 'Scanning failed.'
    Any help would be greatly appreciated.
    Thanks,
    Andrew

    I have the exact same problem. Except I have the Kodak i30 Scanner. I have Adobe Acrobat Professional 8.1.2 (with the Security Update 1 installed).
    In the past, I ran the following configurations on an older computer with no problems:
    - Windows XP & Adobe Acrobat Professional 6.0 (with all of its various updates)
    - Windows Vista & Adobe Acrobat Professional 6.0 (with all of its various updates)
    - Windows Vista & Adobe Acrobat Professional 8.1.2 (with the Security Update 1 installed)
    However, when I built a new computer, installed Windows Vista Ultimate, installed the Kodak i30 Scanner, I receive a "Scanning failed." error everytime I try to scan directly into Acrobat.
    BTW, I HAVE "tried with latest Scan Validation Tool and firmware update from Kodak site." Updating the SVT and firmware neither helped nor hurt.
    Has anyone had a successful fix to this issue?

  • Problems with 1.5 and vista - audio recording

    Hello.  I have PP 1.5.  I have an Audio Techinca AT2020USB microphone.  I have a couple different computers running 1.5 - The one that has XP as an OS, I can use the mic to record audio.  On the computer that runs Vista, I can not.  Is anyone aware of any patch or anything that will allow me to make this work?
    Please, advise.  Thank you.
    bobhugejunk

    YOU ARE THE MAN!!!!  It took a little bit of working the configurations, but I got it to work....oh, me so happy...oh, oh, me so happy
    Thank you!
    Make sure you visit www.bobhughesmichigan.com for my music samples, schedule and video information!
    Date: Wed, 21 Oct 2009 19:34:20 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problems with 1.5 and vista - audio recording
    As Jim points out, CS3 was the first Vista-certified version, though many did get PrPro 2.0 to run on it.
    Now, if PrPro 1.5 is running otherwise, you might have some luck with http://www.asio4all.com You'll need to download this freeware, install it, and then point PrPro to it in Edit>Preferences>Audio Hardware>Asio Settings for input and output.
    Good luck,
    Hunt
    >

  • Program DAQCard-AI-16XE-50 with Measurement studio

    Does DAQCard-AI-16XE-50 can works with a application created by Measurement studio? I have developed a data acquisition software base on PCI-MIO-16E-4, but I want swith the card to DAQCard-AI-16XE-50, it likes doesn't work, I don't known why?

    Thanks lots to Chris and RamziH,
    I have tested DAQCard-AI-16XE-50 on Max, it works fine all analog channels, the device nubmer is 1. So, in my program I am using this device number, checking the sample rate no more than 20kHz and no analog output function in my program, but it still doesn't works. Does CWAI works with DAQCard-AI-16XE-50? The DAQ driver version is 6.9.2.
    Thanks again.

  • Converting a Labview time into a string with Measurement Studio C++

    In my Measurement Studio-based C++ application, I'll be sent a Labview
    time in the format of a double, which I believe is seconds since 1904.
    Does Measurement Studio for Visual C++ contain a function that will
    convert that time value into a string format? I'd like to end up with
    something like "hh:mm:ss:msec". I'm basically looking for the
    equivalent of the Labview vi, "Format Time/Date String". If Measurement
    Studio doesn't provide this, is there some other (hopefully simple) way
    to do this?
    I can request that the Labview application send me time in a string
    format as well as a double; this will require several changes to the
    Labview application sending the timestamp, but if that is a simpler
    solution that's the option we'll take.
    Thanks in advance,
    Adam

    Measurement Studio does not have a function for this, but you can do
    this yourself by first converting from LV epoch (1/1/1904) to Unix
    epoch(1/1/1970) and then using c runtime time functions
    UNIXEpochOffset is the difference between the 2 epochs at GMT. To
    convert to a UNIX system clock value, just subtract the sum of this
    number and your time zone offset in seconds
    lvTime is the value returned by LV timestamp
    #define  UNIXEpochOffset 2082844800
    int _tmain(int argc, _TCHAR* argv[])
        __int64 lvTime = 3214396284; //10:48:13.173 AM 11/9/2005
        //GMT offset for Central Time is -6 (3600 seconds). You will need to account for daylight savings time.
        int offset = -3600;
        time_t unixTime = lvTime - UNIXEpochOffset - offset;  
        struct tm *newtime = localtime(&unixTime);
        printf(asctime( newtime )); //prints out the time in a string format.
        return 0;
    Bilal Durrani
    NI

Maybe you are looking for

  • Preview & Saving PDFs

    In Preview I can drag several individual PDF pages into it to create a multiple page document. However, when I try to save, export or print this combined document, all I get is the first page. When I close the document, I lose all of the work I spent

  • Mobileme photo gallery  and iweb 09 sloooooooow

    Hello All, I use iWeb 09 and Mobileme. I have added an embeded mobileme gallery of photos to my page but it soooooo slow in loading. Is there a way to embed a Mobileme photo gallery without the animation? Just have a static cover image. I think that

  • Broken Monitor...any way to switch to external display?

    My monitor physically broke...long story. But, I have one of those special cables that allowed me to hook it up to my Mac...though it's nice to know that it won't switch it over, it treats it as dual screen. So I can't pull up any display menu's. Is

  • TypeError: Error #1009 with hit test plz help

    //-----Actions and Events ----- stage.addEventListener(MouseEvent.MOUSE_MOVE,charMove); function charMove(evt:MouseEvent) addEventListener(Event.ENTER_FRAME, checkcharCollision); function checkcharCollision(event:Event) for (var i:uint=0; i<char.leng

  • Multiple Selections on Category Axis

    Hi, I need to create a graph. On Category Axis ( X= axis)  I need to show values of 5 keyfigures from a BW query. Y axis will be Values in thousand. Currently no issues with Y-axis. But I am not able to figure out how I can have multiple category axi