| Products > Test Equipment |
| RD JDS6600 25MHz 2-Channel DDS AW Function Signal Generator |
| << < (34/44) > >> |
| takfuji:
>communication protocol of this generator? On your CD, "\Chinese\JDS6600 Documentation\JDS6600 Communication Protocol.pdf". Written in Chinese, though :-\. Tak |
| 4x1md:
--- Quote from: takfuji on March 02, 2018, 10:37:29 pm ---On your CD, "\Chinese\JDS6600 Documentation\JDS6600 Communication Protocol.pdf". Written in Chinese, though :-\. --- End quote --- It may sound strange, but there is no CD drive in my laptop. :) |
| GreyWoolfe:
--- Quote from: 4x1md on March 03, 2018, 08:19:59 am --- --- Quote from: takfuji on March 02, 2018, 10:37:29 pm ---On your CD, "\Chinese\JDS6600 Documentation\JDS6600 Communication Protocol.pdf". Written in Chinese, though :-\. --- End quote --- It may sound strange, but there is no CD drive in my laptop. :) --- End quote --- Not strange at all, my company laptop-a Lenovo T460 doesn't have one either. I also have 2 gov't surplus computers without one. USB DVD writers are cheap. |
| tjones99:
Here is the full text of the Chinese communication protocol document translated using Google translate... for what its worth... Page 1 JDS6600 host computer communication protocol ? review The overall control command using the command line, communication speed of 115200, issued by the PC A command, the machine parses execution, and then returns the result to the PC. The following is a different order Explain. Send data format is as follows: Start bit operator function number Connector data field End symbol : W r a b 0-99 = See instructions Enter for the line Description: (1) The start bit is a colon (:) in the ASCII character table. (2) The operator is one of the four lowercase characters in the ASCII character table, and "w" is the write Command is used to set various parameters, "r" is a read command used to return parameters in the machine, "a" The command is used to write arbitrary wave data. The "b" command is used to read arbitrary wave data. (3) The function number is a numerical value in ASCII character table, and different values represent different parameters Set. (4) Data field: The data field is equivalent to the operand of the command, the number is 1 to 2048 A, each data between "," or "." To distinguish. Such as: w23 = 25786,0. This instruction operand is 2, the first operand is "25786", set the output frequency to 257.86, the second operand is "0" setting frequency The unit of rate is Hz. In short, this instruction sets the frequency of channel 1 to 257.86 Hz. ________________________________________ Page 2 (5) Terminator: Each instruction is terminated with a carriage return + linefeed, <CR> represents a carriage return in the ASCII character table (hexadecimal indicates 0x0d). <LF> is a newline character in ASCII character table (0x0a in hexadecimal). The following is the above two ways that carriage return line. ? W instruction (1) waveform settings For example: PC sends: w21 = 0. indicates that the waveform of channel 1 is sine Wave, the machine returned OK indicates the setting is successful. PC sends: w21 = 101. means that the channel output waveform is set to any Italian wave 01, the machine returns OK to indicate the setting is successful. PC sends w22 = 0. indicates the waveform of channel 2 is sinusoidal Wave, the machine returned OK indicates the setting is successful. The other waveforms are set as follows: Channel 1 Waveform Channel 2 : w21 = 0. Sine wave : w22 = 0. : w21 = 1. For the square wave : w22 = 1. : w21 = 2. For the pulse wave : w22 = 2. : w21 = 3. Triangle wave And so on : w21 = 4. For the partial sine wave : w21 = 5. For the cmos wave : w21 = 6. For the DC level ________________________________________ Page 3 : w21 = 7. For half wave And so on : w21 = 8. For the full wave : w21 = 9. For the ladder wave : w21 = 10. For the anti-ladder wave : w21 = 11. For the noise wave : w21 = 12. For the index rose : w21 = 13. Exponential decline : w21 = 14. For multi-sonic : w21 = 15. Sinclair pulse : w21 = 16. Lorentz pulse When: w21 = 101. means arbitrary wave 01 ,: w21 = 102. means Arbitrary Wave 02 And so on until a maximum of 160 means Arbitrary Wave 60. (2) The frequency is set as follows PC sends: w23 = 25786,1. Set the output frequency of channel 1 to 0.2586 unit is KHz, the machine returns OK means the setting is successful. PC sends: w24 = 25786,3. Set the output frequency of channel 2 to 257.86 unit is mHz, the machine returns OK means the setting is successful. Other cases are as follows; Channel 1 Channel 2 : w23 = 25786,0. is set to 257.86Hz: w24 = 25786,0. ________________________________________ Page 4 : w23 = 25786,1. is set to 0.25786KHz: w24 = 25786,1. : w23 = 25786,2. is set to 0.00025786MHz And so on : w23 = 25786,3. is set to 257.86mHz : w23 = 25786,4. is set to 257.86uHz (3) The amplitude is set as follows PC sends: w25 = x. Set channel 1 amplitude output when x = 30 Is 0.03v, the machine returns OK to indicate the setting is successful. PC sends: w26 = x. Sets channel 2 amplitude output when x = 30 Is 0.03v, the machine returns OK to indicate the setting is successful. (4) Duty cycle settings are as follows PC sends: w29 = x. Set channel 1 duty cycle when x = 500 Out of 50%, the machine returned OK that the setting was successful. PC sends: w29 = x. Set channel 2 duty cycle when x = 500 Out of 50%, the machine returned OK that the setting was successful. (5) Offset settings are as follows PC sends: w27 = 9999. Set the bias output of channel 1 to 9.99v, The machine returns OK to indicate that the setting is successful. PC sends: w27 = 1000. Set the bias output of channel 1 to 0v, The machine returns OK to indicate that the setting is successful. PC sends: w27 = 1. Set the offset of channel 1 to -9.99v The device returns OK to indicate that the setting is successful. ________________________________________ Page 5 When setting the bias output of channel 2, just change: w27 to: w28 to change the others. For example: PC send: w28 = 1. Set the bias output of channel 2 as -9.99v, the machine returns OK to indicate the setting is successful. (6) The phase setting is as follows PC sends: w31 = 100. means the phase output is 10 °, the machine returns OK indicates the setting is successful. PC sends: w31 = 360. indicates that the phase is 0 °, the machine returns OK means that the set Set successfully. (7) Tracking settings are as follows PC sends: w54 = x, x, x, x, x. The value of the operand in the trace settings (The value of x) is 1 or 0, 1 means that the synchronization 0 means asynchronous, and the synchronization is through Road 1 for the operation object. The corresponding parameters for the number of operands are: w54 = frequency, waveform, amplitude, Bias, duty cycle. PC sends: w54 = 1,0,0,0,0. Set the frequency synchronization (waveform amplitude Offset Duty Cycle Asynchronous), the machine returns OK to indicate that the setting is successful. PC sends: w54 = 1,1,0,0,0. Set the frequency and waveform synchronization (amplitude Degree Offset Asynchronous Duty Cycle), the machine returns OK to indicate that the setting is successful. (8) Extended function (command write) For example, the PC sends: w32 = x, x, x, x. where the operand value (x Value) can only be 1 or 0) ________________________________________ Page 6 For example, PC sends: w32 = 0,0,0,0. means counting off Sweep amplitude modulation Burst and start the measurement, the machine returns OK to indicate that the setting is successful. If the PC sends: w32 = 1,0,0,0. Set the counter to start counting, the machine Returning OK means the setting is successful. If PC sends: w32 = 0,0,0,0. Said the counter is stopped. The machine returns OK Set successfully. Other cases are as follows : w32 = 0,0,0,0. Measurement starts (count sweep AM stops) : w32 = 1,0,0,0. Counting begins : w32 = 0,1,0,0. Sweep begins : w32 = 1,0,1,1. The pulse starts : w32 = 1,0,0,1. Burst begins (9) function panel switch If the PC sends:: w33 = 0. The machine panel will switch to the main panel and Channel 1 is the main channel, the machine returned OK indicates the setting is successful. If the PC sends:: w33 = 1. The machine panel will switch to the main panel and Channel 2 is the main channel, the machine returns OK to indicate the successful setting. Other cases are as follows : w33 = 0. Channel 1 is the main channel : w33 = 1. Channel 2 main channel : w33 = 2. SYS (system setting) ________________________________________ Page 7 : w33 = 4. Measurement panel switching : w33 = 5. Count the panel to switch : w33 = 6. Channel 1 Swept panel : w33 = 7. Channel 2 sweep panel : w33 = 8. Pulse panel : w33 = 9. Burst panel (10) Extended Functions (Measurement Functions) If PC sends: w36 = 0. means the coupling is switched to AC, the machine returns OK indicates the setting is successful. If the PC sends: w38 = 0. means that the measurement mode is set to count frequency, the machine returns Back to OK means the setting is successful. Other cases are as follows : w36 = 0. Coupling AC : w36 = 1. Coupling DC : w37 = 100. Set the gate time for 1 second. : w38 = 0. Set the measurement mode (counting frequency) : w38 = 1. Set the measurement mode (meter cycle) : w39 = 0. Clear the count ________________________________________ Page 8 (11) Extended Functions (Burst) Setting of pulse number If PC sends: w49 = 5. The number of pulses is set to 5 and the machine returns OK Indicates that the setting is successful. Such as PC sending: w49 = 100. pulse number is set to 100, the machine back Back to OK means the setting is successful. Burst mode setting PC send Burst mode : w50 = 0. Trigger manually : w50 = 1. Burst for CH2 : w50 = 2. For external burst (AC) : w50 = 3. For external burst (DC) (12) Extended Functions (Sweep) Start frequency setting PC sends: w40 = 1000. Set the starting frequency to 10Hz, the machine Returning OK means the setting is successful. Set the stop frequency PC sends: w41 = 1000. Set the termination frequency to 10Hz and the machine will go back Back to OK means the setting is successful. ________________________________________ Page 9 Sweep time setting PC sends: w42 = 10. set the sweep time to 1 second, the machine returns OK indicates the setting is successful. Sweep the direction PC send Sweep the direction : w43 = 0. normal : w43 = 1. Reverse : w43 = 2. round trip Sweep mode PC send Sweep mode : w44 = 0. Sweep mode is linear : w44 = 1. Sweep mode is logarithmic (12) Extended functions (pulse function) Pulse width setting PC sends: w45 = 1000,0. Set the pulse width to 1000 units as ns, The machine returns OK to indicate that the setting is successful. PC sends: w45 = 1000,1. Set the pulse width to 1000 units as us, The machine returns OK to indicate that the setting is successful. Cycle settings PC sends: w46 = 1000,0. Set the period to 1000 units as ns, The machine returns OK to indicate that the setting is successful. ________________________________________ Page 10 PC sends: w46 = 1000,1. Set the period to 1000 units us, machine The device returns OK to indicate that the setting is successful. Offset setting PC sends: w47 = 100. Set the offset to 100% and the machine returns OK Indicates that the setting is successful Amplitude setting PC sends: w46 = 500. Set the amplitude to 5.00 units V, the machine returns Back to OK means the setting is successful Recall and save If the PC sends: w70 = 5. means that the parameters stored in the 5 position machine to return Back to OK means the setting is successful. If the PC sends: w71 = 5. means that the parameters in the 5 positions are retrieved OK indicates the setting is successful. If the PC sends: w72 = 5. means clearing the 5-position parameter OK indicates the setting is successful. ? a, b instructions a, b instructions are arbitrary wave writing and reading The following examples will be described in detail. (1) Write arbitrary wave command (a command) If the PC sends: a01 = 2048, 2048, ....... 2048. The machine returns OK means that the waveform written in Arbitrary Wave 1 is DC level, and 2048 in the data field means vertical ________________________________________ Page 11 The coordinate value (y-axis) is 0, when the value is 4095, the ordinate value (y-axis) is 1, when A value of 0 means that the ordinate value (y-axis) is -1 and the number of operands written in Arbitrary Waveform is 2048 Bit. If the PC sends: a02 = 2048,2048, ....... 2048. The machine returns OK means that the waveform written in Arbitrary Wave 2 is DC level. If the PC sends: a03 = 2048, 2048, ....... 2048. The machine returns OK means that the waveform written in Arbitrary Wave 3 is DC level. (Arbitrary wave maximum number is 60) (2) Arbitrary wave read command (b instruction) If the PC sends: b01 = 0. The machine returns the number of Arbitrary Waves 01 According to: b01 = 2048, 2048, ....... 2048. in its data section The ordinate (y-axis) of the numerical expression is the same as above, and is not repeated here. ? R instruction r command for the read command, the command format and write command format basically to one, Do not repeat this description, the read command and the write command correspond to each other the following examples in detail Description. (1) The read command does not correspond to the write command as follows If the PC sends: r80 = 0. The machine returns: r80 = 125. Said the current The count is 125. When in PC mode, the PC sends: r81 = 0. The machine is back Return: r81 = 100000. It indicates that the frequency of the current measurement is 10000Hz. When in PC cycle mode the PC sends: r82 = 0. The machine is back Return: r81 = 100000. It indicates that the frequency of the current measurement is 10000Hz. ________________________________________ Page 12 Other cases are as follows : r80 = 0. Read the count value : r81 = 0. Read the measured value (in frequency mode) : r82 = 0. Read the measured value (in period mode) : r83 = 0. Read the positive pulse width : r84 = 0. Read the negative pulse width : r85 = 0. Read cycle : r86 = 0. Read duty cycle When: r00 = 0. Indicates to read the machine model. When: r01 = 0. Indicates to read the machine number. (2) Read quickly as follows PC sends: r81 = 4. The machine returns data from count value to negative pulse width. PC sends: r81 = 5. The machine returns data from count value to period. PC sends: r00 = 1. The machine also returns to read the machine model and serial number. The read command corresponds to the write command as follows: PC sends: r21 = 0. means read the current waveform of channel 1 if Returns: r21 = 0. The current waveform is a sine wave, if it returns: r21 = 1. The current waveform is a square wave, The other one and write instructions one by one correspondence in this not one by one. PC sends when: r21 = 10. means reading the waveforms of channels 1 and 2 to phase Bit of data. PC sends as: r23 = 8. means read the frequency of channel 1 and 2 to phase The data. ________________________________________ Page 13 The other read commands are not described here. |
| tjones99:
Reading through this thread as it is the best I have found so far. Thanks for all the info. One thing I have not seen covered (hope I didn't miss it somewhere) is amplitude calibration. I set the amplitude for 16V square wave (talking 25Hz here so no bandwidth issues) and I find I get 16.7v measured on the scope. First question everyone is going to ask is how do you know the scope is right? The scope was actually calibrated and I fed a second signal into the scope from a power supply that had a voltage of 8.02 volts (measured with an expensive calibrated HP DVM) and the JDS6600 output was higher than +8.02V. To get a true 8V peak output I had to set the JDS6600 to 15.3V amplitude. I was hoping there was a mechanism to adjust (calibrate) the amplitude of the output. There are 4 trim pots on the board... 1A 1D 2A 2D... anyone know what those accomplish before I mess something up really bad :-) I looked through the communication protocol and saw nothing that I though helped. Hoping RD Tech has some input on getting the amplitude closer to true!! |
| Navigation |
| Message Index |
| Next page |
| Previous page |