|
Re: Solenoid Breakout Module Programming
There are two constructors for the solenoid class:
Solenoid(UINT32 channel);
Solenoid(UINT32 slot, UINT32 channel);
To use a non-default cRIO port, you must use the second constructor. The slot tells the solenoid which port the breakout is in the cRIO.
example:
Solenoid *mySolenoid = new Solenoid(7, 1);
|