From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-02-2008 03:56 PM
Hello,
I am using Measurement Studio 8.5 and C# in Visual Studio 2008 to build my first NI DAQmx project. The DAQmx driver is Version 8.8f2. When I build the installer for the project, I get the following warning:
Unable to find module dependency with signature 'CWUI_OCX.058B041E_15EB_408B_ABBE_88DE9D7604A0'
I search my system and there is the file c:\windows\system32\cwui.ocx on my harddrive, version 8.1.11.472
I run "regsvr32 c:\windows\system32\cwui.ocx " and it is successfully registered. But the warning still does not go away.
Anybody knows why?
Thanks,
JSInc
09-03-2008 10:50 AM
Hi JSInc,
Registering the ActiveX component won't have any affect on the error message you are receiving. My guess is that you are including the cwui_ocx.msm merge module in your Visual Studio deployment project. I know why the error is occurring I just can't figure out how you got into the state you are in. So here is a list of questions for you to answer:
Best Regards,
09-03-2008 01:04 PM
Hello Jonathan,
1. I did not try to add any merge module. I got this error when I built my actually setup (in contrast with application) project.
2. I believe I installed version 8.5 Measurement Studio. To make sure I did it, I just run the setupVS2008.exe again. Than the Installation Summary "No software will be installed or removed".
Here is the list of references in my application project:
NationalInstruments.Analysis.Enterprise version: 8.5.35.220
NationalInstruments.Common version: 8.5.35.149
NationalInstruments.DAQmx version: 8.8.35.13
NationalInstruments.DAQmx.ComponentModel version: 8.8.35.13
NationalInstruments.MaxConfiguration version: 8.5.35.311
NationalInstruments.Net version: 8.5.35.220
NationalInstruments.UI version: 8.5.35.220
NationalInstruments.UI.WindowsForms version: 8.5.35.220
3. I don't use any Measurement Studio component in the setup project, the only thing I use is the primary output from the application project.
4. I am not using cwgraph and cwknob controls, Measurement Studio controls I am using now are led, legend, waveformGraph and numericEdit .
Thanks,
JSInc
09-03-2008 04:29 PM
The NationalInstruments.Net (DataSocket) assembly pulls in the cwui_ocx.msm merge module. My guess is that you are getting this error because that merge module doesn't exist on your system. Can you please look in the Program Files\Common Files\Merge Modules directory for the cwui_ocx.msm file. Now, if you only installed VS 2008 support, you shouldn't have this file as this was an oversight on our part. However, you mentioned that you had the underlying cwui.ocx component so I am going to assume that you installed VS 2005, 2003 or VS 6.0 support on that machine at some point.
If you are not using DataSocket in your project, then you can remove this assembly reference and then your dependency chain in your setup project should dramatically reduce. This will remove the requirement for this file.
Best Regards,
09-05-2008 03:50 PM
Hello Jonathan,
There is no cwui_ocx.msm file in the
Program Files\Common Files\Merge Modules directory.
Since I am using DataSocket, how can I get the cwui_ocx.msm into the directory? Or do you recommend using Network Variable instead of DataSocket?
Thanks,
JSInc
09-08-2008 09:44 AM
Hi JSInc,
Well that explains why you were receiving those messages when trying to build. The question is, why don't you have that file in the first place. If you could provide me with some background information (i.e. did you ever install Measurement Studio Support for Visual Studio 6) on what you have installed on that system and in what order, that will help.
As far as getting a copy of cwui_ocx.msm, I can send you a copy offline, but I just need your permission to get our web team to provide me with your contact information.
In the future, I do recommend that you use Network Variable instead of DataSocket, but since it sounds like you are in the deployment phase, it might be to much work for you to update your DataSocket code to Network Variable. If you are interested in migrating (which I recommend), check out the Migrating to Measurement Studio Network Variable From DataSocket help topic found in the NI Measurement Studio Help.
09-08-2008 11:26 AM
Hello Jonathan,
Thank you for your reply. I just migrated to Network Variable and found that the performance is 4 times better than DataSocket in my project.
Best regards,
JSInc
09-08-2008 11:42 AM
Hello Jonathan,
I found one thing nice about the DataSocket is the Attribute feature. When I have to use multiple DataSockets to send data, I can use the Attribute feature to send a group ID with it. In the reader side I can group the receive data based on the ID. I could not find similar feature with Network Variable.
Thanks,
JSInc
09-08-2008 12:16 PM
That's great that you migrated already to Network Variables. As far as the attribute feature, the closest feature to that is the NetworkVariableData.TimeStamp property. Maybe you can use that. Either way, I think this is something we should consider implementing in the future. What I would suggest is that you file a product suggestion to us so we have your request in our database.
Thanks
Best Regards,