Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Bind Switch To Datasocket write

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

0 Kudos
Message 1 of 5
(4,311 Views)

Attached Measurment Studio 8.5  paragraph mentioned this possibility mean while could't find any illustration steps on how to do it !

 

Thanks's
0 Kudos
Message 2 of 5
(4,298 Views)

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!

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 3 of 5
(4,279 Views)

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

0 Kudos
Message 4 of 5
(4,276 Views)

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!

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 5 of 5
(4,270 Views)