@@ -79,6 +79,8 @@ SCPITransport* SCPITransport::CreateTransport(const string& transport, const str
7979 @brief Pushes a command into the transmit FIFO then returns immediately.
8080
8181 This command will actually be sent the next time FlushCommandQueue() is called.
82+
83+ @param cmd Command to be sent
8284 @param settle_time Rate limiting time for this specific command, see `EnableRateLimiting()´
8385 */
8486void SCPITransport::SendCommandQueued (const string& cmd, std::chrono::milliseconds settle_time)
@@ -222,7 +224,11 @@ bool SCPITransport::FlushCommandQueue()
222224 @brief Sends a command (flushing any pending/queued commands first), then returns the response.
223225
224226 This is an atomic operation requiring no mutexing at the caller side.
227+
228+ @param cmd Command to be sent
225229 @param settle_time Rate limiting time for this specific command, see `EnableRateLimiting()´
230+
231+ @return A string with the reply
226232 */
227233string SCPITransport::SendCommandQueuedWithReply (string cmd, bool endOnSemicolon, std::chrono::milliseconds settle_time)
228234{
@@ -234,7 +240,11 @@ string SCPITransport::SendCommandQueuedWithReply(string cmd, bool endOnSemicolon
234240 @brief Sends a command (jumping ahead of the queue), then returns the response.
235241
236242 This is an atomic operation requiring no mutexing at the caller side.
243+
244+ @param cmd Command to be sent
237245 @param settle_time Rate limiting time for this specific command, see `EnableRateLimiting()´
246+
247+ @return A string with the reply
238248 */
239249string SCPITransport::SendCommandImmediateWithReply (string cmd, bool endOnSemicolon, std::chrono::milliseconds settle_time)
240250{
@@ -250,6 +260,8 @@ string SCPITransport::SendCommandImmediateWithReply(string cmd, bool endOnSemico
250260
251261/* *
252262 @brief Sends a command (jumping ahead of the queue) which does not require a response.
263+
264+ @param cmd Command to be sent
253265 @param settle_time Rate limiting time for this specific command, see `EnableRateLimiting()´
254266 */
255267void SCPITransport::SendCommandImmediate (string cmd, std::chrono::milliseconds settle_time)
@@ -264,7 +276,12 @@ void SCPITransport::SendCommandImmediate(string cmd, std::chrono::milliseconds s
264276
265277/* *
266278 @brief Sends a command (jumping ahead of the queue) which reads a binary block response
279+
280+ @param cmd Command to be sent
281+ @param len A reference to a size_t that will get the number of bytes received written to it.
267282 @param settle_time Rate limiting time for this specific command, see `EnableRateLimiting()´
283+
284+ @return A pointer to the reply buffer. This will need to be deleted manually.
268285 */
269286void * SCPITransport::SendCommandImmediateWithRawBlockReply (string cmd, size_t & len, std::chrono::milliseconds settle_time)
270287{
0 commit comments