05-14-2012 04:46 AM
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
05-14-2012 08:05 AM
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
05-15-2012 01:06 AM - edited 05-15-2012 01:07 AM
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??
05-15-2012 04:00 AM
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.