09-18-2009 10:17 AM
Hi,
Can any of you help with a problem i am having using labview 8.6 and VSA 89600 V11 via DCOM.
I have several functions that used to work when the VSA software was on the test PC but since installing the latest VSA software on the MXA and using DCOM to remotely operate the software they no longer work as expected.
The problem is that each function uses an Automation open and now over DCOM this causes a new instance of the VSA software to launch, so very quickly you end up with multiple instances and the MXA running out of memory.
I have attached a document showing a screen shot of the block diagram for 2 sample functions.
So far Agilent have not been able to help with this and are suggesting it is a problem with Labview.
Thanks in advance for your help
Darren
09-18-2009 10:26 AM
09-18-2009 10:36 AM - edited 09-18-2009 10:37 AM
But this means that you have to have one high level Vi to do everything which i was trying to avoid.
Ideally i want to use teststand to sequence a series of measurements after starting and configuring the VSA software, but if i code it as you have suggested then i would have to start, configure, measure and stop the VSA software for each measurement.
So DCOM does not allow the automation open to use an instance that is already there as COM does?
09-18-2009 11:31 AM
09-21-2009 04:10 AM
I have tried creating a global after the first automation open and then using the global to pass the reference but for some reason this does not work. Using probes i can see that the input and output of the global has the same value but when i wire the global output to a property node i get an error.
The global is just an Automation refnum. Could you advise if this is correct or should i be creating the global differently?
09-24-2009 03:02 PM