05-10-2017 10:11 AM
As the subject line states, all I'm trying to do is use a USB-6001 to trigger a camera to take a picture when I press a button. It takes a 5V TTL signal to trigger, on the rising edge.
The problem comes from having to do this, due to needing to integrate this into a larger automation program for the lab, into Visual Basic 6.0.
I originally hooked it to a Windows 7 computer, plugged some wires into the D +5V and D GND ports on the DAQ Card, and just made sure it worked via the Visual Studio's Counter example code with an old oscilloscope.
When I moved it over to the computer with Visual Basic 6 though, I can't get any of the examples to work and get a "I/O type of the physical channel does not match the I/O type required for the virtual channel you are creating" error instead. I'm obviously doing something wrong here, but I don't know what.
Any help would be appreciated!
05-11-2017 02:37 PM
Which is the funmctions on VB6 that you are trying to use when you get the error?