02-29-2008 01:25 PM
03-03-2008 12:06 PM
Hi Snord,
Based off of your description, it sounds like you are trying to use the
DataSocket ActiveX control in an ASP.NET web application. ASP.NET (in
general) doesn't allow you to drag-and-drop ActiveX controls onto the
form. In order to use ActiveX controls in ASP.NET, you have to actually instantiate
the control through the HTML page view. This is discussed in the How
Do I Embed an Measurement Studio ActiveX Control in ASP.NET? KnowledgeBase.
To be honest, your best option is to switch over to using Network Variables
instead of DataSocket which is our newest technology available for data
transfer. Network Variables are fully supported in ASP.NET and we even have a
drag-and-drop UI control that you can use to setup your network variables call
the Network Variable Data Source. I would refer you to the
following help topics found in the NI Measurement Studio Help:
- Migrating to Measurement Studio Network Variable from DataSocket
- Using OPC with the Measurement Studio Network Variable Class Library
- Key Measurement Studio Network Variable .NET Library Features
- Using the Measurement Studio Network Variable Data Source in Web Forms.
Best Regards,
03-05-2008 03:06 PM
Thank you for your assistance Johnathan,
This certainly does clear the water a bit for me.
One question thou,
To use the Network Variable approach, do I need to install the NI DSC Run-Time system? I don't believe we have purchased a copy of this.
03-05-2008 04:07 PM