Virtual I/O Ports < Viivi I/O Targets < Viivi's Cell < Entrance
In the IDE-mode,
I/O-port-windows are created for the corresponding I/O-ports
whose targets are external files and network-ports, respectively.
Using the virtual I/O-ports,
the user can create only the I/O-port windows
without the external files and network-ports.
When input from a virtual input-port
and output to a virtual output-port are performed,
their contents will be shown only on the corresponding input-port window or
on the output-port window,
and nothing will be done to the external files or network-ports.
In case of no-need for using external files and network-ports,
and in case that some problems will occur if you use them,
it is convenient to use the virtual I/O-ports.
The name for a virtual I/O-port is specified by enclosing a unique name string
VIRTUALPORTNAME
with square brackets
"[ ]"
.
"[VIRTUALPORTNAME]"
[Examples of Virtual Input-Port Names]
"[testinput.scm]"
"[manualInput]"
[Examples of Virtual Output-Port Names]
"[voutput5.data]"
"[dataCheckWindow]"
"[debugData.win]"
#<input-port:[VIRTUALPORTNAME]>
#<output-port:[VIRTUALPORTNAME]>
[Examples of Virtual-I/O-Port Names] [the Corresponding I/O-Ports]
"[testinput.scm]" #<input-port:[testinput.scm]>
"[voutput5.data]" #<output-port:[voutput5.data]>
#<input-port-window:[VIRTUALPORTNAME]>
#<output-port-window:[VIRTUALPORTNAME]>
[Examples of Virtual-I/O-Port] [the Corresponding I/O-Port Windows]
"[testinput.scm]" #<input-port-window:[testinput.scm]>
"[voutput5.data]" #<output-port-window:[voutput5.data]>
In case of using a virtual-input-port,
the actual input is done from the input-line on the controller,
and the input string will be displayed on the corresponding input-port-window.
You can edit the string on the input-line,
as the string is not input until you put an enter (newline) character.
The standard input port
#<input-port:[standard]>,
which is prepared by default for the standard input,
is a kind of the virtual input port.
The contents input to the standard input port
are only to be displayed on the standard input port window
#<input-port-window:[standard]>,
and have no effects to external files or network-ports.
In case of using a virtual-output-port, the actual output onto the corresponding output-port-window.
The standard output port
#<output-port:[standard]>,
which is prepared by default for the standard output,
is a kind of the virtual output port.
The contents output to the standard output port
are only to be displayed on the standard output-port-window
#<output-port-window:[standard]>,
and have no effects to external files or network-ports.
Virtual I/O Ports < Viivi I/O Targets < Viivi's Cell < Entrance
Exhibited on 2022/03/02
Copyright(C) 2003-2022 ilma <ilma@viivi.io> All rights reserved.