07-31-2014 06:04 AM
I'm wondering about if you have the same hardware as naman25 in this thread:
http://forums.ni.com/t5/LabVIEW/Interface-AC-power-source/td-p/2933200
The protocol looks the same.
Are you on the same team/class?
07-31-2014 06:42 AM
@Ermani wrote:
but where the Hex conversion is done for this upper & lower byte?
There is no conversion needed. Hex is just a way to see the data. The data is the same as the raw computer format, in this case represented by two bytes that were split from an unsigned 16-bit number.
07-31-2014 08:14 AM
There is no conversion because there is nothing to convert.
All that really exists are groups of boolean 1s and 0s. To make them easier to understand by humans, we group them together and interpret them in ways that are more understandable. Say in binary you have an 8-bit value holding: 10000101.
Depending upon the context we could interpret this combination of bits as: 85 (hex), 133 (decimal), 205 (octal) or even "U" (ascii).
Nothing has really changed except how we humans choose to interpret the results.
Mike...
07-31-2014 11:01 AM - edited 07-31-2014 11:12 AM
Beginner's question. How did you do the cut n paste to show the section of the block diagram in your post? I can print screen a whole page. Do I then use something like "paint" to crop it? or can I capture a "chunk of code" from labview directly?
07-31-2014 11:30 AM
It is called a snippet. Select your code and then go to Edit->Create Snippet From Selection. Also with a snippet, you can drag the png file onto your block diagram and you will instantly have code!
07-31-2014 11:47 PM
Hi.. Yeah it is the same Hardware.. and we are in the same team. As he is on leave due to sickness from last few days so project is handed over to me...