LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Reading data from a data packet

We did not find any driver for our instrument so we are trying to capture data using the method i have explained before. Below is an example of the data packets that we are receiving in our serial port monitoring software.

First data packet       13 88 04 4C 00 00 01 F3 00 00 7B 37 02 EE

Second data packet   13 88 04 4C 00 00 01 EE 00 00 79 D9 02 EE

Third data packet       13 88 04 4C 00 00 01 EB 00 00 78 BA 02 EE

 Here as we have seen above 13 88 (5000=Frequency in decimal) 04 4C (represents1100= voltage in decimal) is constant  and the ending is represented by 02EE.  Apart from tis the rest (for the first packet 01 F3= 499 assuming current  and 7B 37 = 31543 assuming power  keeps on changing in every packet and they all have different scaling ). The 00 00 just represents the padding between them. Now we have to read the values in altogather say in different boxes and produce them in LabVIEW front panel. Here i have attached a picture of the instrument reading side by side with the serial monitoring software reading. How do i do that? i have read something called visa read and write but they only accepts strings not in bytes. Any kind of help is appreciated.

0 Kudos
Message 1 of 2
(1,945 Views)

Duplicate Post

 

Why did you post the same question 4 times?Smiley Mad

0 Kudos
Message 2 of 2
(1,944 Views)