Имеется железо с USB и дополнительно купленная API спецификация (Visual Studio),
возможно есть у кого опыт по части управленииия контроллеорм посредством API ?
Обкуриваюсь который день спецификацией и понимаю что она ктегорически не адаптирована разработчиками под
дальнейшую интеграцию в G код.
Хотелось бы увидеть вариант вменяемой спецификации.void iQ::LED::LedController::startSelfTest ( int & errorCode = default_ )
iQ::LED::LedController::startSelfTest
Starts an internal self-test of the iQ-LED device.
-----------
void iQ::LED::LedController::storeIlluminantOnDevice ( const int slotNumber, iQ::LED::-
Illuminant ∗ illuminant, int & errorCode = default_ )
void iQ::LED::LedController::storeSequenceOnDevice ( std::map< int, unsigned short >
sequenceList, bool loopedSequence, int & errorCode = default_ )
-----------
iQ::LED::LedController::storeSequenceOnDevice
Stores an illuminant sequence in the internal hardware of the iQ-LED device. You will need information about
the stored illuminant’s slot numbers to create this sequence list.
Parameters
sequenceList A map of the illuminants that shall be used to create a sequence.
<int> The slot number of the stored illuminant. You can also use 0 to turn off light for a
certain amount of time.
<unsigned short>=""> The display time of an stored illuminant in 10ms units. (e.g. 1 =
10ms);
loopedSequence Determines whether the sequence shall be looped or not when played.
errorCode Describes the error that occurred during processing. 0 denotes no error.
You can receive a corresponding plain text error message using iQ::LED::LedController::get-
ErrorMessage
До этого я работал с объект листами в виде регистров, которые размещал в стирм, VisaUSB, описание регистров под требования (сбор или управление, тип графического GUI компонета ) и т.д.