IEPlugIn.dll Class 'CIESpeechBHO '.

I was wondering if this should be enabled. I don't know what it is? I have windows 8 with IE10

Hey Destanee,

Thanks for the reply.

Glad to know that the problem is solved. Please let us know if you need help for Windows, we will be happy to help you!

Tags: Windows

Similar Questions

  • ODAC 12 beta 2 does not work with EF 6

    I removed all versions of Oracle from my development computer (Windows 8.1 Pro)

    I did a new install of ODAC121010Beta2_32bit

    My path to the client is "C:\app\client\Brian\product\12.1.0\client_1."

    I added that to my environment variable 'path' with 'C:\app\client\Brian\product\12.1.0\client_1\bin '.

    My TNSNAMES file. ORA is in "C:\app\client\Brian\product\12.1.0\client_1\Network\Admin".

    I did as my TNS_ADMIN environment variable.

    I'm under VS 2013 SP3 with all updates

    I browsed in the ODP directory and manually added

    C:\app\client\Brian\product\12.1.0\client_1\odp.net\managed\common\Oracle.ManagedDataAccess.dll

    and

    C:\app\client\Brian\product\12.1.0\client_1\odp.net\managed\common\EF6\Oracle.ManagedDataAccess.EntityFramework.dll

    I've added to my app.config:

    "< invariantName =" Oracle.ManagedDataAccess.Client provider"type =" Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.1.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    I built my project (which is just a windows DLL class library to simplify things.

    Now, I try to add a model EF, the two code first and first data.  Both tell me that I don't have a compatible library.

    I then delete the Dll 2s above and try versions Unmanaged of them.

    Still does not work, but now at least it will give me the opportunity to return to 5 EF.  I'd rather go with EF 6.

    I restarted not less than 20 times today.


    I give up.  What I am doing wrong.

    This seems to be the same problem as found here:

    Visual Studio 2013 Update 3

    The key is that VS 2013 update 3 and the ODAC beta version have a bug. For now, the recommendation is to go back to 2 update if you are using the beta version of ODAC. We are working on a fix for the ODAC, so that it can be used with update 3.

  • Reflection in AS3

    Hello
    I am familiar with Flex Builder, and I think it's a fantastic software. I come from the world of the .NET Framework and I'm just learning to use reflection in this context. Here's my question anyway.

    I want ActionScript3 to behave like the following: instantiate a class from an external file, when I don't know the two class name and name of file at compile time.
    For example, the application loads a text file (generated runtime) with the names of classes and SWC files. It then creates a menu, where each button loads the component specified in the file.

    In the .NET Framework, reflection allows me. I know the name of the DLL and the name of the class as strings, and I can use the System.Reflection.Assembly dynamic link to the DLL and load the class. Of course I get exception in case something goes wrong (missing DLL, class undeclared, etc.).

    I don't want to use SWFLoader, because I know I can't pass parameters to the constructor.

    Is it possible to do something like. Reflection of NET in AS3?

    Thank you

    SWFLoader is your best chance here as the SWF is essentially the equivalent of the .NET assembly.

    You can pass the params for the loaded SWF file. Here is a link to livedocs that shows you how:

    Using SWFLoader

    In this example, they load the swf file using @embed. For my tests, I just put in the path of the file (i.e. "C:\\development\\... (' etc.)

    The other gotcha is that the example has this strange 'local()' and I have wondered for a while what it was. But the responsible application class is local.mxml, which means that you must know the name of the loaded application class. But if you dynamically load without knowing the name of class, which is obviously the pants. Instead, I derived the loaded app from a base class that is known to both the container application and the responsible application. Then you have a kind of "Façade" for all your uploaded components (search for façade as a model of web design). You can then reference all your applications loaded through the façade class.

    Hope that makes sense - I can actually send you my test application if you want... :-D

  • Why can I not see classes in my c# dll?

    This seems to be a stupid question, which will be one obvious answer, but I'm stuck then...

    I'm using Visual c# express 2008 to make my dll and would like to invite my methods of TestStand 2012. I took the default model of Dotnet, added the ref to the project and kept deliberately simple in order to this test; It's here: -.

    usingSystem;

    usingSystem.Collections.Generic;

    usingSystem.Linq;

    usingSystem.Text;

    usingNationalInstruments.TestStand.Interop.API;    TestStand base API.  Add \API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.API.dll to your project as a reference.

    usingSystem.Runtime.InteropServices;

    namespace

    TestStand_IF

    {

    classDummyClassName

    {

    publicvoid DummyFunctionName (SequenceContext seqContext, reportText, outbool errorOccurred, outint errorCode, outString errorMsg outString)

    {

    reportText =

    String.Empty;

    errorOccurred =

    fake;

    error code = 0;

    errorMsg =

    String.Empty;

    Try

    {

    INSERT YOUR SPECIFIC HERE TEST CODE

    reportText = ' Success! ';

    The following code shows how to access the properties and variables via the API TestStand

    PropertyObject propertyObject = seqContext.AsPropertyObject ();

    String username = propertyObject.GetValString ("StationGlobals.TS.LastUserName", 0);

    }

    catch (e COMException)

    {

    errorOccurred =

    true;

    errorMsg = e.Message;

    error code = e.ErrorCode;

    }

    }

    }

    }

    I add a "string value" not in TestStand and alsign my dll but there is nothing to select the class of root area. I remember similar problems with perhaps a dozen years in C - having to mark the export functions and verify that the type library has been included, but I don't think that this is the case here.

    Hello

    Try

    Public DummyClassName

    Curt

  • EvaluatingTteststand 4.2.1: Null, an access violation (error 17502) pointer when trying to use a std::map mixed mode / push shared_ptr class contained in a DLL interface from a different DLL

    Hello.

    I worked on a test system that will potentially TestStand to its base and downloaded/installed the 4.2.1 assessment. The latest information of the information dialog box are:

    TestStand engine version 4.2.1 (4.2.1.83)

    Verison 4.2.1.83 sequence editor

    The system will push mobile radio using interfaces serial RS232 devices, usnig a variety of protocols series (Hayes and some protocols binary owners for other work).

    We already have in existence, a tester of soaking, written unmanaged dll in VS2005 with MFC and also managed dll that is mixed together to provide the different aspects of the functionality required for binary protocols.

    I created:

    1. a "wrapper"master"DLL for the constellation of the other dll - it offers a simple C API interface that I hope TestStand will use. "We call it"SerialSessionMgr.dll"

    2. a mixed managed / unmanaged "IJW" (it works) DLL that wraps Protocol binary log control interfaces, which are entirely management C + c++ / CLI: DLL calls "master" wrapper"this as an unmanaged interface to create instances of the class compiled by CLI which interfaces to the underlying managed dll imlpementing protocol logging. It's called "WinTseInterface.dll".

    Until I started evaluating TestStand, I struck up a test harness using CPPUnit / MFC, with which I could test SerialSessionMgr.dll and its ' use of WinTseInterface.dll and check that they worked. The sling load the DLL dynamically at runtime using AfxLoadLibrary() trying to emulate the TestStand way he uses.

    When we opened a TSE session:

    1. The SerialSessionManager made a call to the WinTseInterface.dll to 'create' an instance of logging. The instance is created in a std::map held by the CWinApp derived class, this map contains boost::shared_ptr of the class that works with a managed class. So we have a record of appeal: Client app-> SerialSessionManager {TseStartSession ()}-> WinTseInterface {WINTSE_GetWinTseBridge ()} - just WINTSE_GetWinTseBridge() creates a new instance of the unmanaged class through the managed CLI/C++ class interfaces slot, which returns the address of the SerialSessionManager, that stores.
    2. The SerialSessioManager actually initializes the WinTseBridge using a method of a class of virtual interface implements pure C++ class in the std::map in the WinTseInterface DLL. The call to initialize passes various details and actually called 'New' to create the managed class which of your interfaces to the underlying managed DLLS that implement the protocol logging.

    My DLL loading logs as seen in VS2005 debug output are joined this message in PDF format

    While trying to solve this problem, I tried:


  • How to transfer data from a DLL Delphi pascal class to a LabView data cluster?

    Hi all

    I have the following problem:

    I use a dll written in Delphi Pascal to transfer data to LabView by using the "Call library function node".

    My Delphi dll contains this class:

    TFlash = class
    Fi: TFileInfo;
    constructor Create;
    procedure LoadFi (Filedir_and_nametring);
    end;

    TFileInfo = record
    IDX:smallint;
    IdxLstSpl:array [0.4] of longint;
    Ms: Word;
    [0.4] SP:array of the word;
    end;

    I created the record datastructure of TFileInfo in a cluster of LabView to have the 'same' variable.

    My plan was to call a DLL Deplhi function with the "call library function node" and pass the address of the folder TFileInfo, so the data would be transmitted to the cluster of LabView.

    When I do a simple delphi dll function as this works because I only spend a small integer to Labview (without reference to the data structure):

    ...

    var data: TFlash;

    ...

    function GetNrOfRows(FilePath:_string):integer; STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (FilePath); This function returns the number of lines in the selected file.
    Result: = Data.Fi.Idx;
    end;

    When I try to use this procedure instead of the above function, in order to pass the address of the data set structure complex 'Data' (TFileInfo), I am unable to get the information of 'Data' in my Labview cluster:

    procedure LoadFileInfo (FilePath: string;) DataPointer: Pointer); STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (FilePath);
    DataPointer:=@Data;
    end;

    Parameters of call library function node:

    -stdcall (WINAPI)

    -Run in the UI Thread

    -Function prototype: void LoadFileInfo (PStr FilePath, void * DataPointer);

    * DataPointer--> Type: "adapt the type" and the format of the data: "pointers to the sleeves.

    * FilePath--> Type: 'string', format of the string: "pascal string pointer.

    I'm struggeling with this problem for almost a week now and I can't really find a solution on the forum or google.

    I also read the following posts:

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=229930&requireLogin=false

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=77947&requireLogin=false

    http://forums.NI.com/NI/board/message?board.ID=170&message.ID=51245&requireLogin=false

    (or did I miss something in these messages?)

    Hope my explanation is clear.

    THX

    A little further:

    Seems like it's not possible to pass data from Delphi to Labview through a DLL when I create a cluster with 2 bays in it in Labview.

    This part of Delphi, I've had to make in Labview:

    TFileInfo = record
    IDX:smallint; {integer; Convert tool}
    IdxLstSpl:array [0.4] of longint;
    Ms: Word;
    [0.4] SP:array of the word;
    end;

    Instead of using 1 cluster with all the different data in it, I did a unit (1) with my 2 items (smallint and word).

    To pass my data in my tables from delphi to labview, I created another group (2) in the unit (1) with 5 elements of longint (because my delphi is going to 0.4) and another group (3) in the unit (1) with 5 Word elements.

    Right-click on the unit (1) and the clusterorder in the right order. First the smallint, then the longint table, then the word and the Word table.

    When I then use this code in my dll Delphi, IT WORKS! :

    procedure LoadFileInfo (FilePath: string;) DataPointer: PtrTFileInfo); STDCALL;
    Start
    Data: = tflash. Create;
    Data.LoadFi (Copy (FilePath, 2, length (FilePath)-1));         --> I need to cut the first part of the pascal string because it's length, and I only need the string itself
    DataPointer ^: = Data .fi;       --> pass the record structure to the cluster of Labview
    end;

    Thanks for the info Ralf!

  • the procedure entry point is not found in the library of dynamic links SHLWAPI.dll / unregistered class?

     I found a question similar to this but need more specific assistance. As I turned on my computer, a window pops up saying "the entry point of procedure not found in the library of dynamic links SHLWAPI.dll." This message has not left since and my computer let me just open google chrome. I have not tried to install anything lately. I tried what was suggested on a similar response - the sfc / scannow command-, but when I tried, it said I had to be an administrator. This confuses me because there is only a single user account on this computer so I assumed it was the administrator. When I tried to open the control panel to check, my computer would not leave a message with a lot of random numbers and letters and 'class not registered' jumped upward and me. I'm really confused and need help!

    Hello Elle1234,

    Looks like DLL file or the missing link between the Dynamic link Library & the missing registry entry. To replace the Dll files missing please go ahead and run the scan by following the simple steps below using the System File Checker tool and check if it does the trick.

    To help resolve this problem, use the tool (SFC.exe) System File Checker to determine which file is causing the problem and then replace the file. To do this, follow these steps:

    1. Open an elevated command prompt. To do this, click Start, click principally made programs, Accessories, right-click guest, and then click run as administrator.  If you are prompted for an administrator password or a confirmation, type the password, or click allow.
    2. Type the following command and press ENTER: sfc/scannow (Yes there is a space after sfc) the sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. This analysis do take some time to complete.

    Hope this review helps you. Let us know anyway. Make it a great day!

    "In the end the love you take is equal to The Love You Make" (The Beatles last song from their latest album, Abbey Road.)

  • Normaliz.dll was not found, Explorer does not 'Class not registered', and the restore points are gone

    I left the room for about 20 min then when I came back I got this error

    QPService.exe - Unable to locate component
    This Application has failed to start because Normaliz.dll was not found. Re-installing the application may fix the problem.

    Then I restarted and had the same problem.  If I click 'OK' and then I get "Quickplay Resident Program has stopped working," then the error box changes the same thing but for avast and when I click on it I get "avast!" Antivirus has stopped working. "Click again and"GrooveMonitor utility has stopped working ". That's about 10 programs until next stop errors.

    The Explorer is also not work, my computer, folders, windows update, and many many other programs won't open.  Whatever this either in the Explorer tells me 'class not registered '.

    What I tried:

    • System restore - but it says that I have no restore points.  I used to have dozens, I did a lot of myself, and I don't know where they went
    • I tried to download Normaliz.dll, but when I tried to extract it to System32 (following the instructions I found on the web) he's not here, he gets another error.  So I put it on the desktop but then realized that I can't move it anywhere because I can't pull the top of my work or the Explorer.  I also tried to go into the Task Manager and do 'New task', but if I type anything this either in or click on 'Browse' then I get the same error on Normaliz.dll and then Manager tasks becomes inadmissible and accidents.
    • I tried to go into safe mode and Explorer still does not work, "New task" in the Manager tasks still does not work and I still do not have restore points
    • I tried a few other recovery tools before start and none of them has contributed to

    A lot of what I've tried has been recommended by other people when I did some research on google, but most people seem to have this problem because of IE, but I don't use IE and haven't for months.  Also solutions that seem to work for them have not worked for me.  I can't understand what caused it because I have not downloaded anything recently and it just happened when I left the computer and came back later.

    Any help would be greatly appreciated, I don't really want to destroy everything and reload windows.

    This looks like a general Windows failure since all kinds of independent programs stopped working. I would like to begin the troubleshooting process by testing your hardware from the hard drive and RAM. The machine can also be overheating. You can do it yourself or take the machine to a local professional reputable (not a type of BigComputerStore/GeekSquad of the place).

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    MS - MVP - Elephant Boy computers - don't panic!

  • Jacob.dll already loaded in another charger class

    Hello
    We are as recommended and migration of Jinitiator to JRE has decided to use the latest version of JRE, however JRE 1.6.0.23 gives the following error when executing the function of webutil in our forms 10 g:

    RegisterWebUtil - load Version WebUtil 10.1.2.3
    proxyHost = null
    proxyPort = 0
    connectMode is HTTP, native.
    Version forms cmdlet is: 10.1.2.3
    java.lang.ThreadDeath
    at java.lang.Thread.stop (unknown Source)
    at java.lang.ThreadGroup.stopOrSuspend (unknown Source)
    at java.lang.ThreadGroup.stop (unknown Source)
    at sun.awt.AppContext.dispose (unknown Source)
    to sun.plugin2.applet.Plugin2Manager$ AppContextDisposer.run (unknown Source)
    at java.lang.Thread.run (unknown Source)
    RegisterWebUtil - load Version WebUtil 10.1.2.3
    proxyHost = null
    proxyPort = 0
    connectMode is HTTP, native.
    Version forms cmdlet is: 10.1.2.3
    Exception in thread "AWT-EventQueue-5" java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\Java\jre1.6.0_23\bin\jacob.dll already loaded in another charger class at java.lang.ClassLoader.loadLibrary0 (unknown Source)
    at java.lang.ClassLoader.loadLibrary (unknown Source)
    at java.lang.Runtime.loadLibrary0 (unknown Source)
    the impossible (unknown Source)
    to com.jacob.com.ComThread. < clinit > (ComThread.java:128)
    at oracle.forms.webutil.ole.OleFunctions.create_obj (unknown Source)
    at oracle.forms.webutil.ole.OleFunctions.getProperty (unknown Source)
    at oracle.forms.handler.UICommon.onGet (unknown Source)
    at oracle.forms.engine.Runform.onGetHandler (unknown Source)
    at oracle.forms.engine.Runform.processMessage (unknown Source)
    at oracle.forms.engine.Runform.processSet (unknown Source)
    at oracle.forms.engine.Runform.onMessageReal (unknown Source)
    at oracle.forms.engine.Runform.onMessage (unknown Source)
    at oracle.forms.engine.Runform.processEventEnd (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent (unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent (unknown Source)
    at java.awt.Component.dispatchEventImpl (unknown Source)
    at java.awt.Container.dispatchEventImpl (unknown Source)
    at java.awt.Component.dispatchEvent (unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent (unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent (unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent (unknown Source)
    at java.awt.Container.dispatchEventImpl (unknown Source)
    at java.awt.Component.dispatchEvent (unknown Source)
    at java.awt.EventQueue.dispatchEvent (unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown Source)
    at java.awt.EventDispatchThread.pumpEvents (unknown Source)
    at java.awt.EventDispatchThread.pumpEvents (unknown Source)
    at java.awt.EventDispatchThread.run (unknown Source)


    The error is intermittent in nature, but still occurs.
    We have several forms of 10 GB connecting to the application and the error occurs when closing the form.
    I have installled 1.6.0.18, 1.6.0.22 previous versions and they work fine but as JAVA is out at a corporate level newer versions will be held when they are available.

    Any suggestions?

    Thank you
    Michelle

    Alternatively, if you use Java 1.6.0_10 + you can ensure that this is done automatically using this setting in your configuration of the applet:
    separate_jvm

    This applet to the true parameter forces the Java plugin to use a new JVM process for the execution of your applet whenever you launch your application Forms.

  • Runtime error 430 - class does not support automation or does not support expected interface DLLs

    More expensive Windows programmers,

    I'm developing an application focused on the database using vb6 on 32-bit Windows 7 SP1. I tried to install it on Windows 7 32-bit and it was installing. When I tried to run the application, it reported an error in the subject of this question. Also when I tried tried to run the same application on Windows 7 64 - Bit, it reported the same error message 'error' 430.

    What can I do to make my applications to run on all versions of windows?

    Thank you.

    Hello

    I recommend you to ask your question in the MSDN forum for assistance.

  • How many DLLs can use a sequence?

    I created a class / DLL (FOO. (DLL) which is implemented by a file of sequence via the TOOLS menu on measure.  The version "hello world" of this DLL works fine.  When I update this DLL to use classes from other classes / dll, I created (BAR. (DLL) I get the error: has no load file or Assembly BAR, Version = 1.1.0.0, Culture = neutral, PublicKeyToken = null' or one of its dependencies. The system cannot find the specified file.

    I added to the bar. DLL directory to the list of Configuration-> directories of research... and of course its check box has been activated, but he has not made a difference.

    Is a DLL that is activated by a sequence file allow the use any other dll 'home-made '?  Or must be a DLL activated by a completely self-contained movie file?

    The .NET assemblies depends on your specified assembly loaded by the algorithm of the .NET framework to find assemblies, not the search directories TestStand. They are not directly loaded by TestStand; they are loaded by the .NET
    framework. Generally, the .NET framework will find dependent assemblies if they are in the same directory that your assembly is specified, in the application base directory (i.e. the directory of the executable), or in the GAC.

    Hope this helps,

    -Doug

  • Edge of metering using nicaiu.dll

    I am trying to create a counter edge by directly calling functions in VB.NET nicaiu.dll. I am able to read the counter OK value but counties still return to the initial value set when I created the channel. For example, I create the task of counter by using DAQmxCreateCICountEdgesChan and the value of the initial counter 100000. I then read the meter using DAQmxReadCounterScalarU32. The County changes when I turn the encoder cable channel meter but returns to 100000 once the encoder stops.

    The wiring is correct, because it works correctly using the Test i/o counter OR-max Panel. The number increases as I turn the encoder and never resets when the encoder stops.

    Finally, I need to get this working using DAQmxCreateCILinEncoderChan but I see the same behavior when using this type of channel. For now, I use DAQmxCreateCICountEdgesChan because it is easier and mimics the function in the Test NOR-MAX Panel.

    I did this job using the .NET DAQmx API. However, there are errors when my application runs on a computer with a different version of NOR-DAQmx of what was used when the application is compiled. The appeal of the DLL directly seems to eliminate problems with different versions of DAQmx.

    No idea what I'm missing?

    Public Class Form1

    Private Declare Function DAQmxCreateTask Lib "nicaiu.dll" (ByVal TaskName As String, ByRef NITaskHandle As IntPtr) As Integer
    Private Declare Function DAQmxCreateCICountEdgesChan Lib "nicaiu.dll" (ByVal TaskHandle As Integer, ByVal PhysicalChannel As String, ByVal NameToAssignToChannel As String, ByVal edge As Integer, ByVal InitialCount As UInteger, ByVal CountDirection As Integer) As Integer
    Private Declare Function DAQmxReadCounterScalarU32 Lib "nicaiu.dll" (ByVal TaskHandle As Integer, ByVal Timeout As Double, ByRef ReadVal As UInteger, ByVal Reserved As IntPtr) As Integer

    Private Const DAQmx_Val_Rising = 10280
    Private Const DAQmx_Val_Falling = 10171

    Private Const DAQmx_Val_CountUp = 10128
    Private Const DAQmx_Val_CountDown = 10124
    Private Const DAQmx_Val_ExtControlled = 10326

    Private TaskHandle As IntPtr

    Private Const STARTCOUNT = 100000
    Private Const DEVICECHAN = ' DEV1/CTR0.

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Dim ErrVal As Integer

    ErrVal = DAQmxCreateTask ("ENCODER", TaskHandle)
    Debug.WriteLineIf (ErrVal <> 0, "Error" & ErrVal.ToString)

    ErrVal = DAQmxCreateCICountEdgesChan (TaskHandle, DEVICECHAN, "ENCODER", DAQmx_Val_Rising, STARTCOUNT, DAQmx_Val_CountUp)
    Debug.WriteLineIf (ErrVal <> 0, "Error" & ErrVal.ToString)

    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick

    Dim ErrVal As Integer
    InVal As UInteger Dim

    ErrVal = DAQmxReadCounterScalarU32 (TaskHandle, 0, InVal, Nothing)
    Debug.WriteLineIf (ErrVal <> 0, "Error" & ErrVal.ToString)

    Label1.text = InVal.ToString

    End Sub

    End Class

    Try to explicitly run your task (DAQmxStartTask) after you have created the channel meter.  If you do not explicitly start your task, the appeal of reading starts the job instead, which would reset the count value.

    As far as I know if only this should once (on the first read call), then maybe it something else.

    Out of curiosity, have you considered using the API of VB.NET DAQmx instead of the dll unmanaged c?

    Best regards

  • Create a Module of Csharp/DLL from scratch?

    I want to create a module/DLL in C Sharp (Visual Studio .NET 2008) from scratch.  This module will be called from the Tools menu of the TestStand, and it will take a qualified full path of the file in the sequence class as input.  But I do not know how to start.  I took a brief look in the examples folder, but I don't see anything in Csharp.

    Is there an example I can copy?

    Y at - it a helper that will generate the stub (s) Csharp for me?

    Is there a friendly NI TestStand deity (God or goddess, I'm not picky) which will display a header/source stub file I can use?

    I don't know that you are pregnant. It of really not much to it. Simply create a c# class, which is a method you want to call from TestStand (make sure it is public). Then use the .NET adapter when you create a step (maybe a step in the Action) and step settings panel allows you to specify your Assembly and what to call it.

    I recommend that you store your code modules relative to the directory of the file in the sequence and specify this relative path for the setting code for the path module. In this way, you can move the tree of whole directories to a different drive letter or location and everything will still work.

    In addition, if you want to use the TestStand API, TestStand API interoperability assemblies are in the GAC and should appear in the list when you choose to add an assembly reference in visual studio.

    -Doug

  • Bookmark Manager - ignore certain directories / files / classes / libraries

    Before raising this as an idea or to roll my own, I thought it was wise to check to see if it already exists.

    I have a large application with bookmarks in all directions. When I load the Bookmark Manager (and when it updates periodically), she goes through all the screws in the project.

    It's great, except that I have a special class that has a few members, including many reference certain DLLs. When the Bookmarks Manager search Favorites, there are a few screws that seem to fight to locate these DLLs. The loading window appears, with the intended path and the directory of current research. Curiously, despite the intended being correct path, LV seems to seek in the first directory of LV and waived, then, actually checks the projected track. A compilation of mass does not seem to prevent this research.

    Some of these members pointed out in the diagrams of block with hashes in ("#1 exit, exit #2"etc.) which would never be favourites when they were written first - it would be nice never to have to see and avoid the five minutes of search for the dll that occurs.

    It would be great if the Bookmark Manager allows you to exclude files or folders to search for bookmarks. Anyone know if this feature exists somewhere, or is - something I'm better to do myself?

    Hi thoult,.

    This is an expected from the Bookmarks Manager, such behavior indicated in the section "unfinished management tasks in LabVIEW" in the following help file:

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvupgrade/labview_features/

    I am aware that you can change this. Please find below a similar idea in the exchange of ideas:

    http://forums.NI.com/T5/LabVIEW-idea-exchange/bookmark-manager-project-dependencies/Idi-p/2530246

    The person who posted the above idea has continued to extend the Manager of bookmarks for their own use, see here. This might give you inspiration before "attacking yourself."

    http://forums.NI.com/T5/LabVIEW/bookmark-manager-dependencies/TD-p/2529166

    Please let me know if I can be of any other assistance :-)

  • Nican.dll call python questions

    Hi all

    I have a feeling that this issue will be left without an answer, but I'll ask anyway.

    For a project, I need to use Python2.7 to receive frames from a bus.  What I have to do is monitor CAN all traffic on the bus, I have to send frames.  I searched (and searched and searched) for some sort of solution to this, but have found none.  Here's the code I have so far:

    Test #CAN using Python

    types import *.
    import table *.

    #Load DLL
    CANdll = cdll. LoadLibrary ("NICAN.dll")

    canName = c_char_p ("CAN0")
    canNumAttr = c_ulong (8)

    # Define constants
    NC_TRUE = c_ulong (1)
    NC_TRUE = c_ulong (0)
    NC_CAN_MASK_STD_DONTCARE = c_ulong (0x00000000)
    NC_CAN_MASK_XTD_DONTCARE = c_ulong (0x00000000)

    # The values taken from nican.h
    #NC_ATTR_BAUD_RATE = c_ulong (0 x 80000007)
    #NC_ATTR_START_ON_OPEN = c_ulong (0 x 80000006)
    #NC_ATTR_READ_Q_LEN = c_ulong (0 x 80000013)
    #NC_ATTR_WRITE_Q_LEN = c_ulong (0 x 80000014)
    #NC_ATTR_CAN_COMP_STD = c_ulong (0 x 80010001)
    #NC_ATTR_CAN_MASK_STD = c_ulong (0 x 80010002)
    #NC_ATTR_CAN_COMP_XTD = c_ulong (0 x 80010003)
    #NC_ATTR_CAN_MASK_XTD = c_ulong (0 x 80010004)

    # instantiate the table a
    canAttrIdList = (c_ulong * 8))

    # Fill the values in the table
    canAttrIdList [0] = c_ulong (0 x 80000007)
    canAttrIdList [1] = c_ulong (0 x 80000006)
    canAttrIdList [2] = c_ulong (0 x 80000013)
    canAttrIdList [3] = c_ulong (0 x 80000014)
    canAttrIdList [4] = c_ulong (0 x 80010001)
    canAttrIdList [5] = c_ulong (0 x 80010002)
    canAttrIdList [6] = c_ulong (0 x 80010003)
    canAttrIdList [7] = c_ulong (0 x 80010004)

    #NC_ATTR_BAUD_RATE = 500000
    #NC_ATTR_START_ON_OPEN = NC_TRUE
    #NC_ATTR_READ_Q_LEN = 100
    #NC_ATTR_WRITE_Q_LEN = 0
    #NC_ATTR_CAN_COMP_STD = 0
    #NC_ATTR_CAN_MASK_STD = NC_CAN_MASK_STD_DONTCARE
    #NC_ATTR_CAN_COMP_XTD = 0
    #NC_ATTR_CAN_MASK_XTD = NC_CAN_MASK_XTD_DONTCARE

    # instantiate table a
    canAttrValueList = (c_ulong * 8)

    # Fill the values in the table
    canAttrValueList [0] = 500000
    canAttrValueList [1] = NC_TRUE
    canAttrValueList [2] = 100
    canAttrValueList [3] = 0
    canAttrValueList [4] = 0
    canAttrValueList [5] = NC_CAN_MASK_STD_DONTCARE
    canAttrValueList [6] = 0
    canAttrValueList [7] = NC_CAN_MASK_XTD_DONTCARE

    returnValue = CANdll.ncConfig (canNumAttr, canAttrIdList, canName, canAttrValueList)

    CODE ##END

    Which causes this error:

    Traceback (most recent call changed):
    File "C:\Users\Chadwick\Dropbox\Senior Project\CAN\NI-CAN\ITB CAN\test.py", line 63, in
    returnValue = CANdll.ncConfig (canNumAttr, canAttrIdList, canName, canAttrValueList)
    ValueError: Procedure called with not enough arguments (missing 16 bytes) or bad calling convention

    It seems that I am not calling the function correctly.

    Yes, I understand that nor is not supported by the Python.  However, any help with this is appreciated.

    Thank you

    He is the labour code.  I question the material for how many images of waiting there, then read them individually as I'm having no luck using ncReadMult.  If someone needs to do this, here's a starting point.

    /thread

    types import *.
    import table *.
    import sys
    import of struct
    time of import

    #Load DLL
    CANdll = windll. LoadLibrary ("NICAN.dll")

    NC_ST_READ_AVAIL = c_ulong (0x00000001)
    NC_ATTR_READ_PENDING = c_ulong (0 x 80000011)

    # HEADER INFORMATION RELEVANT C
    # typedef NCTYPE_INT32 NCTYPE_STATUS;
    # typedef NCTYPE_UINT32 NCTYPE_OBJH;

    ##typedef struct {}
    # NCTYPE_ABS_TIME Timestamp;
    # NCTYPE_CAN_ARBID ArbitrationId;
    # FrameType NCTYPE_UINT8;
    # NCTYPE_UINT8 DataLength;
    # NCTYPE_UINT8 data [8];
    #} NCTYPE_CAN_STRUCT;

    class CAN_STRUCT (Structure):
    _fields_ = [("Timestamp", c_ulonglong),
    ("ArbitrationId", c_ulong);
    ("Frames", c_ubyte);
    ('DataLength', c_ubyte);
    («Données», c_ubyte * 8)]

    CAN_receive_buffer = (CAN_STRUCT * 1000))

    Status = c_long (0)
    CAN_HANDLE = c_ulong (0)
    #CAN_data_size = c_ulong (sys.getsizeof (CAN_receive_buffer))
    CAN_data_size = c_ulong (17600)

    CAN_received_size = c_ulong (1)
    CAN_NAME = c_char_p ("CAN0")
    canNumAttr = c_ulong (8)

    # Define constants
    NC_TRUE = c_ulong (1)
    NC_FALSE = c_ulong (0)
    NC_CAN_MASK_STD_DONTCARE = c_ulong (0x00000000)
    NC_CAN_MASK_XTD_DONTCARE = c_ulong (0x00000000)

    # The values taken from nican.h
    #NC_ATTR_BAUD_RATE = c_ulong (0 x 80000007)
    #NC_ATTR_START_ON_OPEN = c_ulong (0 x 80000006)
    #NC_ATTR_READ_Q_LEN = c_ulong (0 x 80000013)
    #NC_ATTR_WRITE_Q_LEN = c_ulong (0 x 80000014)
    #NC_ATTR_CAN_COMP_STD = c_ulong (0 x 80010001)
    #NC_ATTR_CAN_MASK_STD = c_ulong (0 x 80010002)
    #NC_ATTR_CAN_COMP_XTD = c_ulong (0 x 80010003)
    #NC_ATTR_CAN_MASK_XTD = c_ulong (0 x 80010004)
    #NC_ATTR_LISTEN_ONLY 0 X 80010010

    # instantiate the table a
    canAttrIdList = (c_ulong * 9))

    # Fill the values in the table
    canAttrIdList [0] = c_ulong (0 x 80000007)
    canAttrIdList [1] = c_ulong (0 x 80000006)
    canAttrIdList [2] = c_ulong (0 x 80000013)
    canAttrIdList [3] = c_ulong (0 x 80000014)
    canAttrIdList [4] = c_ulong (0 x 80010001)
    canAttrIdList [5] = c_ulong (0 x 80010002)
    canAttrIdList [6] = c_ulong (0 x 80010003)
    canAttrIdList [7] = c_ulong (0 x 80010004)
    canAttrIdList [8] = c_ulong (0 x 80010010)

    #NC_ATTR_BAUD_RATE = 500000
    #NC_ATTR_LISTEN_ONLY = NC_TRUE
    #NC_ATTR_READ_Q_LEN = 100
    #NC_ATTR_WRITE_Q_LEN = 0
    #NC_ATTR_CAN_COMP_STD = 0
    #NC_ATTR_CAN_MASK_STD = NC_CAN_MASK_STD_DONTCARE
    #NC_ATTR_CAN_COMP_XTD = 0
    #NC_ATTR_CAN_MASK_XTD = NC_CAN_MASK_XTD_DONTCARE

    # instantiate table a
    canAttrValueList = (c_ulong * 9)

    # Fill the values in the table
    canAttrValueList [0] = 500000
    canAttrValueList [1] = NC_TRUE
    canAttrValueList [2] = 100
    canAttrValueList [3] = 0
    canAttrValueList [4] = 0
    canAttrValueList [5] = NC_CAN_MASK_STD_DONTCARE
    canAttrValueList [6] = 0
    canAttrValueList [7] = NC_CAN_MASK_XTD_DONTCARE
    canAttrValueList [8] = NC_FALSE

    # Configure the equipment CAN
    Status = CANdll.ncConfig (canNumAttr, canAttrIdList, CAN_NAME, canAttrValueList)
    If Status! = 0 :
    "Printing on"ncConfig"error
    Status of printing

    Status = CANdll.ncOpenObject (CAN_NAME, byref (CAN_HANDLE))
    If Status! = 0 :
    "Printing on"ncOpenObject"error
    Status of printing
    impression CAN_HANDLE.value

    Time.Sleep (1)

    Try:
    Status = CANdll.ncAction (CAN_HANDLE, c_ulong(0x80000001), 0)
    If Status! = 0 :
    "Printing on"ncAction:start"error
    Status of printing
    impression CAN_HANDLE.value

    I have = 0
    ##string = "" data: "".
    String = «»

    pending_CAN_frames = c_ulong (0)
    while I<>
    Status = CANdll.ncGetAttribute (CAN_HANDLE, NC_ATTR_READ_PENDING,
    32, byref (pending_CAN_frames))
    Print "waiting for frames: %d" % pending_CAN_frames.value
    If Status! = 0 :
    "Printing on"ncGetAttribute"error
    Status of printing
    for n in range (0, pending_CAN_frames.value):
    Status = CANdll.ncRead (CAN_HANDLE, CAN_data_size,
    ByRef (CAN_receive_buffer [n]))
    for n in range(0,pending_CAN_frames.value):
    for j in range (0, CAN_receive_buffer [n]. DataLength):
    String = string + '%x' % (CAN_receive_buffer [n]. Data [j])
    print '% X\t%d\t%s' % (CAN_receive_buffer [n]. ArbitrationId, CAN_receive_buffer [n]. DataLength, string)
    String = ' ' #reset chain
             
    I += 1

    # ALWAYS CALL LAST
    Finally:
    Status = CANdll.ncCloseObject (CAN_HANDLE)
    If Status! = 0 :
    "Printing on"ncCloseObject"error
    Status of printing

    /thread

    I hope this helps someone in the future.

Maybe you are looking for

  • No response from the keyboard on Equium M40X

    Hi all Posted before on this problem, just mounted a new keyboard, but getting no response from it, the luminous numbers lock is on, but nothing works, it is a new keyboard, my old one was doing the same thing, reinstalled the system using a usb keyb

  • LY580 - installation of windows 8 on SSD

    I would like to install windows 8 on my SSD instead of upgrading my copy of windows at the standard C disk. However, during the installation of windows 8, I says that it cannot install on this disk because it has a MBR partition table and EFI systems

  • no tab port in XP Device Manager

    Adding a printer to add a printer, and when it gets to the tab port selection, there is no sheer USB001, only Com and Lpt, port... where the selection of the USB port, There is no tab port in the Device Manager either... win xp pro sp3 HELP PLEASE

  • Windows mail, user name and password

    I forgot the username and password for windows mail, when I send the CV to jobs the pop-up window asking to connect to the POP Gmail com username and password as my default email w / windows, how can I recover or change the user name and password, th

  • New hard drive installed. Windows 7 disc need to install

    Hello The HD has not in my laptop dell inspiron.  I bought a new HD and now need to install windows 7.  Is now available for download from the Dell support site. ??