Download User Manual - Jupiter Instruments
Transcript
Jupiter Instruments_____________________________________________________________________________________ 7. The I2C messages contained in the Message List are now saved to script file “JI-300 Script1.txt” 8. Now, using Windows Notepad, open the newly created script file. 9. Verify that the file contains two lines of text as shown below: Figure 14. Script File 10. Using the Scripting Language Statements in section 5.1, decode the two lines of text and verify that it is the same as those entered into the Message List. 11. Next, copy and paste the two text lines back into the Notepad window. Repeat this three times. Verify that eight lines of text are displayed as shown below: Figure 15. Script File 12. Now, edit the lines of text as follows: 1. Line 3: • Remove the Stop from this Write message by replacing character ‘w’ with ‘y’. 2. Line 4: • Remove the Stop from this Read message by replacing character ‘q’ with ‘d’ 3. Line 5: • Change the slave address of this Write message from A0h to B2h by replacing “A0” by “B2” in character locations 2 and 3. 4. Line 6: JI-300 23 9/9/07