Activex question in labview

Hello,
I am trying to controll an 8753ES with the agilent intulink through labview using activex.  I have read about activex in labview, and and help file for intulink, which says:
In order to use the Agilent IntuiLink VNA Automation Server, a Visual Basic program must reference two servers.  Under the Visual Basic Project | References… menu item, include the following two references:
· BLXL Servers:  Check the box for  Agilent IntuLink Servers Common Interfaces.  As the description suggests, this library contains definitions of common interfaces.  In particular, this library defines some enumerated types, used by Agilent IntuiLink Automation Servers.
· AgtServer8714:  Check the box for Agilent VNA Network Analyzer Automation Server.  This library contains definitions specific to the supported network analyzer products.
Object Hierarchy
AgtServer8714 Object
Provides methods to obtain data, obtain graphics, save and restore calibration and state, and to establish and close a connection to a network analyzer.
AgtMeasure8714 Object
Provides methods to obtain scalar parameters from the network analyzer.  Most of these are setup parameters.
AgtUtilities8714 Object
Use the AgtUtilities8714 Object to:
· Work with the network analyzer connection to the PC.
· Work with the network analyzer descriptions and identity.
Now, I have constructed what I think is the correct implementation in labview (see atachment), but when I run it I get an error that makes it seem like an i/o refernce is not included:
Exception occured in AgtServer8714.AgtServer8714.1: CAgtServer8714::Connect method failed. CAgtCore8714::Connect method failed. CAgtConnectObject::CreateIO method failed. in vna_activex.vi
What I really want to know is, how do the references that are required for a program in vb work in labview?  I looked up a vb sample for intulink, and they include four references:
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\WINNT\System32\STDOLE2.TLB#OLE Automation
Reference=*\G{06EB23A2-C6C1-8714-98B5-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Agilent\IntuiLink\VNA\AgtServer8714.dll#AgtServer8714Lib
Reference=*\G{D753C10E-EF9A-11D3-98B9-080009C12B46}#1.0#0#..\..\..\..\..\..\Program Files\Common Files\Agilent\IntuiLink\BLXLServers.dll#Agilent IntuiLink Servers Common Interfaces
Reference=*\G{6B263850-900B-11D0-9484-00A0C91110ED}#1.0#0#..\..\..\..\..\..\WINNT\System32\msstdfmt.dll#Microsoft Data Formatting Object Library 6.0 (SP4)
It seems like in labview, there is nothing else that is reading the reference when I do an automation open.  Any help at all is welcome.  Also, if you know of any labview examples that use intulink, that would be great.
Thanks,
Eric
Attachments:
vna_activex.vi ‏11 KB

Here is a link to the Agilent8753ES instrument drivers from www.ni.com/idnet:
http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=1625
Brian
Brian G.

Similar Messages

  • Slow imc COM (ActiveX)-libraries inside LabView

    Hi
    I'm using the imc COM (ActiveX)-libraries inside labview. The key command is the "automation open" block from LabView and selecting the desired ActiveX class.
    Here his the definition of one of this function:
    Function DChannel.GetDataDouble( StartIndex As Long, Count As Long,
                    Data As Double() ) As Long
    Copies the specified samples in an array of 8Byte real numbers.
    Parameters
    StartIndex
    Index of the 1st sample to copy. The first sample in a channel has an index of 1.
    Count
    Number of samples to copy.
    Data
    Array to receive the values. See remarks section.
    Return Value
    Number of valid samples in <Data>. May be smaller than <count>, when there are not enough samples in the channel (StartIndex + Count -1 > Length).
    The problem and also question is why the parameter Data apears as a variant when I use a invoke node for the above method (should be double()??)
    When using large Data arrays the libraries are very slow in comparison with VB6. I tested the same functions in VB6 and LabView. In VB6 the COM libraries are very fast! Does anybody know how to improve performance with COM Variants?
    Thank you

    I'm not sure you can do anything about the speed as long as you use ActiveX. At least that was the answer I got when I asked a similar question here. It seems that there is a lot of data copying between memory spaces that goes on between ActiveX and LabVIEW and, if there is much data involved, it can take a while. Search these forums for the terms safearray or "safe array" or marshal data and you will find more info on what you are up against.

  • Lost ActiveX connection with LabVIEW server

    I have called LabVIEW in TestStand and tried to execute the test cases .
    While executing I got the following error:  ( Lost ActiveX connection with LabVIEW server.
    The LabVIEW adapter will try to reconnect on the next execution attempt.-18001; An error occurred accessing the LabVIEW ActiveX automation server.).

    Same error.  Is anyone from NI going to bother commenting on this?  It's been >8 months...

  • How to implement an ActiveX server in LabVIEW

    My task is to implement an ActiveX server in LabVIEW 8.0 that will be called from a data management software (DXE).
    The LV server will take care of data acquisition and control.
    I have been looking for tutorials and example code at the NI developer zone and elsewhere without any progress. Information is either to general or code is to old (LV 5.1) to give any help.
    Please, show me to a good example of an ActiveX server in LV 8 properly commented or with attached explanations.
    Alternatively, suggest any tutorial, short course or books with practical instructions.
    Specific information is most welcome.
    I suppose that it is possible to write a ActiveX client in LabVIEW to verify the functions of the ActiveX server ?

    rolfk wrote:
    skalis wrote:
    Thank You. Good to know that I am on the right track.
    However,
    Your sentence "If You look at the several shipping examples..." make me
    little concerned. I am not able to find any example of a LV ActiveX
    server in my LV 8.0 installation. I would be very grateful of You can
    send me any.
    Basically you can not create your own
    Active X server with your own object hierarchy and methods in LabVIEW.
    LabVIEW however can export a predefined Active X server interface that
    is just another access method to its internal VI server interface.
    With this interface you can determine what VIs are available to
    control, load specific VIs from disk if you know their path and,
    execute those VIs and passing parameters to it and receiving outputs.
    So if your software allows you to script the Active X access to an
    Active X server in some ways such as VBA or similar you should be fine.
    If your software expects a specific Active X interface you have to
    implement in the server application, you are out of luck with LabVIEW,
    without using an external component such as an extra Active X server
    DLL that translates between the expected interface and the exported
    LabIVEW interface. But this last method is quite likely not worth the
    hassle.
    Rolf Kalbermatter
    While I did follow the link mentioned above and found the Interop.LabVIEW.dll that is included in the C# project for the purpose of calling VIs from C#, I am frustrated that these methods are 'buried' in a .dll that you have to go and find on the NI web site, and are not ActiveX methods that are available in an ActiveX Object that is installed when you install LV 8.20 PDS. 
    Rolf, I don't know that you will get this email, but are you refering to the methods inside of the Interop.LabVIEW.dll in what you are saying above, and if so, how did you become aware of this .dll? 
    Is anyone aware of any documentation for these ActiveX methods?
    Thanks,
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI

  • 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

  • A question about LabVIEW's instinct.

    Hello guys:
    I have a question about LabVIEW's nature.
    Is LabVIEW a language that can realize the operation system(OS) ?
    I feel LabVIEW can express my idea intuitively in my mind.
    So LabVIEW can help me develop some program rapidly.
    I think LabVIEW can do it.
    How about your opinion?

    Do you mean can LabView read your mind?
    Not by itself, external hardware is required.
    Jeff
    "´^¤j®ü" wrote in message
    news:3b05a593@newsgroups....
    > Hello guys:
    >
    > I have a question about LabVIEW's nature.
    > Is LabVIEW a language that can realize the operation system(OS) ?
    > I feel LabVIEW can express my idea intuitively in my mind.
    > So LabVIEW can help me develop some program rapidly.
    >
    > I think LabVIEW can do it.
    >
    > How about your opinion?
    >
    >
    >
    >

  • ActiveX to configure LabVIEW and webDAQ

    I'm trying to use ActiveX in LabVEIW to fetch data from a webDAQ/100. I have configured the webDAQ, put I need help to communicate with the webDAQ from LabVEIW (using ActiveX). I've never tried anything like this before, and I would really appreciate some help here

    Margann,
    The best help we can offer is to point you to the ActiveX shipping examples in LabVIEW. This will show you how to use the ActiveX functionality of LabVIEW. If you need help deciding what methods and properties to call on the ActiveX object, then I would contact webDAQ.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Using a Visual Basic ActiveX DLL in LabVIEW

    I' like to use some code written in Visual Basic into LabVIEW. I think the best way to do this is making a dll_activeX. I've seen an example on NI site: http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CB992111EE034080020E74861&p_node=DZ52048&p_submitted=N&p_rank=&p_answer=&p_source=External.
    When I use the dll present in the "zipped" file it works (I've registered the dll as described in the article).
    If I compile in a DllActiveX the Visual Basic project (Visual Basic 6.0), present in the zipped file, and I try to use, after the unregistrtion of the old one and the registration of new one, it doesen't work.
    I received the following error:
    error 3005Occurred at automation open: Object specified is
    not creatable in a ActiveX Dll with LabVIEW.vi
    Some ideas?
    Thank you.

    Paolo,
    I am not sure why you are getting the error. I downloaded the zip file re-built the dll and then registered it. I originally had LabVIEW open, so I closed and re-opened it so that it would see the new object. I then pointed the ActiveX refnum to the Project1 class. I still had a few broken wires so I hit ctrl-shift-Run Arrow to force a recompile.
    After all that I ran the VI at it worked great. Once that was done I unregistered it and ran the VI. I got an error as expected. I then re-registered the dll and ran it again. No error.

  • Nivbai activex call to labview missing step result's?

    I'm traying to call NIVBAI script in labview using activex calls to get step measurment information. For some steps 
    I'm geting good valuses, but for some steps in vision builder script wher I'm using calculator or global variable, the values of steps are 0.
    can someone advise me how to correct that problem? attached picture explains my problem. sorry for may englisch.
    Thank's in advance! 
    Attachments:
    problem.PNG ‏39 KB

    Hi antz24,
    Which version of LabVIEW are you using?  This example was developed and verified for Visual c++ 6.0 and LabVIEW 7.1.  If you are using a different version of LabVIEW, it is likely that the ActiveX methods have changed.  Below are the ActiveX methods for LabVIEW 2012:
    http://zone.ni.com/reference/en-XX/help/371361J-01/axprop/vi_class_method/
    Here is some documentation on calling LabVIEW VIs using different programming languages.
    http://www.ni.com/white-paper/5719/en#toc1
    Also, what exactly is it that you are trying to do?  In most cases, your application would probably be best served if it interfaced with your LabVIEW VI as a DLL.
    Andrew T.
    National Instruments

  • 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

  • Questions about LabVIEW

    Dear support team,
    Could someone please respond to Eric's questions? Eric works at Bonneville Power Administration and they are gearing up for another major LabVIEW and DSC project. He may have LabVIEW 7 beta. I am on my way out of town for two weeks and won't have access to phone or email. Thanks!!
    Tricia Lee
    DSM Inland Northwest
    [email protected]
    "Pierce, Eric - TNCB-TPP-2"
    05/01/2003 08:05 AM
    To: [email protected]
    cc:
    Subject: The list of question i never sent
    Sorry for the long delay, things have been very busy here with this new project. I have questions / concerns about the DSC, OPC and LOGOS; first here is our architecture.
    We will have two servers running windows 2000 server. Both servers will be live and need to have all DSC components installed. One server is to act as the primary server and the second is to act as a failover server. We have custom components that manage all of our custom services, if one of the custom services stops responding the failover service will shut down all custom services on the primary server and start all of the custom services on the secondary server, thus, the secondary server becomes our primary live server.
    My understanding is that we will have to load a *.spf file on each HMI that tells the HMI where the server is, at the same time we need to initialize the DSC and OPC with *spf and *.lpd files. Now I might have the file extensions wrong but the idea is the same. We have all of our data in a SQL 2000 database, how do we make sure that all of the configuration files match the SQL 2000 db? We have several GUI's that can edit the SQL 2000 data, how do we update the DSC / OPC configuration files?
    So in short here are my current questions:
    How can we manage failover with two live servers
    How can we ensure that DSC / OPC / Logos configuration files match the data in SQL 2000?
    Does any of this make sense? This labview stuff is very new to me.
    Eric Pierce
    ACS Group, Inc.
    Sr. Software Engineer
    w. (360) 619-6284

    Hi Eric,
    You got it right that once the primary machine goes down, the standby machine detects this, and then loads the appropriate SCF file, etc. Caveat: This would mean however that the hardware in question is accessible by both the machines (it's on an Ethernet, for instance). Any hardware physically connected to the primary machine will obviously be not accessible by the secondary (unless there's a way to have a "Y" connection).
    The logging part you mention is not very clear to me. Several questions come to mind: Isn't DSC the logger, logging to its Citadel database? Or, is SQL 2000 the main database? And DSC is logging to SQL 2000? If yes, how? Or is the SQL 2000 querying Citadel and hence getting the data into itself?
    Regards,
    Khalid

  • Clientless SSL VPN and ActiveX question

    Hey All,
    First post for me here, so be gentle.  I'll try to be as detailed as possible.
    With the vast majority of my customers, I am able to configure an IPSEC L2L VPN, and narrow the traffic down to a very minimal set of ports.  However, I have a customer that does not want to allow a L2L VPN tunnel between their remote site, and their NOC center.  I thought this might be a good opportunity to get a clientless (they don't want to have to launch and log into a separate client) SSL VPN session setup.  Ultimately, this will be 8 individual sites, so setting up SSL VPN's at each site would be cost prohibitive from a licensing perspective.  My focus has been on using my 5510 (v8.2(5)) at my corp site as the centralized portal entrance, and creating bookmarks to each of the other respective sites, since I already have existing IPSEC VPN's via ASA5505, (same rev as the 5510 )setup with each of the sites.
    First issue I've run into is that I can only access bookmarks that point to the external address for the remote web-server (the site has a static entry mapping an external address to the internal address of the web server).  I am unable to browse (via bookmark) to the internal address of the remote web server.  Through my browser at the office, I can access the internal address fine, just not through the SSL VPN portal.  I am testing this external connectivity using a cell card to be able to simulate outside access.  Is accessing the external IP address by design, or do I have something hosed?
    Second issue I face is when I access the external address through the bookmark, I am ultimately able to log onto my remote website, and do normal browsing and javascript-type functions.  I am not able to use controls that require my company's ActiveX controls (video, primarily).  I did enable ActiveX relay, and that did allow the browser to start prompting me to install the controls as expected, but that still didn't allow the video stream through.  The stream only runs at about 5 fps, so it's not an intense stream.
    I have researched hairpinning for this situation, and "believe" that I have the NAT properly defined - even going as far as doing an ANY ANY, just for testing purposes to no avail.  I do see a decent number of "no translates" from a show nat:
      match ip inside any outside any
        NAT exempt
        translate_hits = 8915, untranslate_hits = 6574
    access-list nonat extended permit ip any any log notifications
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.17.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 host A-172.16.9.34
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 192.168.17.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 host A-172.16.9.34
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 192.168.18.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 192.168.18.0 255.255.255.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 host 172.16.62.57
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 host 172.16.62.57
    access-list nonat extended permit ip 192.168.18.0 255.255.255.0 host 172.16.62.57
    access-list nonat extended permit ip 192.168.17.0 255.255.255.0 172.16.8.0 255.255.254.0
    access-list nonat extended permit ip 192.168.16.32 255.255.255.224 172.16.8.0 255.255.254.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.17.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 192.168.18.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.16.32 255.255.255.224 172.16.250.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 192.168.18.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.2.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.16.32 255.255.255.224
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 192.168.17.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.18.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list D_Traffic extended permit ip 192.168.17.0 255.255.255.0 172.16.250.0 255.255.255.0
    access-list outside_1_cryptomap extended permit ip 192.168.16.32 255.255.255.224 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.17.0 255.255.255.0 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.18.0 255.255.255.0 host A-172.16.9.34
    access-list outside_1_cryptomap extended permit ip 192.168.16.32 255.255.255.224 host 172.16.62.57
    access-list outside_1_cryptomap extended permit ip 192.168.17.0 255.255.255.0 host 172.16.62.57
    access-list outside_1_cryptomap extended permit ip 192.168.18.0 255.255.255.0 host 172.16.62.57
    access-list External_VPN extended permit ip 192.168.16.32 255.255.255.224 172.16.254.0 255.255.255.0
    access-list External_VPN extended permit ip 192.168.17.0 255.255.255.0 172.16.254.0 255.255.255.0
    access-list outside_in extended permit icmp any any log notifications
    access-list outside_in extended permit tcp any any log notifications
    pager lines 24
    logging enable
    logging asdm informational
    logging ftp-server 192.168.16.34 / syslog *****
    mtu inside 1500
    mtu outside 1500
    ip local pool Remote 172.16.254.1-172.16.254.25 mask 255.255.255.0
    icmp unreachable rate-limit 1 burst-size 1
    asdm image disk0:/asdm-645.bin
    no asdm history enable
    arp timeout 14400
    global (inside) 1 interface
    global (outside) 1 interface
    nat (inside) 0 access-list nonat
    nat (inside) 1 192.168.16.32 255.255.255.224
    nat (inside) 1 192.168.17.0 255.255.255.0
    nat (inside) 1 0.0.0.0 0.0.0.0
    access-group outside_in in interface outside
    192.168.2.0 is my corp network range
    192.168.2.171 is my internal IP for corp ASA5510
    97.x.x.x is the external interface for my corp ASA5510
    192.168.16.34 is the internal interface for the remote ASA5505
    64.x.x.x is the external interface for the remote ASA5505
    192.168.17.0, and 192.168.18.0 are two other private LANS behind the remote 5505
    As you can see, I have things reasonably wide open - with no port restrictions on this one yet - this is for troubleshooting purposes, and it will get restrictive as soon as I figure this out   Right now, the ASA5510 is pretty restrictive, and to be brutally honest, I'm not certain I'm even using the packet tracer 100% proper to be able to simulate coming from the outside of the network through my ASA5510, out to a remote ASA5505, and to a web server behind that 5505.  I'm sure that the issue is probably going to be a mix of ACL's between the 5510, and the 5505.
    I guess the main question, is Clientless SSL VPN really a good choice for this, or are there other real alternatives - especially since my client doesn't want to have to install, or use an actual client (like AnyConnect), nor do they want to have an always-on IPSEC VPN.  Am I going about this the right way?  Anyone have any suggestions, or do I have my config royally hosed?
    Thanks much for any and all ideas!

    Hey All,  I appreciate all of the views on this post.  I would appreciate any input - even if you think it might be far-fetched.  I'm grasping at straws, and am super-hesitant to tell my customer this is even remotely possible if I can't have a POC myself.  Thanks, in advance!!

  • Problems calling LabVIEW VI through ActiveX inside another LabVIEW VI

    Hi everybody,
    basically I would like to create an ActiveX to be inserted in a LabVIEW VI which at its turn would call another LabVIEW VI.
    I have choosen Visual Basic to create this ActiveX, being the main section code:
    Dim lv As LabVIEW.Application
    Dim vi As LabVIEW.VirtualInstrument
    Dim names(0 To 1) As String, values(0 To 1) As Variant
    'Assign an object reference to VI
    Set lv = New LabVIEW.Application
    'Assign an object reference to VI
    Set vi = lv.GetVIReference(lv.ApplicationDirectory & "\Examples\General\Strings.llb\Parse Arithmetic Expression.vi")
    vi.ShowFPOnCall = False 'Open front panel if requested
    'Initialize the variables & define the strings corresponding to the VI connector labels.
    names(0) = "Arithmetic Expression": values(0) = "1+1"
    names(1) = "Result"
    'Call the VI
    vi.Call names, values
    So, when this ActiveX executes this code sequence it locks when creating the "LabVIEW. Application" object. I have tested this ActiveX from another client application (Internet Explorer) and it works perfectly, so the problem is located in the creation of ActiveX from LabVIEW. Do I need to do anything special in my code or simple it cannot be done what I want to do?
    Thanks !!!
    Jesus Valero
    Plataforma Solar de Almeria.

    Exactly, but really the code of above it's only an example that I want to do. I'm trying something more sophisticated.
    I want to create an ActiveX control that could work as stand alone executation with the ability of directly get some indicator values from its LabVIEW VI container and depending of those values, set the control values of others LABVIEW VIs. I really know that within LabVIEW itself I can get/set those indicators/controls, but with this method I think that the diagram block of the LabVIEW VI container can be more simple.

  • Some questions on Labview under KDE4 and GNOME

    I have some questions regarding KDE4 an GNOME with Labview for Linux. I'm trying to help a colleague get somethings working with regards to these desktop environments.
    1. KDE4: When I try to open a VI directly through Dolphin (the default file manager under KDE4)..and the file (lets say ABCD.VI) is located in say /home/user/Test VI/ABCD.vi. When I double click, Labview starts and says that "/home/user/Test" is not a valid VI and it just errors out and refuses to open. It refuses to honor any whitespaces under KDE4 is what I've noticed. I haven't noticed this under KDE3. 
    2. GNOME: There are no icons for .vi files after installation, even though the desktop support for GNOME is installed during the install process.  
     Would appreciate some help!

    Hi Anshul,
    What version of Mandriva do you see this in?  We only official test for and support a couple distributions (SUSE is only supported up to 10.3): http://digital.ni.com/public.nsf/websearch/35D2B5E483A001A18625716B005BE464?OpenDocument 
    Regards,
    Jeremy_B
    Applications Engineer
    National Instruments

  • ActiveX wrapper for Labview

    Hello!
    My name is Daniel. I'm from Argentina and I work in Tracnova S.A.
    Tracnova is the Distributors of NI in Argentina.
    I am having an issue with ActiveX development for wrapper an dll driver.
    I have to read strain gage aquisition data from an USB device of MANTRACOURT (http://www.mantracourt.co.uk/products/wireless-telemetry).
    The manufacturer provide an dll driver. It's shipped with example for VB6 that I have been testing and it works fine.
    BUT I HAVE TO USE IT IN LABVIEW.
    My first problem is that I have to provide an CALLBACK function pointer as parameter to "INITIALISE" function of the dll. Here is an excerpt from the
    example that is shipped (Excerpt from a form module):
    Private Sub Form_Load()
        'we will only handle base station addresses of 1
        iBaseAddress = 1
        Caption = Caption & " [DLL v" & VERSION & "]"
        CLOSEPORT
        'set the callback so we can receive data provider packets
        Init AddressOf CallBack  ''''''----------------->>>>>>>>>>>>>>>> CALLBACK function pointer as parameter to "INITIALISE" (It defined as Init)
        'Open USB interface
        ok = OPENUSB
        If ok <> 0 Then
            ShowMessage "Cannot open USB interface!" & vbNewLine
        End If
    End Sub
    "CallBack" function is contained within .bas. Because You can only retrieve the address to a function or sub (public or private) contained within a
    Standard VB Module.  There's no way around this.
    Here is an excerpt from the example that is shipped (excerpt from a Standard Module):
    Sub CallBack(ByRef StringPtr As Long, Length As Long)
        Dim PBMsg As String, rc As Long, pEnd As Long
        Dim p(128) As Byte
        Dim cH As Byte
        Dim tID As Long
        Dim C As Integer
        On Error Resume Next
        CopyMemory p(0), ByVal StringPtr, Length
        PBMsg = Left$(StrConv(p(), vbUnicode), Length)
        'strip off the base station wrapper
        PBMsg = Mid$(PBMsg, 4, Len(PBMsg) - 5)
        If PBMsg <> "" Then
            Debug.Print CVStr2HEX(PBMsg)
            Select Case Asc(Mid$(PBMsg, 1, 1)) And &H1F
            Case PT_DATA_PROVIDER
                'pass data to the main form if we are not closing
                If Not Closing Then MainFrm.ShowMessage "DATA_PROVIDER Data Tag=" & Replace$(CVStr2HEX(Mid$(PBMsg, 2, 2)), " ", "") & " Data=" & Decode
    (Mid$(PBMsg, 5, Len(PBMsg) - 6)) & vbNewLine
            End Select
        End If
    End Sub
    Then, when an data packet arrived, the driver call to "CallBack" function instead, so I can process it and do what I need.
    But I can't pass pointer to function IN LABVIEW WITH "LOAD LIBRARY FUNCTION". So I did an ActiveX in VB6 for wrapping the dll of the driver. I attached the
    files tha I did. The ActiveX sends an event to labVIEW everytime that a data packet arrived. I trigger an event inside the CallBack function that it's
    not working, but if outside (look inside Iniciar() function where I wrote "This is the first event", the event trigger works.)
    Why is not THE CALLBACK FUNCTION TRIGGERING THE EVENT INSIDE THE LABVIEW??
    I also tried to make a Win32 DLL with C + + using PostLVUserEvent, but neither worked for me. I can send the code in C + + if you want to review.
    Thank you for your consideration. I look forward to hearing from you.
    Best Regards
    Daniel Lopez
    Design Engineer
    TRACNOVA SA
    www.tracnova.com
    Attachments:
    ActiveXPropia.zip ‏459 KB

    Thanks a lot nyc for your kind reply.
    Yes, you are right. They have COM driver, but the event does not fire in labview. Also, this driver does not implement a COM circular buffer which means that if you delay reading and processing the data, these are lost because they are rewritten. I have been asking for support to MANTRACOURT, but after several attempts, they told me they do not provide support for labview only for VB, VBA excel, and some other more, not even C + +     
    National I miss to much. Nice technical support !
    Please help, I need to fix this issue
    Thanks a lot!
    Daniel

Maybe you are looking for

  • How can I FaceTime more than one person

    Hi everyone I'm so annoyed of having to FaceTime people seperatly so can I actually FaceTime in some kind of group btw without downloading a different app. Xx

  • Mail not synchronizing properly with .Mac

    Mail is having problems synchronizing with my .Mac account. 1. Doesn't see new mail I can log in to my .Mac account and see new email in my Inbox. When I click on the Get Mail button in Mail, the little circle thingy will spin next to my Inbox and th

  • Dedicated Server Connection Vs Shared Server Connection

    Hi Gurus, I have few doubts regarding Dedicated Server Connection Vs Shared Server Connection - 1) How do I know which connection mechanism is configured in my system. 2) Which connection faster and reliable. 3) Is there any risk to using shared serv

  • Early 2008 Mac Pro - Mountain Lion Crashing

    I have an Early 2008 Mac Pro.  After upgrading from Lion I have been experiencing random crashes while using varoious applications (anything from more processor instensive applications like Adobe CS6 products or even just running Mail or Safari with

  • Unable to Start OC4J in Linux

    Hi We tried to start oc4j in Linux using following command [oracle@fa2220 setup]$ oc4j -start Starting OC4J from /dbfiles/home/oracle/obiee_home/OracleBI/oc4j_bi/j2ee/home ... It is stopping at this stage without any errors. Linux Version: Red Hat En