02-12-2010 10:20 AM
OK, Pure idea search here so I'd better give some outline of my need.
The top level application is written in VB.net and controls a rather complex automated test system. One of the tester functions involves Scan Chain testing. Easy solution for the Scan implementation is NI PCI 6552 (up to 140 chains on 14 cards!) NI HSDIO and TDScan from TSSI (I'm betaing TD-Scan in LabVIEW 2009f3) This makes it fairly simple for importing the STL/WGL files and loading the various 6552 channel properties and geting the scan chain results in LabVIEW 2009.
Of course SPEED is the number one issue. So, My LV app needs to remain running waiting on events triggered from the VB.net solution.
The question then becomes one of HOW BEST to integrate the LV portion with the main test functions.
Searching the forum and my own knowledge suggests the following options.
So I know its do-able. But I'd appreciate advice for selecting the most robust method. and would love to here any Gottchas you've run across integrating LabVIEW functions from other code.
Thanks
02-15-2010 04:17 PM
Hi Jeff,
This is a very good question. To better help you come up with a solution, can you describe in more detail the type of data that needs to get passed between the two programs?
thanks
FLash
02-16-2010 09:02 PM
A_Patel wrote:Hi Jeff,
This is a very good question. To better help you come up with a solution, can you describe in more detail the type of data that needs to get passed between the two programs?
thanks
FLash
I agree-
If I could describe the data it would be in the context of a variable that is transcribale between any modern programmong language. I'm deciding on ActiveX objects. but, is there a good resource to equate LV>Generic>controls and Objects of class .Com?
'ferinstince. (i.e. E.xempar G.ratis in Minnesotan lingo) I have a 2D array of Bools to pass out to another app. which Activex object do I drop in the LV container and what properties are exposed either way. An abriviated translation dictionaraty would help a lot. Is there such a G to-.Com or .NETpocket dictionary?"
02-19-2010 02:06 PM
Hi Jeff,
I ran your question by some of the other engineers and they pointed me to a couple resources that should help you out. This first one looks at the various options of Inter-Application Communication:
http://decibel.ni.com/content/docs/DOC-9131
This one looks specifically at TCP and .NET Remoting:
http://decibel.ni.com/content/docs/DOC-9136
Let me know what you think and which direction you want to take.
FLash
02-19-2010 02:36 PM
Incredible- Thanks.
I'll need some time to review the docs. I'll be back later