I have a need to run both the .NET and LabView based code on an XP Embedded system (WES2009) with .NET 4.0 installed.
I have extracted the vcinet4.dll for use in the .NET application. This runs on the XPE system without issue with only the vci_3_5_4_4543.exe installed on the system (the vcinet4.dll is embedded in the .NET application bin folder).
I’d like to use this same vcinet4.dll with labview, but it seems that this is not currently possible as it relies on the C:\Windows\assembly location to include vcinet4 which it does not from this install or even after installing vciv3-net_3_5_53_0.exe. (vciv3-net_3_5_53_0.exe does install vcinet2 to the GAC, but only on my Win7 development machine, not when installed on the XPE system.)
Specifically looking for the .NET function ICanMessageReader.FillCount. The only similar one available in vcilva.dll is inside CanChannelGetStatus.vi and the library call is lv_canChannelGetStatus status.RX Load(%). With this I cannot tell if there are any messages available unless I set the buffer size to 100 messages (but I’m using 1000 to match closely to the examples).
Is there a similar LabView usable version of vcinet4.dll? If not, could a header for the vcinet4.dll be provided so it can be imported into LabView?