
9.4 JSR Simple ActiveX object
The JSR Simple ActiveX object is a thin layer of software that can be used between your application
code and the JSR Common DLL. It therefore implements the same functionality as the JSR Common
DLL , but has a more modern interface that is easier to use.
Features of the JSR Simple ActiveX object
•
Application code can be written in any of several languages:
Visual Basic
C# (C Sharp)
C++
•
Use of ActiveX properties makes coding simpler and easier to read:
For example
MyPulser.PRF = 2500;
VoltsToDisplay = MyPulser.Volts;
9.5 Remote PC control via serial port commands
When the DPR300 was first introduced, the JSR Common SDK and JSR Simple ActiveX object did
not exist. Application developers had to work with the lowest level serial port protocol, which was
complicated and dedicated to the DPR300 only.
Documentation of that protocol is not included in this newer manual in order to encourage
developers to use either of the two modern interfaces described above.
If you wish to have a copy of the manual that describes the serial port protocol, please write to
.
9.6 COM Port Configuration
The RS-232 serial port on the control computer should be configured to 4800 baud with 1 start bit, 8
data bits, one stop bit, no parity, and no flow control. An adapter is supplied to convert the DB-9
serial port connector on a PC to an RJ45 receptacle. An RJ45 reversing eight-conductor cable is then
used to connect from the serial port to the RS-232 input connector on the DPR300. The pin
assignment of the DPR300 rear panel RS-232 interface connectors is shown below.
Pin Input
Output
1
RXD
TXD
4
Gnd
Gnd
5
Gnd
Gnd
8
TXD
RXD
2,3,6,7
No
connection
INPUT
OUTPUT
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8
中国代理商-长沙鹏翔电子科技有限公司
地址:长沙高新区文轩路27号麓谷企业广场A4栋507 电话: 0731-84668116 传真:0731-84668126
22