Naughter Software Logo

8055N++ v1.0

Welcome to 8055N++, a collection of Open Source C++ classes which encapsulates the K8055, K8055N, WPI110N, WSI8055N, VM110 & VM110N USB Experiment Interface boards from Velleman / Whadda using the Windows HID APIs.

 

The code below shows a simple example to connect to the board and blink all the digital outputs on the board:

 _tprintf(_T("Enumerating K8055, K8055N, VM110 & VM110N HID devices on this computer\n"));
HID::StringArray deviceNames;
bool bSuccess = HID::C8055NDevice::Enumerate(deviceNames);
HID::String sDevicePath;
for (const auto& device : deviceNames)
{
  sDevicePath = device;
  _tprintf(_T(" Found device path of %s\n"), device.c_str());
}

if (sDevicePath.length() == 0)
{
_tprintf(_T(" No devices found\n"));
return 1;
}

HID::C8055NDevice device;
device.Open(sDevicePath.c_str());
int nCycleDigitalChannel{1};
while (true)
{
  device.ClearDigitalChannel(nCycleDigitalChannel);
  Sleep(100);
  nCycleDigitalChannel++;
  if (nCycleDigitalChannel == 9)
    nCycleDigitalChannel = 1;
  device.SetDigitalChannel(nCycleDigitalChannel);
}

 

The complete list of classes which 8055N+ provides are:

 

 

 

Features

 

 

The enclosed zip file contains the 8055N++ source code and a VC 2022 solution which demonstrates most of the classes functionality.

 

Copyright

 

Updates

v1.0 (8 April 2023)