|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Issue with DS DigitalOutput
We were testing our digital output and used the set method from DigitalOutput.ccp
Code: /** * Set the value of a digital output. * Set the value of a digital output to either one (true) or zero (false). */ void DigitalOutput::Set(UINT32 value) { m_module->SetDIO(m_channel, value); } we used: set(0) and set(1) both gave us issues while building and compiling. Code: /** * Create an instance of a digital output. * Create an instance of a digital output given a slot and channel. */ DigitalOutput: igitalOutput(UINT32 slot, UINT32 channel){ InitDigitalOutput(slot, channel); } I believe our issue was with creating DigitalOutput object. Which slot and channel should we enter to reference? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Issue with Color Tracking Example (C/C++) and with Counters, Encoders, and Ultrasonic | BradAMiller | Programming | 3 | 19-01-2009 21:24 |
| Interrupt issue with new code | EHaskins | Programming | 6 | 05-01-2008 00:27 |
| A small issue with our Mecanums | AGWSPilot | Technical Discussion | 15 | 18-03-2007 02:11 |
| Issue with CMUCam2 Demo application | Bio | LabView and Data Acquisition | 12 | 21-01-2006 16:08 |