arthas
2008-08-14 07:10:13 UTC
Greetings everyone. I am using a wireless Inertial Sensor from Microstrain company which can measure acceleration, euler angles and angular rate. I would like to acquire all the data from the sensor by using LabVIEW. The microstrain company had sent me some subVIs which allow me to communicate and acquire data from the sensor. Included in this post are the "Initialize Serial Communcations.vi", "Read Accel and Rate.vi" and 1 screenshot. I was told by an engineer from the microstrain company that I have to first run "Initialize Serial Communcations.vi" first with the correct COM port settings before I can run one of the other vi's, such as "Read Accel and Rate.vi" to read data. I connected the 2 Vis attached in this post to acquire the acceleration and angular rate data. However when i run the program, an error message saying "VISA: (Hex: 0xBFFF0015) Timeout Expired before operation completed" will be displayed. The screenshot shows the block diagram and the error message displayed. This error also occur when i am using other subVIs provided by the company. How do I overcome this problem? I am very sure that the correct COM port is the one connected to the “Initialize Serial Communications.vi”, which is COM5. I am using LabVIEW version 8.5. Any help would be much appreciated.
Initialize Serial Communications.vi:
http://forums.ni.com/ni/attachments/ni/250/42319/1/Initialize Serial Communications.vi
Read Accel & Rate.vi:
http://forums.ni.com/ni/attachments/ni/250/42319/2/Read Accel & Rate.vi
screenshot1 - block diagram.JPG:
http://forums.ni.com/ni/attachments/ni/250/42319/3/screenshot1 - block diagram.JPG
Initialize Serial Communications.vi:
http://forums.ni.com/ni/attachments/ni/250/42319/1/Initialize Serial Communications.vi
Read Accel & Rate.vi:
http://forums.ni.com/ni/attachments/ni/250/42319/2/Read Accel & Rate.vi
screenshot1 - block diagram.JPG:
http://forums.ni.com/ni/attachments/ni/250/42319/3/screenshot1 - block diagram.JPG