ActiveX control

Hi all!

I tried to use ActiveX automation to control the CANalyzer/Vector tool. The big problem is I can't use some of its methods, and its properties, because generated errors. I would like to know why it is not implemented for all modes and all properties (this is a general question for all applications, because they are cases where you can not implement all methods/propierties). And what I can do to implement an ActiveX automation? In attachment is a view of what I'm trying to do.

Thank you!

I studied deeper and I saw that there is no such thing as property I need (set-up) in the browser ActiveX (see attachment), but it is stated in CANalyzer-> help-> COM Hierarchy (see first attach)

Tags: NI Software

Similar Questions

  • How to resize the activex control?

    I want to dynamically resize an ActiveX control in LV 7.0.  How can I do?

    I tried to manipulate the container manually, using the HWND parent, but although the ActiveX think than its resizing it na not really.  Looks like the window is to be rigged and then the image is cut off?

    Anyway, if there is a solution, I would greatly appreciate knowing.

    Thank you

    Adrian

    Don't know if this can help, but...

    Try right - click at the end of the container on the FP and select Create the property node >...

    If your ActiveX control is like mine which should give you the properties of the container.

    Ben

  • VB6 activex control does not not in labview 8.5

    I am currently trying to get out of VB6 and Laview for some applications to test automated for secondary (rechargeable) batteries.

    We use Texas Instruments fuel gauges to my business and communication with them requires an EV2300 USB box.  I have the drivers installed for the box, and it works without problem in VB6.  I need to get Labview to talk to the box in the same way.

    I use 8.5 at the moment, and I thought that I had the good idea to use the BQ80xRW.dll file that is already installed on my machines to VB6 application.  The only problem is that I don't have the source code of the DLL, only the dll and ocx in my win32 directory files.  Here's what I did:

    (1) import the activeX control to palette (bq80xRW.dll)

    (2) place the bq80xRW on my VI activex control

    (3) place call nodes for the functions I want to test (GetFreeBoards--> OpenDevice--> ReadSMBWord)

    (4) to include nodes with appropriate controls (integers, strings, etc.)

    (5) run the VI

    I've included the VI I developed with this post.  Nword must, in my view, be on 16 while Cmd should be set to 1 c (to read the serial number of the part)

    When I run the program, while the USB module is connected, the GetFreeBoards node returns the following string:

    \\?\usb#vid_0451&pid_0035#5&1c93b2c6&0&2#{8eb0fa22-a67c-4a27-9913-df9ab307d886},

    If I run the program without the attached USB module, the string is empty.  Without spaces or characters at all.

    If the activeX control is something.  It's just not what I want it.  And since I don't have the source code of the dll, I don't know why.

    This big long string starting with \\?\usb is the name of the Board of Directors.  Get rid of the trailing comma and passing under the name of your Board of Directors in opendevice().

  • Compilation warnings TestStand ActiveX controls in WPF 2012

    Hi all

    I use the TestStand (ApplicationMgr, SequenceMgr, ExcutionMgr) ActiveX controls in my project written in WPF 2012.

    After that I put the controls on the form, there are a few referrences automatically included in my project. But when I compile, I had the following warnings in the output window:

    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.UI.Support\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.UI.Support.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC_MSIL\NationalInstruments.TestStand.Interop.API\5.1.0.226__ad9244eb3b825cd8\NationalInstruments.TestStand.Interop.API.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.
    CSC: warning CS1762: a reference has been made to the embedded PIA 'c:\Windows\assembly\GAC\stdole\7.0.3300.0__b03f5f7f11d50a3a\stdole.dll' because of an indirect reference to that assembly established by the Assembly "c:\Program Files (x 86) \National Instruments\TestStand 2013\API\DotNet\Assemblies\CurrentVersion\NationalInstruments.TestStand.Interop.UI.AxControls.dll". You want to change the property "Include the Interop Types" or another Assembly.

    When I change the property "Include the Interop Types", I rather the errors. Can anyone give some advice? What does the warning message? How do I get rid of the warnings or do I just ignore them?

    Thank you very much!

    Kind regards

    According to the text in the warnings, it looks like you had always incorporate true on some of the meetings.

    Try changing all those in warnings to not stir, and then the warnings will probably disappear.

    -Doug

  • LabVIEW Touch Panel Module | ActiveX controls | Windows CE

    Hello

    I am trying to determine if it is possible to use with the LabVIEW Touch Panel Module ActiveX controls.

    There is no ActiveX container on the pallet in the Touch Panel Module and I can't find any mention of ActiveX controls in the manual of touch panel.  So, I'm gathering that ActiveX is NOT supported on LabVIEW Touch Panel running on Windows Embedded CE.

    Can anyone confirm if the ActiveX controls are supported on the LabVIEW Touch Panel Module?

    Thank you

    Steve

    Hi, unfortunately they are not (see this link). For more information, see the Manualand the listof the supported features.

  • How to read and write FileGlobals with TestStand ActiveX control in c#

    Hello everyone,

    I'm trying to read and write FileGlobals with TestStand ActiveX control in c#.

    I tried with:

    SequenceContext contextOfTraceMsg = e.thrd.GetSequenceContext (0, out frameId);

    var filepara = contextOfTraceMsg.FileGlobals.GetSubProperties ("ProjectParameter.NestIsTested", 0). GetValue (1); (NestIsTested is an array of Boolean)

    but without success.

    Can someone tell me how to do it right?

    Thank you in advance!

    Concerning

    0049 wrote:

    Hello Doug,

    Thanks for the reply.

    It works to read a Boolean value. How to read the table of Boolean?

    Kind regards

    For a table you can either do:

    (1) myarray [] bool = contextOfTraceMsg.FileGlobals.GetValVariant ("myarray", 0);

    Or

    (2) using GetNumElements() and GetValBooleanByOffset().

    -Doug

  • Using ActiveX controls to the old user interface

    I tried to build a User Interface for TestStand 4.1.1 using LabView 8.6.1 (on Windows XP)

    However, ActiveX controls keep showing in the old non - 3d "block" style.

    This seems to be a problem when you build a new exe. If you use the included UI (Full Featured) in TestStand it appears correctly.

    I was able to replacte this problem on two other development systems (a new windows XP, LabVIEW 8.6.1 & TestStand 4.1.1 install).

    (1) take a copy of the full-functional UI of LabVIEW.

    (2) open the project file

    (3) rebuild the exe file

    It's only a problem when you use the exe file. When you run from the LabVIEW development system it looks good.

    Hi Simon,.

    For your UI to take on XP
    Theme controls, you will need to place a manifest file that specifies the activex control topics in the same
    directory as your executable file. TestStand comes with a manifest file for
    INTERFACE c# you can also use for the UI of LabVIEW. Just go to the \User Interfaces\Simple\CSharp and copy the file TestExec.exe.manifest in the directory of the LabVIEW User Interface executables.

    Note that the manifest file must have the same name as your executable file LabVIEW UI. For example, if you name your user interface, "MyCustomTSUI.exe", you will need to name the manifest file 'MyCustomTSUI.exe.manifest '.

    Please let me know if this solves your problem or if you have other questions. Thank you!

  • ActiveX controls disappear when VI is loaded in a subgroup of experts with the use of the modal to start dialog box

    Hello

    I have a secondary to a VI (VI1) in which one another VI (VI2) is charged. VI1 is used as a module for an Action step in TestStand. Vi2 has controls ActiveX as ExpressionEdit and Adobe PDF reader etc. VI1 VI2 in charge in a subgroup of experts and calls Dialog.vi Modal start. I put 'Show the front panel when it is called' true to VI1 so that the VI appears when the sequence is executed. During the execution of the sequence and when the VI begin dialog is called VI1, all controls ActiveX VI2 (loaded in the Sub-group of experts) modal disappears. Here is the screenshot of the façade of the VI1 operating sequence:

    This problem occurs in TestStand 4.2.1 TestStand 2010 and TestStand 2010 SP1 (for as far as I tested it.) May occur in older versions too). In the attached file, VI1 is 'ExprEdit Test.vi' and VI2 is 'SubpanelLoad.vi '. The sequence attached is developed in TestStand 2010 SP1.

    How can you solve this problem?

    Thank you

    Ganesh Kumar

    Hi all

    Found the solution to the question . The problem is that the front of the VI in which start Modal Dialog.vi is used should not be open before start Modal Dialog.vi is called. In the files that I have included in my previous post, .vi ExprEdit Test (does not work) had the ability to 'See the façade when it is called' enabled in the properties of VI. It was the origin of the problem. When I disabled this option, all started working well (ActiveX controls do not disappear during the execution of the sequence). I had accidentally turned off in .vi ExprEdit Test (work) that worked. A comprehensive review of the differences between the 2 screws led to find the cause of the problem.

    Thank you

    Ganesh Kumar

  • Problem of event reminder of the registry with Linkam ActiveX controls

    Hello

    I have a problem in configuration reference VI to interface with Linkam ActiveX control with an event callback function to register. I created a VI strictly typed with re-entrant execution, with all the correct connectors, as shown in the picture below, but LabView complains of a broken wire. The only difference between the input and the output seems to be that the result stands as an asynchronous function, and the entrance wants (synchronous) normal function? I can't find any option to make my VI reference become synchronous. Does anyone have any suggestions as to what to try next? Thank you very much

    Davide

    Hello

    Make a right-click on the terminal 'Ref VI' choose 'create the callback VI '.

    Do not try to build it yourself, it never works. :-)

  • Thorlabs Piezo controls - manually ActiveX control

    Hello

    I use T - Cube Piezos Thorlabs for Nanomax stage - TS, I control through LabVIEW. I managed to connect the piezo controls in the program and it works well, but I'm for the accomplishment of the piezo through a slider or an automated outside of the ActiveX control. But I ran in trouble, I can't control the piezos otherwise than through the activex container. Any ideas? Joined the .vi

    UPDATE: no response from Thorlabs but I realized my mistake, the while loop was iterations too quickly so when the cursor is moved to the entry has been reset every time it loop. Put a minor delay (~0.01 s) and it works beautifully.

  • Wrap the ActiveX control in a lvclass?

    I am trying to wrap an ActiveX control in a class. I use a Refnum of the automation of the private cluster for containing the reference to the class, create the open instance of ActiveX Automation and the private refnum allows access to the class. Very well. But without the destructor semantics how can I make sure that the ActiveX object is released properly? Also, private refnum ActiveX seems to come back to null when I transition vi at vi. I have to do an automatic open after unbundling the refnum every time?

    Nobody prevents you from implementation of constructor and destructor of yourself. Create a static dispatch VI, which creates an instance of your ActiveX object and create a dynamic distribution VI in order to release it (you can inherit from your class if you need to). The semantics of use your wrapper is the same as working with plain ActiveX refnums: you call your Shredder VI explicitly, you would have to do with "close Reference primitive." I wrapped a full hierarchy of objects this way COM and it works fine. BTW, you can take a look at Endevo GOOP Developer Suite: it simplifies the use with classes and provides a class with the constructor and destructor model, as described above. Unfortunately I have no idea why your automation refnum becomes invalid. Do you use it outside your class and accidentally somewhere close? Maybe OT, but if you need an accessor for the private refnum, you can use a trick to protect to close: wire your original refnum for both inputs of a primitive "Data Variant" and return to the refnum resulting: so you increment the counter of your COM object reference You can (and should) close the refnum safely without affecting your private.

  • Please help - StdType.picture - I need this object to an activeX control!

    Hi, I use an activeX control that has a property that needs a photo.

    the problem is that it is not a path to an image.

    This is the reference StdType.picture.

    I searched the internet for answers, but could not find.

    Help, please.

    Guy.

    Problem solved!

    Just look at this Post: "How can I load an image and use it in ActiveX at the time of execution?"

  • ActiveX control in CVI Edit substep

    I'm under CVI 2010 (10.0.1.419) and TestStand 2010 SP1 f1 (4.5.1.144).

    I came across a problem today and I know that I must be missing something easy. I am trying to create a step with a stage to change type. The lower level change called a CVI function to its module code. The CVI function opened a panel that contains an ActiveX control.

    When I try to use the lower level edit (by clicking the button in an instance of the step type), I got an error that the DLL cannot be loaded. Changing the setting of adapter CVI to run the steps in an external Instance of CVI let me see that ICB receives an ERROR of EXECUTION NO DEADLY that 'ActiveX controls cannot be created in a thread which the concurrency model is apartment multithreaded (MTA).

    I know that Edit substeps are supposed to use STA threads (there is a post of Doug somewhere around here... ah, here). So I did not know what went wrong. I created the simplest example I could think of nothing else than a control IE WebBrowser on a Panel in a .uir and still have the same error.

    More strange is that I got the error When you run one of the TestStand examples! I tried the example \Examples\StepTypes\CVI\HP34401a and got the same error:

    NON-FATAL RUN-TIME ERROR:   "c:\...\StepTypes\CVI\HP34401a\HP34401aStepType.c", line 356, col 5, thread id 0x00001694:   Library function error (return value == -176 [0xffffff50]). ActiveX controls cannot be created in a thread whose concurrency model is multithread apartment (MTA)
    

    There must be something I am doing wrong, or an option that is out of order. Any ideas?

    -J

    Change substeps are executed in a threaded so executed in the process. If you are running in an external CVI, then you will get a MTA thread. You probably don't want generally be run some edit sub-steps in a CVI outside themselves, that is why there is a checkbox "Always run in the process" on the CVI module specification table (I recommend to all developers step using CVI modules for substeps type use this setting for all of their sub-stages). Your original question was probably unrelated to the COM threading model I recommend that you debug and debug the process of with CVI seqedit.exe rather than your modules running in an external CVI.

    Hope this helps,

    -Doug

  • The 'Excel.FormatCondition' activeX control class opening

    I am using activeX controls for excellent including the classes Excel._Application, Excel._Workbook and Excel._Worksheet. I used an open refnum of automation of opening of the application class, then I used nodes of property to join the workbook and worksheet classes. Now, I want to use the Excel.FormatCondition class. I couldn't go to class with nodes and its methods, so I use a refnum automation open as before, but I get "Error 3005 occurred at the opening of Automation".

    I found another post with advice to record the commands, but I read that the excel activeX controls need not to be recorded - they work under windows.

    If I do not need to record something, I don't ' know not what. I'm using LabVIEW 8.6 and Office 2007.

    Andrew

    This is not true. As I mentioned in another threadas an example, you get out of the status of the format of the collection after you have added using the Item method. In Excel 2003, which returns a FormatCondition type directly. In Excel 2007, it returns a variant. Therefore, you can use the variant data between the FormatConditions.Item () method and the FormatCondition.Interior property, as I showed in response No. 14, to convert the variant to a FormatCondition type.

  • Windows Media Player ActiveX control causes memory leak

    I'm writing an application that will load and play *.avi files in an ActiveX control. The user must be able to load multiple files consecutively in the single player mode. However, it seems to be the memory leak every time that a file is loaded, even if it's the same file. For example, even when you load a small file in *.avi 81KO repeatedly, there is a memory leak ~ 6Mo coherent (as observed in the Manager of tasks). The leak memory is greater when I load larger files.

    I tried to deny it by adding using a Method Close by using the node invoke. It gets about 3 MB of RAM, but when I load the file again, it leaks ~ 9MB, leaving a net leak of ~ 6Mo once again.

    I also used reference close vi (s) to clear the memory ActiveX object, but that did not help either. In other versions of VI, I tried to eliminate the creation of a new IWMPlayer4 object using a shift register, but once again the leak memory persevered...

    It's a simple version of the VI, as well as the small video file attached. In my application, I want to be able to load large video files (~ 600 MB) several times without memory leaks. Thank you in advance for your help!

    -gpho

    Hi jareds.

    Thanks again for test it for me. I use Windows 7 and WMP version 12.

    As you requested, I tested it on a computer with Windows XP and WMP version 9 (and LabVIEW 8.2.1) and the problem of memory has disappeared. I then installed WMP version 11 on the same computer: still no memory problem.

    On the Windows 7 computer, I went back to version 11 using the instructions found on this link, and the problem of memory has disappeared. It seems that memory leak is due to a problem with WMP version 12 (although degraded version 11 on windows 7 has some bugs - and you can't go back to v12).

    Thanks again for the help!

    -gpho

  • Microsoft Access with ActiveX control problems

    I did a bit of research on this topic and have found several answers that are nearby, but do not address my real problem.

    I would use ActiveX control Microsoft Access, especially to create new database files without having to copy an empty file that I've stored somewhere I also can't stand it when I don't get something to work, so it's now something personal also.

    Anyway, when I run a simple VI to open the reference can be created, Access._Application, I get the error: "error 3005 occurred at the opening of the Automation: object specified is not can be created in Access.vi. I have tried many of the common responses to this problem, such as navigation for the library in ActiveX window and try to save it with regsvr32, but the file is msacc.olb, which cannot be registered with regsvr32.exe. I have attached the original VI and I tried on 3 different PCs, all with slightly different installs of Office, but with Access 2007. If anyone can help me understand this point, I would be very happy.

    Thank you

    Your vi made the same error on my machine.  Then, I removed the Access._Application reference, click right on the reference entry and chose to create a control.  Then I changed the Active-X class by accessing my version of reference computers ("Access._Application.12").  The same vi took place without error.

    The class is still shows as Access._Application, which indicates that there may be an incompatibility which is not visible.

    When and activeX node does not work when copied from any other machine, it is recommended to replace each node that is generating the error and reselect the properties and methods.

Maybe you are looking for

  • Separate homepage configurations

    Greetings,I create two distinct configurations of Firefox. When I open each individually, they work perfectly. However, when it is open, and then I opened the other, it becomes a mirror of the configuration that is already open. Y at - it a setting o

  • Media center and ipod - (quick time player)

    Hello. Media Center works fine, until I installed ipod and player quick time which is part of the itunes put in place. Now DVD will play is no longer in the media library. I just get a blank black screen. I tried to change settings in quick time play

  • Virus detected Message

    I just got this message.  Is this true?  What should I do?

  • Screen LED-2311 x - idle time return to the screen of the monitor

    Hello the only problem I'm having is that when my computer shuts the screen due to idle time, when I move the mouse to wake up, the monitor will be taken more than 10 seconds to display the... I got more than 5 monitors, all display the screen in 5 s

  • T440 memory validation test

    Lenovo will come out tomorrow to repair a T440 unit with bad memory (many BSODS, omitting most of the tests.) expanded memory, etc. The representative on the phone seemed a little unsure of the configuration of the memory on these laptops. My underst