11-22-2005 06:56 PM
11-23-2005
11:33 AM
- last edited on
11-27-2025
06:54 PM
by
Content Cleaner
Some more details..... Error is as follows :
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Catastrophic failure
I also downloaded a C# .NET DIO example from the support site and tried to run it and I get the same error!!!!
http://zone.ni.com/devzone/conceptd.nsf/webmain/9298A74802718F6386256C8B006244E4
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DEFF56A4E034080020E74861&p_node=174961&p_source=external
11-23-2005 12:57 PM
11-23-2005
03:59 PM
- last edited on
11-27-2025
06:54 PM
by
Content Cleaner
It can be difficult to use Traditional NI-DAQ with Visual Basic .NET. NI-DAQ was not designed to work natively in VB .NET but you can use ActiveX control by using Runtime Callable Wrappers. See this KB for more information.
It may be easier to use Visual C++, you can run the examples in the NI-DAQ directory:
C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC, follow the instructions in this KB to add the necessary library files. If this does not work, could you post what version of the NI-DAQ driver you are using as well?
Thanks,
11-23-2005 04:16 PM
11-25-2005 12:18 AM