
Documentation Number UD128A8D4602 Manual Chapter 5 39
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
B&B Electronics Ltd – Westlink Comm. Pk. – Oranmore, Galway, Ireland – Ph 353-91-792444 – Fax 353-91-792445
Click on the check box for “B&B Electronics Data Acquisition Type
Library 1.0”, located at:
C:\Program Files\B&B Electronics\Data
Acquisition\UD128A8D\Components).
Then click OK.
Add the Global variables to the top of code for form1 before
Form_Load. They become (Declarations) after entered.
To access a UD128A8D in VB:
In DECLARATIONS at the top of Form1:
1. Create a global variable to hold the enumerated devices.
Private WithEvents Connected As BDaq.BBDaqEnum
2. Create a global variable to hold each device that will be accessed.
Private WithEvents Device1 As BDaq.BBDaqDevice
3. Add additional device numbers you intend to access
Private WithEvents Device2 As BDaq.BBDaqDevice
CONSTANTS
4. Add the Constants for Point Groups and Configurations
‘ \ Add from the list or UD128A8D.Bas module supplied
'\***** Digital I/O Point Group 1 ****
Public Const DIG_GROUP_1 As Long = 1
Komentáře k této Příručce