Reading and Writing the TEDS of Smart Sensors with the LabVIEW PDA Module
These VIs demonstrate reading and writing select parameters of a smart sensors Transducer Electronic Data Sheet (TEDS), as defined by the proposed IEEE P1451.4 standard, using a Palm PDA. These VIs were created by looking through the template file of a particular sensor and then programming that specific translation; they provide translations for the standard accelerometer and microphone templates in addition to translations for templates 0, 12, and 24, which are pre-existing versions of the templates. Parameters read include the Basic TEDS, sensitivity, calibration date, calibration initials (if applicable), calibration period (if applicable), measurement location ID, and user data; the measurement location ID and the user data can be modified.
Hardware required consists of a Maxim/Dallas Semiconductor DS9097U Universal 1-Wire COM Port Adapter equivalent to connect serially to the PDA. This adapter converts serial data to and from the 1-Wire protocol used to communicate with the EEPROM of the TEDS sensor. For a Palm, the Tower Technologies TT2301 iReader provides this interface. The iReader features an RJ-11 port, so an additional adapter may be needed to connect the sensor.
Instructions for Read TEDS:
1. Tap Read.
2. The words Reading TEDS . . . . . . . . please wait appear while the Palm is communicating with the TEDS sensor. Reading takes a few seconds.
3. After reading is complete, Basic TEDS data, sensitivity, calibration parameters, measurement location ID, and user data for the sensor are displayed in the table.
4. Tap Exit to close the program.
Instructions for Write TEDS:
1. As soon as the VI is opened, the current measurement location ID and user data are read from the sensor, and the maximum number of characters available for user data is calculated. While the TEDS is being read, the words reading TEDS . . . are displayed in the previous user data text box. After a few seconds, the values read are displayed in the previous measurement location ID and user data boxes on the top portion of the screen with the maximum number of characters shown above the new user data text box.
2. If needed, tap the copy box beside the previous measurement location ID or user data to copy the respective value into the corresponding new measurement location ID or new user data boxes.
3. Make the desired changes in the new measurement location ID and new user data boxes.
4. Tap Write to write the data to the TEDS. Important note: Both the measurement location ID and the user data are written when write is tapped. If you wish to make changes only to one of these parameters, make sure to copy the previous value to the new value box before tapping write.
5. The words writing TEDS . . . appear beneath the new user data box while the TEDS is being written.
6. After the data has been written, the Read TEDS VI opens to display the new data. Note that the data is automatically read, meaning that there is no need to tap Read. Tap Exit to go back to the Write TEDS VI.
7. Repeat steps 2-6 as needed.
8. Tap Exit to close the program.
TEDS.rar_labview操作tedsvi_teds_vi
版权申诉
5星 · 超过95%的资源 102 浏览量
2022-09-20
11:24:50
上传
评论
收藏 1.29MB RAR 举报
APei
- 粉丝: 63
- 资源: 1万+
最新资源
- IMG_20240517_211955.jpg
- 多语言实现的520爱心表白特效.zip
- Excel模板微信小程序学习心得和案例1.docx
- Modbus Poll version 10.9.0 Build 2194
- Modbus Slave version 9.3.2 Build 2156
- 响应式web前段开发程序源代码
- Excel模板大学实验课程改革与学生创新能力培养学生课程实验.doc
- 使用文件流操作文本文件是什么以及学习了解使用文件流操作文本文件的意义是什么
- SNP指纹图谱软件SNPT ,通过高通量测序获得的SNP,用最少的SNP数据区分尽量多的样品
- windowsBat脚本备份mysql数据库
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈