REG-1

This sample VB code demonstrates how simple accessing one or more REG-1 devices can be. There are more robust samples, complete with a user interface and error-checking available with the SDK.

'Visual Basic Sample API Usage

iNewSources = PsyREGEnumerateSources()

Source = PsyREGGetSource(0)

iResult = PsyREGOpen(Source)

For i = 1 To X
   iResult = PsyREGGetBytes(Source, DataArray(0), 512, 0)
   'OR: iResult = PsyREGGetBits(Source, DataArray(0), 512, 0)
Next

PsyREGClose(Source)


Home   |   Site Map   |   Newsletter   |   Investors   |   Researchers   |   Jobs