03-12-2009 04:01 PM
Hi
Refering to the "DataBindings" Property related to Switch control in Measurment Studio 8.5 , just wondering if we can bind the switch to FieldPoint Digital output channel via Datasocket ,is it possible ??
Thank's
03-13-2009 06:06 AM
Attached Measurment Studio 8.5 paragraph mentioned this possibility mean while could't find any illustration steps on how to do it !
Thanks's
03-13-2009 04:34 PM
Hi MyKat,
Are you using C#? If so, take a look at this example program on the Developer zone; it shows how to use the datasocket activex control to write and read data:
http://zone.ni.com/devzone/cda/epd/p/id/1139
This is a good starting point on using a datasocket in Measurement Studio. Please let me know if you need any additional information and I'll be happy to help!
03-13-2009 04:59 PM
Hi Al B,
I'm afraid this example supports Measurment Studio 6.0 and C , i'm using Vb.Net 2005 and Measurment Studio 8.5
Thank's
03-13-2009 08:33 PM
Hi MyKat,
Measurement Studio 8.5 still comes bundled with the VB 6.0 ActiveX controls, including the ones used in the article that Al mentioned:
Developer Zone Example: Creating a DataSocket Reader/Writer with Measurement Studio ActiveX Controls...
They install as Measurement Studio Visual Basic Support 6.0 on the Measurement Studio CD.
The example is in C#, so you will have to modify the code to be in VB.NET, but they are both .NET and so the conversion shouldn't be too tough.
The following article introduces how to use the ActiveX controls in a .NET project:
Developer Zone Tutorial: Using Measurement Studio ActiveX Controls in Visual Studio .NET
Hope this helps!