sim.serialOpenOpens a serial port (RS-232) for communication. When called from a script, the function can only be called when the simulation is running (and in that case the port is automatically closed at simulation stop) Synopsisint result = sim.serialOpen(string portString, int baudRate)
Arguments
Return values
|