Anyone worked with activex controls within labview

I am working on an new project and the instrument has an activex/Dcom control. Any ideas on how to work with this in my laview (8) environment?

Sounds like you are having a control which can be embedded.
You can create an empty ActiveX container on the front panel (Container palette). Rightclick it and select "Insert ActiveX Object" and browse for your control. If you did not register it, you will have to switch to "Create Object From File" and browse for the ocx/dll-file.
The rest is standard ActiveX interfacing using property/invoke nodes.
hope this helps,
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • Is anyone working with large datasets ( 200M) in LabVIEW?

    I am working with external Bioinformatics databasesa and find the datasets to be quite large (2 files easily come out at 50M or more). Is anyone working with large datasets like these? What is your experience with performance?

    Colby, it all depends on how much memory you have in your system. You could be okay doing all that with 1GB of memory, but you still have to take care to not make copies of your data in your program. That said, I would not be surprised if your code could be written so that it would work on a machine with much less ram by using efficient algorithms. I am not a statistician, but I know that the averages & standard deviations can be calculated using a few bytes (even on arbitrary length data sets). Can't the ANOVA be performed using the standard deviations and means (and other information like the degrees of freedom, etc.)? Potentially, you could calculate all the various bits that are necessary and do the F-test with that information, and not need to ever have the entire data set in memory at one time. The tricky part for your application may be getting the desired data at the necessary times from all those different sources. I am usually working with files on disk where I grab x samples at a time, perform the statistics, dump the samples and get the next set, repeat as necessary. I can calculate the average of an arbitrary length data set easily by only loading one sample at a time from disk (it's still more efficient to work in small batches because the disk I/O overhead builds up).
    Let me use the calculation of the mean as an example (hopefully the notation makes sense): see the jpg. What this means in plain english is that the mean can be calculated solely as a function of the current data point, the previous mean, and the sample number. For instance, given the data set [1 2 3 4 5], sum it, and divide by 5, you get 3. Or take it a point at a time: the average of [1]=1, [2+1*1]/2=1.5, [3+1.5*2]/3=2, [4+2*3]/4=2.5, [5+2.5*4]/5=3. This second method required far more multiplications and divisions, but it only ever required remembering the previous mean and the sample number, in addition to the new data point. Using this technique, I can find the average of gigs of data without ever needing more than three doubles and an int32 in memory. A similar derivation can be done for the variance, but it's easier to look it up (I can provide it if you have trouble finding it). Also, I think this funtionality is built into the LabVIEW pt by pt statistics functions.
    I think you can probably get the data you need from those db's through some carefully crafted queries, but it's hard to say more without knowing a lot more about your application.
    Hope this helps!
    Chris
    Attachments:
    Mean Derivation.JPG ‏20 KB

  • I'm a software tester for an in-house app at my company. version 10.0.2 is not cmopatible with some controls within our software. I need the v9.0.1 download which I know works with the controls. Where can I get it?

    I'm a software tester for an in-house app at my company. version 10.0.2 is not cmopatible with some controls within our software. I need the v9.0.1 download which I know works with the controls. Where can I get it?

    Well, if you need old versions of firefox you can find them on this site:
    - http://www.oldapps.com/firefox.php
    Best regards, G-Cloud.

  • How can i use activeX Control in labview?

    how can i use activeX Control in labview?
    please describe me step by step.
    thanks.

    Well..that was quite helpful..but now I'm encountering certain problems. I've attached the VI I've made.
    I don't need sound at the moment so I dropped it. (Although I tried to play it..but all I could hear was a very annoying sound.) Secondly I don't want to display any date or time..so i dropped that property too.
    Now when I run this Vi...the webcam turns on, the screen of videocapx pops up..then the webcam light goes off..and another pop up appears saying..labview is not responding..and i have to close it reluctantly.
    I haven't placed the stop capture property in this vi. i checked it by placing it too..but that doesn't work.
    I would like to notify that my actual task is to acquire image and then compare it with another one already present on my pc. I want you to please help me out..solve my first query then I'll proceed with the latter part.
    Attachments:
    activexvideocaps.vi ‏20 KB

  • Anyone working with eView under JCAPS 5.1.X

    Has anyone worked with eView under JCAPS 5.1.X? I am exploring the use of this tool in a project and I would like to talk to someone who has real world experience.

    Using eView to uniquely identify the person is a good solution especially when customizing the OTDs to each specific source.
    Deployment?
    Well, it depends, impossible to make a blanket statement here.
    With our case, a dedicated eView (logical host) domain is deployed, another domain is deployed for HL7 messages. JMS queues and topics are the the integration layers between them. Currently, looking into JMS Grid for a logical decoupling and clustering between domains.
    Also, going to migrate our eGate SRE messages to JCAPS gradually, the messages which pertain to patient demographic events (ADT) will subscribe to JMS topics wired to eView.
    The great thing about JCAPS (J2EE) is to logically partition components wand then deploy as required. For example, going to deploy HL7 message collaborations and eView components to a single domain now because transactions are low.
    Designed this without consultants, have many years experience with J2EE software development, my problem is with the limited JCAPS Netbeans IDE functionality - ready for JCAPS 5.2!
    Anyway, the eIndex project included with JCAPS, should get you started, forget the "patient" semantics, this is really a person in disguise.

  • Anyone worked with customizing the requisition account generator workflow?

    Has anyone worked with customizing the requisition account generator workflow?
    please let me know
    I need help asap.
    thanks

    Hi Malla,
    Solution here:
    http://garethroberts.blogspot.com/2007/08/gl-account-code-combinations-on-fly-key.html
    Regards,
    Gareth

  • Working with version control

    Hi everyone,
    What do I have to use to work with version control for Web Dynpro programming ?
    Is it DTR ?
    Thanks for the help.

    Hi
    Check out the links...
    <a href="/people/oleg.figlin/blog/2005/08/26/nwdi-overview-and-guidelines:///people/oleg.figlin/blog/2005/08/26/nwdi-overview-and-guidelines
    <a href="/people/sap.user72/blog/2005/09/07/have-you-bagged-a-project-if-so-its-time-to-install-jdi-java-development-infrastructure:///people/sap.user72/blog/2005/09/07/have-you-bagged-a-project-if-so-its-time-to-install-jdi-java-development-infrastructure
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1cdbdc90-0201-0010-d793-e62008b4afec">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1cdbdc90-0201-0010-d793-e62008b4afec</a>
    Hope al this info helps...
    Regards,
    Abhishek.

  • Labview 2012 (64bit) not working with ActiveX and MSAccess

    I have a program developed to open a MSAccess database file and import data using ActiveX commands. The program works with LabView 2012 (32bit) but fails on the ActiveX open command when using LabView 2012 (64bit). I also have the application built as an EXE and it works fine in a windows 32 bit environment (XP or Win 7-32bit) but fails when run on Win 7-64bit. I isolated the error down to the Active X automation Open VI.
    Anyone have a solution for the incompatibility?
    summary
    1.) VI and EXE works on XP and Win 7-32bit
    2.) EXE fail on Win 7-64bit.
    3.) VI works on Win 7-64 bit with LV 2012 (32bit)
    4.) VI fails on Win 7-64 bit with LV 2012 (64bit)

    It looks like you are trying to load a 32-bit DLL from a 64-bit OS. Do you have a 64-bit version of access installed? You'll need to change to that. On the other hand, ActiveX with Access is so slow. You can speed things up considerably by using ADO (i.e. NI's Database Connectivity Toolkit or something like LabSQL).

  • Problems with ActiveX Callbacks in LabVIEW 7

    Have encountered an interesting problem with ActiveX "Reg Event Callback" in LV7 (WinXP):
    In a nutshell, when a lot of events fire in rapid succession, the user-interface locks up.
    The events still fire, and the front panel controls update, but the front panel will not respond to clicks. Interestingly, if the block diagram is open, you can stop it and turn on execution highlighting, etc...
    - I've discovered that the problem we're encountering is related to multiple events firing before the (reentrant) callback VI has finished executing from the 1st event.
    - by watching the Performance data in task manager, and tracking the # of handles used by LabVIEW, I find that when this happens, the # of handles increases, b
    ut never decreases until you stop the VI
    - I would expect several (nearly) instantaneous events to launch multiple copies of that callback VI, and I can believe that would increase the # handles, but I would expect that LabVIEW would catchup shortly thereafter and the # handles would return to its starting count.
    As an aside, using the old ActiveX event and callback method with the exact same version of the activeX control does not have this problem, events just queue up and then fire appropriately.
    Anyone seen anything like this?
    Anyone (NI guys) have any ideas?
    Follow up question (NI guys): when will the support for the old ActiveX event stuff dry up?
    Thanks in advance,
    Ben
    Ben Zimmer
    [email protected]
    Software Developer
    Meikle Automation

    Hi Ben,
    The error message warns about the use of three ActiveX Event VIs that will no longer be supported in future versions of Labview. Following version 6 of Labview, the use of ActiveX Event VIs is shifting to the use of Register Event Callback VI instead. In looking at your screenshots, I did not see any use of the older ActiveX Event VIs. If possible, try attaching the actual VI to the post and I will take a look at that.
    At least in terms of support, phone support currently exists for Labview 6 and 7. With the release of Labview 8, support for Labview 6 will slowly be phased out. In this case, phone support for the ActiveX Event VIs will no longer continue as they are no longer included in the versions of Labview for
    which phone support is provided. However, Discussion Forums and web-based resources would be your best venue of support for those features.
    I would strongly recommend that you migrate to replacing ActiveX Event VIs to using the Register Event Callback VI. The following is a KnowledgeBase article describing the transition of ActiveX in Labview:
    Migrating from the ActiveX Event VIs to Using the Register Event Callback Node
    Also, are you using the Automation Open/Close VIs? These two VIs will allow acquire/release informatio nof the ActiveX object. I have attached a couple example programs that are included in Labview to help demonstrate this concept.
    Hope this helps!
    Kileen Cheng
    Applications Engineer
    National Instruments
    Attachments:
    ActiveX_Event_Callback_for_Excel.llb ‏944 KB
    ActiveX_Event_Callback_for_IE.llb ‏972 KB

  • Does the Sennheiser MM50 work with Voice Control?

    I'm not double posting -- over at "using 3Gs" I asked if anyone had any idea what other earphones I could use with voice control, but after researching these Sennheiser MM50 iP phones look like just the ticket... except I'm not sure they work with the voice control itself.
    They have a mic and a pause/answer button -- has anyone tried theirs to see if it will do the same job on voice control as the Apple earbuds do? (Which, IMHO, is superb). I do hate to give up volume control, but I can live without it for better overall sound (too bad the VC doesn't allow you to just say "louder" or "softer" <g>.

    Mike Kelley wrote:
    I'm not double posting -- over at "using 3Gs" I asked if anyone had any idea what other earphones I could use with voice control, but after researching these Sennheiser MM50 iP phones look like just the ticket... except I'm not sure they work with the voice control itself.
    They have a mic and a pause/answer button -- has anyone tried theirs to see if it will do the same job on voice control as the Apple earbuds do? (Which, IMHO, is superb). I do hate to give up volume control, but I can live without it for better overall sound (too bad the VC doesn't allow you to just say "louder" or "softer" <g>.
    I would assume all earphones work that have a mic. No reason why they shouldn't

  • Working with Windows Control

    I'm trying to work with some windows controls to set up a
    grid of fields that users can enter information into. I was able to
    use controls that limit the amount of characters that can be
    entered into the fields, but the user would still have to use the
    Tab key to get to the next control. Is there a way, either through
    code or interaction icons, that would automatically jump to the
    next control, once the user has entered the maximum amount of
    characters?
    Thanks for any help

    "Rodimus_Prime" <[email protected]> wrote in
    message
    news:fk8cj5$le2$[email protected]..
    >I think I'm starting off on the right track. I'm trying
    to use the function
    > wcGetFocusedControl() in a perpetual icon in order to
    constantly check
    > what
    > control is in focus. With that, I can use if statements
    to determine when
    > to
    > shift focus to the next control. I have an interaction
    icon set as
    > conditional
    > (condition is "TRUE") to be perpetual. In that is a
    calculation icon with
    > a
    > repeat statement. But I can't get the repeat statement
    to update the
    > variable
    > assigned by wcGetFocusedControl().
    OK, the easiest way to do this is to create a list variable.
    I'll call it
    wcList. Let's say you have a map that has all your controls
    in it. I'll
    call it "Control Map." Inside each KO, change the variable
    name that you
    used in each one to:
    wcList[n]
    Where n is the child number of each WinCtrl within "Control
    Map."
    Change your set control value to refer to
    wcList[Listcount(wcList)]
    Now, below all the WinCtrls, set up an interaction with a
    Conditional
    response, condition wcChange (assuming that is your winctrl
    change
    variable), Automatic set to False to True.
    Inside that response, something like this:
    numLoops := Listcount(wcList)
    focusedControl := wcGetFocusedControl()
    controlIndex := 0
    repeat with x := 1 to numLoops
    if focusedControl = wcList[x] then
    controlIndex = x
    exit repeat
    end if
    end repeat
    newIndex = Test(controlIndex<numLoops, controlIndex +1, 1)
    wcSetPropertyValue(wcList[controlIndex], "focus", false)
    wcSetPropertyValue(wcList[newIndex], "focus", true)
    HTH;
    Amy

  • Problem with ActiveX control, Microsoft Toolbar Control, version 6.0

    Hi everyone,
    I built a virtual machine on my desktop and installed Windows and Labview.  Everything looks fine. Then when I tried to insert ActiveX control, Microsoft Toolbar Control, version 6.0, in Labview, it says "Class is not licensed for use". 
    By the way, it works perfectly at my desktop enviroment.
    Any idea? Thanks a lot for any help.
    Anne

    There are two different licenses for those controls: a development license and a run-time license. Did you at some point have Visual C/C++/Basic 6.0 installed? If so, that would have installed the development license. That's the license you're missing on the virtual machine. This KB article discusses this issue: http://support.microsoft.com/kb/318597. It relates to using the controls in Visual Studio 2005, but it applies to LabVIEW as well.

  • Anyone working with Ascential and has loading issues

    Hi,
    Is anyone out there working with Ascential? We are loading data using Ascential to BW ODS. We would get a log that saids "sending 0 rows in package..." from Ascential, but when it gets loaded to BW, it said there is 1 record and the record row has blank field values when I reviewed the PSA.
    Why is Ascential doing this? Is there any settings that I would have to set on the BW side? Would I have to add any code to the Update Rule routine to set the RETURNCODE? Please advise.
    Thanks,
    RT

    Hi Rob,
    I had faced some problems loading data using Ascential Data stage. Below mentioned are some of them:
    Make sure that all the parameters in the transfer structure are mapped correctly in Ascential, according to the specified business rule.
    (ii) Make sure that the number of fields in the transfer structure in BW are same as the mapped fields in Ascential.
    (iii) Make sure that the size of the all the fields in BW are same  as the mapped fields in Ascential.
    My assumption for your problem could have been with the mapping of the fields.
    Hope the answer was helpful!
    Please let us know if you were able to resolve the problem.
    Regards,
    S.P
    *****Assign points for helpful answers****

  • Anyone worked with encrypted HLS streams in OSMF?

    Hi,
    I'm trying to find anyone that might have had experience working with an enrypted HLS stream in OSMF.
    I've been using the library at http://code.google.com/p/apple-http-osmf/ and managed to get this working with a non-encrypted stream.
    Also if anyone has any in depth knowledge of the HTTPNetStream and HTTPStreamSource classes it would be helpful to get in touch with you also.
    Many thanks.
    Mat

    Hi,
    I hate to disappoint you but I spent maybe 4 weeks trying to solve this problem without coming up with an ideal solution. In the end we concluded that this isn't really a viable solution for the product we were trying to develop. If you like I can tell you some of the things that I discovered but I really wouldn't recommend it based on our experiences.
    Mat

  • Need guidance for working with the available example labview VI

    Hello,
    I'm working with the pulse signals and the pulse signals will be effected by the motion artifacts.There is similar thread available on labview here  Adaptive filtering to cancel out noise from an pulse signal  for removing the motion artifacts from pulse signals.so,I am planning to use the vi posted in the thread as LMS block by block(example) with sampling rate of 100Hz and number of samples needed=100 using DAQPad-6015/6016.
    But I am confused with the channels of DAQ as the author(who bulit this vi) says the channel0 for signal and channel1 for reference signal as shown  in the attached image.
    1)If channel1(aio) of DAQ is feeded with the analog input of pulse signals then what is the input needed/feeded to the channle1 of DAQ.
    2)Can I directly use the vi by changing the sampling rate of 100hz and number of samples=100 or anything else is needed for this requirement.
    Can someone explain me the required input to the channels and settings with the DAQ. thanks.
    Attachments:
    LMS_example.JPG ‏127 KB

    Hello,
    can someone explain how the DAQ channels settings are to be done.
    thanks.

Maybe you are looking for

  • SBO - Using the SAP supplied AIO_Material_Master template - Extend Material

    Hoping someone can help here. I am using Using the SAP supplied AIO_Material_Master template. I have read the DataMigration_8_Material_EN_US.doc and could not find anything. How can we extend our Material accross all Plants? What are your suggestions

  • Can't switch on home sharing due to unavailable server | in the UAE

    I tried several times to sign in or switch on my home sharing but to no avail. It keeps saying server is unavailable. I am located in Dubai, UAE. I used to be able to sign in without a hitch. After restoring my ATV2 the problem remained. Is this caus

  • Can't Call Mobiles From My Premium Account

    I have a premium account which is working fine for land lines but will not allow mobile calls from Phillipines to Australia.    I did this successfully previously (a couple of years ago) but it required one type of subscription for landlines and a di

  • Why are my temps so high?!?!?!

    I just built my comptuer 3200+ A64 Clawhammer CG I am in the BIOS and my  System Temp is 48 and CPU temp 59. The ratio seems correct.  I expected the CPU temp to be about 10 degree over the System temp since i am only using a Panaflo L on my SLK948U.

  • Addres Book Photos - iPhone Appearance

    This is an admittedly inconsequential question but I'm curious if anyone knows why Contact Photos appear differently depnding on the person.  I have several profile pictures for people in my address book.  When some people call their photo takes up t