04-24-2012 11:23 PM
Hi,
Is it possible to make a communication frame formats using labview?Iam attaching a sample frame format below.
04-24-2012 11:47 PM
Of course.
Are you having specific problems?
All you need to do is build together your data into an array of U8 bytes.
04-25-2012 01:21 AM
Sorry,Don't feel bad If Iam posting simple doubts.Iam new to this.
As you told,I made a sample vi to build togather data into an array of U8 bytes.In the attached VI there shows an input string.Is it possible in this vi,by making necessary changes to build togather data into an array of U8 bytes??
04-25-2012 09:23 AM
Look at String to Byte Array. Your code is overly complicated.
04-26-2012 03:06 AM
Hi Dennis,
Did a sample string to byte array conversion.But in that while running after giving an input string the 'Array2' shows only the byte value of last byte.The first one named 'Array' is working properly.Any suggestions??
04-26-2012 05:19 AM - edited 04-26-2012 05:20 AM
k......solved the problem.But one more doubt.If our frame format is in the form of START bit....some analog values.....then some digital values and STOPbit.My doubt is,Is there any issue if the DIGITAL values will also be there??
04-26-2012 09:00 AM
Do you mean you have a question? Doubt is the wrong word, it means you don't believe something is true. A question is when you don't know the answer to something.
You are talking about start bits and stop bits. Do you actually mean start and stop bytes? I see your frame has a series of 4 bytes at the beginning and end labelled "sync".
I don't understand what you are asking about the analog values and the digital values. It looks like the protocol of the frame you defined has all of that data included in it.
04-26-2012 10:47 PM
Hi Ravens Fan,
sorry,The exact word is question.My question is we are converting every datas(whether it is analog or digital)into byte format.Hope you saw the attached vi.So is there any exceptions while we work with digita data.Or my vi is correct?
04-29-2012 11:03 PM
Hi,
I made a frame format.That format is attached below.And I have a set of values for temperature,pressure etc:-.It is also attaching.And Iam trying to read from this table and displaying it in another VI.But while reading it have to follow that particular frame format.Is it possible??If yes,Please suggest some ways to do that.
04-30-2012 06:28 AM
danil is creating new threads over and over again, seems to continue here