LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data after check

Hi,

 

     Iam trying to receive data  from a device.Receiver receives only when data is according to a particular frame structure.The structure will be in the form:-

 

                 1. Start byte-("F9A42BB1").start byte should be this particular one

                 2. The next 4 bytes for temperature and the next 4 bytes comming after this is for pressure

                 3. Stop byte-("B12BA4F9").stop byte should be this particular one.

       How can we make the following frame format using labview??Tutorials,sample VIs etc:- are welcome

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 4
(2,373 Views)

Isn't this a re-hash of the your post from less than a week ago ???

http://forums.ni.com/t5/LabVIEW/Two-port-serial-reading-of-a-numerical-value/td-p/1983187

 

 

 


0 Kudos
Message 2 of 4
(2,358 Views)

Hi,

      I started the above explained assignment in the following way:-

 

     1)First,made an input array,with start and stop bytes are given in the attached VI.

     2)In between start and stop bytes,we have given 8bytes(random values),these values have to be displayed in the thermometer and the guage, with the first 4bytes into   the
   thermometer and the next 4bytes into the guage.

     3)A second array has been provided.It displays the output properly,but the thermometer and the guage shows nothing

 

     How can this be made possible??what all changes have to be made in the VI to make the thermometer and the guage working??

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 4
(2,332 Views)

In the below attached VI.The thermometer and guage shows reading according to the increasing order of  array index.

 

How can we make this vi to work like the below two points:-

 

   1)only thermometer shows reading when array index become(0-3).That time the guage should sit idle.

   2)In the next 4 array indices(4-8) the guage shows reading and thermometer should sit idle.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 4 of 4
(2,319 Views)