07-28-2006 03:23 AM
07-28-2006 06:02 AM
I have
modified all the workspaces now and recompiled every *.lsb file using VS 2003
instead of VS 2005. Afterwards I reloaded the generated *.lsb files back into
the CINs (I HATE doing this) and build a new installer.
Surprise, surprise: These VIs now work again with LV 8...
I uploaded the stuff including VS 2003 workspaces on our website. You can get
your copy from here:
http://www.matrixvision.de/functions/count.php?url=products/software/LabVIEW/LabVIEW_SDK.exe
In order to build the stuff (if anyone likes to find out why this doesn't work
with LV 8 and VS 2005 (so far this is the only combination I am aware of that
does NOT work) you also need this package from our website:
http://www.matrixvision.de/functions/count.php?url=products/software/mvAquireControl/mvAcquireControlSDK.exe
and you have to register two environment variables before opening visual studio
as described in section 6.1 of the manual that comes with the LabVIEW VIs. Maybe
it the VS 2005 project conversion wizard but as the MS people again changed the
complete file layout of their makefiles a simple diff will NOT reveal any
hint...
Hope anyone can tell me what's going on here...
Regards,
Stefan
08-04-2006 07:49 AM
Hi Stefan,
sorry for the delay. It looks as if there's something specific in the exact process you're going through that generated the .lsb file which then goes into the CIN VI.
I would still recommend not using CIN's and going over to DLL's which would be a lot easier to work with.
The API you're generating doesn't have too many functions in, so this shouldn't be a huge issue, and is definitely worth a try.
I don't want to leave you in the middle of two companies, so if you could get in contact with microsoft to work out the differences and then post back here, that might lead us towards any ideas about what might be going on.
Thanks
Sacha Emery
National Instruments (UK)
08-08-2006 02:26 AM
08-08-2006 08:24 AM
08-09-2006 07:15 AM
08-10-2006 05:22 AM
Hi,
that's quite wierd. I've just followed the slight modification to the 2003 instructions, and I can build a lsb file that just adds two numbers fine.
Have you tried something that simple yet in LabVIEW 8.2?
Do you have any unmanaged assemblys you're calling back to that have to appear in the manifest?
http://detritus.blogs.com/lycangeek/2006/03/building_cins_w.html
(I've been playing with the code, so hopefully I've uploaded the correct version)
Thanks
Sacha Emery
National Instruments (UK)
08-10-2006 06:34 AM
08-10-2006 06:36 AM
08-10-2006 02:29 PM