Hi all.
I've been asked to help in a project where the main portion of it is
being written using labview (G), which I'm not familiar with.
I've had a quick browse through the various labview manuals, and really
don't want to go off at a tangent from what I need to do, meaning that I
don't have time to become proficient with labview - the current
"developer" does not describe himself as a "programmer", which is why he
chose labview.
Anyway, the job requires me to interface a Thompson Frame Grabber card
(FGT) with labview. Thompson supply an SDK and the source for a
Microsoft Visual Studio sample program. Unfortunately, no source for the
SDK DLL/driver.
Reading their French-glish manuals, the way they expect you to control
the FGT card is via a supplied DLL. They do supply some guidance on how
to do this, but the problem I have is that the DLL requires various low
level capabilities to allow things like an overlay window, callbacks,
etc. Given that such info seems to be rather difficult (tedious) to
extract or have labview perform, I've decided I should write (using
Delphi or C++) another component to talk directly to their DLL, and have
labview control the new component that I write.
Looking through the various manuals, I see that labview supports
ActiveX, but I'm unsure wether that is restricted to just ActiveX
controls specifically, or wether labview can interface with an
Automation Server (OLE and ActiveX are built upon COM) ?
If so, how does one "import" the Automation server's interface into the
labview environment/IDE, so my "non-programmer" client to easily
interface with an Automation Server ?
The reason that I want to go with a standalone, out-of-process (OOP...?)
Automation Server, as opposed to an in-process server, or an ActiveX
control, is that (naive) attempts thus far with interfacing labview with
the FGT DLL has lead to serious side effects, such as crashing the
system. However, trivial trials using Borland C++ Builder to interface
with the FGT DLL produced none of those stability problems.
Another reason is that if I make an ActiveX control, the possibility of
multiple use rears it's head, which the DLL and overlay functions do not
support, nor make sense for it to.
I will shortly install a temporary copy labview (5.1 ?) on my Dual boot
Win98/Win NT4 system here, just to experiment with labview. But my
client is using NT4 SP6, with a dual processor Xeon system (although
we've removed one of the CPU's due to various weirdities with labview).
Any additional pointers or confirmations would be most helpful.
__ __ ________________________________________________________
//)) //))| Richard RUDEK. MicroDek. Chatswood, Sydney. Australia. |
//\\ //\\ |http://microdek.homepage.com/ |
|________________________________________________________|