Jump to content
  • 0

USB DIO96H unresolved external issue


cjanand

Question

Hi,

Using an USB DIO96H unit with A win 11 machine.

Have installed all the software from your site. Coded a simple cbFlashLED() test.

Code is attached.  cbw.h, cbw32.dll and cbw64.dll are all in the same folder.

Visual studio 2019 used with preporcessor settings to WIN32, _DEBUG, _CONSOLE

Get the following errors:

Severity    Code    Description    Project    File    Line    Suppression State
Error    LNK2019    unresolved external symbol _cbFlashLED referenced in function _main    
 

CnvrtrClbrtrMain.c

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hello,

The USB-DIO98H is one of our devices that uses the Windows HID driver for communication. HID devices are subject to Windows power management, which likes to remove power. This power management cannot be changed using the usual Power Options method. Because of this, we created a utility to modify the registry. The change instructs Windows to leave power on. You can manually run the utility by going to C:\Program Files (x86)\Measurement Computing\DAQ\ and double clicking on HIDRegUpdate.exe. Press the Update button to make sure there are no pending updates. After you've done that, restart Windows and give it another try.

Best regards,
John

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...