Writeread - Mini-Circuits ISC-2425-25+ Quick Start Manual

Hide thumbs Also See for ISC-2425-25+:
Table of Contents

Advertisement

When the 'Set Frequency' button is pressed, the string "$FCS,0," is concatenated with the contents of the lineEdit
'lineEdit_frequency" and is sent to the ISC board. E.g., $FCS,0,2450.
Most commands reply with only one line. For example:
> $IDN,0
< $IDN,1,Mini-Circuits,ISC-2425-25+,MN0003402112
> $PWRG,0
< $PWRG,1,10.000000
> $ECS,0,1
< $ECS,1,OK
However, a small handful of commands return more than a single line. For example, the verbose version of the 'Status
Get' command:
> $ST,0,1
< $ST,1,RESET_DETECTED
< $ST,1,EXTERNAL_SHUTDOWN_DETECTED
< $ST,1,OK
To handle these two different types of responses, there are two separate functions for sending commands and receiving
responses:

writeRead

writeRead_OK
3.4.1
writeRead
The 'writeRead' function is used for commands with single-line responses. Here's a
breakdown down of the function:
1. It takes the command string for the signal generator as an argument, checks whether the SG_port is still open at all
before continuing, and then prepares a QString 'rx' in which to store a response to the command.
AN-50-008
Rev: OR
This document and its contents are the property of Mini-Circuits.
DCO-000822
(03/07/22)
File: AN-50-008.docx
Page 18 of 26

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ISC-2425-25+ and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Mini-Circuits ISC-2425-25+

Table of Contents