DI-1120 Programming with Visual Basic

DI-1120 Programming with Visual Basic

Hi,

I am trying to create a program that uses the DI-1120 to read and save data to a .csv file and send digital output to a microcontroller. It seems like the best way to achieve this is using Visual Basic, as there is a VB example specific to the Di-1120 on the product page that I am able to run and get data from. However, I am lost as to how to save the data and how to send digital outputs. I have tried running this example: https://support.dataq.com/viewtopic.php?f=20&t=2622&sid=859475eee271a61e399a718754358474 but I keep getting an error "FileError!" when I click start.

Can someone please walk me through the steps I need to take, as there is very little information on this online and I am very confused. Any help is greatly appreciated.

Thank you!