snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
snap ethernet-based i/o units protocols and programming guide
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CHAPTER 3: USING THE SNAP ETHERNET I/O DRIVER TOOLKIT<br />
Method Description<br />
SetPtConfiguration2 (ActiveX Only)<br />
[in] long nPoint<br />
[in] long nPointType<br />
[in] long nFeature<br />
[in] float fOffset<br />
[in] float fGain<br />
[in] float fLoScale<br />
[in] float fHiScale<br />
[in] float fWatchdogValue<br />
[in] long nWatchdogEnabled<br />
[in] float fFilterWeight<br />
[in] string bstrName<br />
SetPtConfigurationEx (C++ Only)<br />
[in] long nPoint<br />
[in] SIOMM_PointConfigArea Data<br />
SetPtConfigurationEx2 (C++ Only)<br />
[in] long nPoint<br />
[out] SIOMM_PointConfigArea2 pData<br />
SetPtWatchdog<br />
[in] long nPoint<br />
[in] float fWatchdogValue<br />
[in] long nWatchdogEnabled<br />
GetPtConfiguration V (ActiveX Only)<br />
[in] long nPoint<br />
[out] long pnModuleType<br />
[out] long pnPointType<br />
[out] long pnFeature<br />
[out] float pfOffset<br />
[out] float pfGain<br />
[out] float pfLoScale<br />
[out] float pfHiScale<br />
[out] float pfWatchdogValue<br />
[out] long pnWatchdogEnabled<br />
GetPtConfiguration2 (ActiveX Only)<br />
[in] long nPoint<br />
[out] long pnModuleType<br />
[out] long pnPointType<br />
[out] long pnFeature<br />
[out] float pfOffset<br />
[out] float pfGain<br />
[out] float pfLoScale<br />
[out] float pfHiScale<br />
[out] float pfWatchdogValue<br />
[out] long pnWatchdogEnabled<br />
[out] float pfFilterWeight<br />
[out] string pstrName<br />
GetPtConfigurationEx (C++ Only)<br />
[in] long nPoint<br />
[out] SIOMM_PointConfigArea pData<br />
GetPtConfigurationEx2 (C++ Only)<br />
[in] long nPoint<br />
[out] SIOMM_PointConfigArea2 pData<br />
Return values are shown on page 61.<br />
64 SNAP Ethernet-Based I/O Units Protocols <strong>and</strong> Programming Guide<br />
Same as SetPtConfiguration, except it adds filter weight<br />
<strong>and</strong> name parameters.<br />
Same as SetPtConfiguration, except this method uses a<br />
structure.<br />
Same as SetPtConfiguration2, except this method uses a<br />
structure.<br />
Sets the watchdog value <strong>and</strong> enable flag for the given<br />
point. See page 23 for more information on watchdogs.<br />
Retrieves a point's module type, point type, feature, offset,<br />
gain, scale, <strong>and</strong> watchdog.<br />
Same as GetPtConfiguration, except it adds filter weight<br />
<strong>and</strong> name parameters.<br />
Same as GetPtConfiguration, except this method uses a<br />
structure.<br />
Same as GetPtConfiguration2, except this method uses a<br />
structure.<br />
v The OptoSnapIoMemMapX ActiveX component has a variant-only version of this method.