Measurement Computing   Easy to Use | Easy to Integrate | Easy to Support catalog banner

DOutScan() Example in Visual Basic 2008

Expand / Collapse

DOutScan() Example in Visual Basic 2008

Do you want to know how to perform a digital Output scan?

Here is an example program.

it writes to all 8 bits of FIRSTPORTA.
The bit pattern is:

Bit 0: 0,1,0,1,0,1,0,1,0,1,0,1,0......
Bit 1: 0,0,1,1,0,0,1,1,0,0,1,1,0......
Bit 2: 0,0,0,0,1,1,1,1,0,0,0,0,1,......
Bit 3: 0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,.....
and so on.

At the time of writing this KB article, supported products:
USB-1616HS Series
USB-2500 Series
USB-1602HS Series
USB-1604HS Series
PCI-2500 Series

Rate this Article:

Attachments (6.08 KB, 662 views)

Add Your Comments

For comments email

Article ID: 50380

Last Modified:7/17/2012 2:57:56 PM

Article has been viewed 1,825 times.