
ActiveX Reference Manual Updated: 2/20/2020 ActiveX Reference Manual Copyright ©2000-2019 Tucker-Davis Technologies, Inc. (TDT). All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose without the express written permission of TDT. Licenses and Trademarks Windows is registered trademarks of Microsoft Corporation. Table of Contents Before You Begin:......................................................................................................................................... 1 Requirements .............................................................................................................................................. 1 ActiveX Updates ........................................................................................................................................ 1 Organization of the Manual ........................................................................................................................ 1 TDT ActiveX Overview ................................................................................................................................ 3 The ActiveX Controls ................................................................................................................................. 3 Controlling TDT Real-Time Processors using the RPcoX ActiveX Controls ............................................ 3 Using ActiveX with Common Programming Languages .......................................................................... 5 MATLAB ActiveX ..................................................................................................................................... 5 Interfacing with TDT Devices through ActiveX Controls ..................................................................... 5 RP Example Programs ............................................................................................................................ 6 Using ActiveX Controls With More Than One TDT Module ................................................................ 7 Using Older Versions of MATLAB ....................................................................................................... 7 Visual Basic ActiveX ................................................................................................................................. 8 Interfacing with TDT Devices through ActiveX Controls ..................................................................... 8 Adding ActiveX Controls in VB.NET.................................................................................................... 8 Visual C++ ActiveX ..................................................................................................................................13 Interfacing with TDT Devices through ActiveX Controls ....................................................................13 Adding ActiveX Controls in VC++ .......................................................................................................13 Adding a Member Variable ...................................................................................................................16 Programming Multiple Modules............................................................................................................17 Visual C++ Examples ............................................................................................................................17 Delphi Function Headers ...........................................................................................................................18 Working with Control Object Files (*.rco and *.rcx) ................................................................................20 i ActiveX Reference Manual Creating an RCO for Legacy Formats ...................................................................................................20 RPcoX Real-Time Processor Control ........................................................................................................23 About the RPcoX Methods ........................................................................................................................23 Device Connection ....................................................................................................................................23 ConnectRP2 ...........................................................................................................................................23 ConnectRA16 ........................................................................................................................................24 ConnectRL2 ...........................................................................................................................................25 ConnectRV8 ..........................................................................................................................................25 ConnectRM1 .........................................................................................................................................26 ConnectRM2 .........................................................................................................................................27 ConnectRX5 ..........................................................................................................................................27 ConnectRX6 ..........................................................................................................................................28 ConnectRX7 ..........................................................................................................................................29 ConnectRX8 ..........................................................................................................................................30 ConnectRZ2 ...........................................................................................................................................30 ConnectRZ5 ...........................................................................................................................................31 ConnectRZ6 ...........................................................................................................................................32 File and Program Control ..........................................................................................................................33 About the File and Program Control Methods.......................................................................................33 ClearCOF...............................................................................................................................................33 LoadCOF ...............................................................................................................................................33 LoadCOFsf ............................................................................................................................................34 ReadCOF ...............................................................................................................................................36 Run ........................................................................................................................................................36 Halt ........................................................................................................................................................37 ii Table of Contents Device Status .............................................................................................................................................38 About the Device Status Methods .........................................................................................................38 GetStatus ...............................................................................................................................................38 GetCycUse .............................................................................................................................................40 GetSFreq ................................................................................................................................................40 GetNumOf .............................................................................................................................................41 GetNameOf ...........................................................................................................................................41 Tag Status and Manipulation .....................................................................................................................42 About the Tag Status and Manipulation Methods .................................................................................42 GetTagVal .............................................................................................................................................43 GetTagType ...........................................................................................................................................43 GetTagSize ............................................................................................................................................44 ReadTag.................................................................................................................................................44
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages112 Page
-
File Size-