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.

Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

FieldPoint and Component Works...

I am looking for an example that shows how to read/write to a FieldPoint device. We are using RS-232 and I am unable to access this device and read the channel information on a the counter module.
0 Kudos
Message 1 of 2
(3,237 Views)
Tim,

Using ComponentWorks and FieldPoint, there are two options for communications. The first method is to use the CWSerial control to send and parse the Optomux command strings that the FP-1000/1001 modules use. These commands can be found in the FP-1000/1001 Programmers Reference Manual. The manual can be downloaded at:

If you want the flebility of using both serial and ethernet FieldPoint Network Interface Modules, then I recommend using the FieldPoint OPC Server (automatically installed with FieldPoint Explorer). There are examples of using Component Works DataSockets with the FieldPoint OPC Server at:
http://zone.ni.com/devzone/devzoneweb.nsf/Opendoc?openagent&EE7CE085E675448E8625696800652EF0
Also, I would recommend reading AppNote 139 (Developing an OPC Client Appli
cation Using Visual Basic) at:
http://www.ni.com/pdf/instrupd/appnotes/an139.pdf

Please note that the information contained in the AppNote is applicable and usable for any version of CWDataSockets, not just Visual Basic.

Regards,
Aaron
0 Kudos
Message 2 of 2
(3,237 Views)