04-17-2009 01:45 PM
well its a real pet peeve for me too. i am just asking a simple question and nobody is getting instead people have started criticizing the file formats that i am using.
what ever.
just forget about every thing i posted and please just have a look at the "MT convolutional encoder vi" in your own Labview(if you have installed the modulation toolkit). it requires a bit stream as an input and i want to give it this(10001000110001) as an input. now how do i do that. i can't be more precise and simple than this.
thanks
04-17-2009 02:25 PM - edited 04-17-2009 02:25 PM
I don't have the Modulation Toolkit, but I don't need it in this case, as the help file for it is available online. As I said, it takes in an array of integers. Values of zeros and ones. I don't know what you're asking beyond that. If you want to be able to enter the text "110000110110" on a front panel string control, that's something else entirely. But, the answer is, and can't be anything else except: it's an array of integers.
04-17-2009 02:56 PM
can you please explain to me the array that you sent.
isnt it showing the values only at index 0.
04-17-2009 03:06 PM
infact this is what i have been asking on the forum. when i do like the method that u have shown, the array only takes these values at index 0. the left most number is showing array indices. i want to enter 1001110001 in the format, index1=1, index2=0,index3=0,index4=1 and so on. this is a 1D array. now how do i do this.
this is one part. now if i want to show the output of the convolutional encoder on my front panel,so what should i do.
i would really appreciate.
04-17-2009 03:06 PM
04-17-2009 03:08 PM
04-17-2009 03:18 PM - edited 04-17-2009 03:19 PM
irish_sunset wrote:infact this is what i have been asking on the forum. when i do like the method that u have shown, the array only takes these values at index 0. the left most number is showing array indices. i want to enter 1001110001 in the format, index1=1, index2=0,index3=0,index4=1 and so on. this is a 1D array. now how do i do this.
this is one part. now if i want to show the output of the convolutional encoder on my front panel,so what should i do.
i would really appreciate.
As I suspected in my reply #10, it seems that your fundamental problem is with simply resizing the array control/indicator. The LabVIEW Help explains how to do this:
Adding Elements to Arrays
You can resize an array by adding multiple elements to the array simultaneously or by adding one element at a time.
Complete the following steps to resize an array structure.
- Move the Positioning tool over the array shell border. Resizing handles appear at the points where you can resize the array. <--- Key sentence
- Move the cursor over a resizing handle to change the cursor to the resizing cursor.
Note If the array or cluster is currently selected and you click an element rather than the array shell or cluster shell border before you drag, LabVIEW moves the entire array or cluster rather than resizing it.
- Use the resizing cursor to drag the resizing handles vertically or horizontally until the dashed border outlines the number of elements you want to display in the array.
To cancel a resizing operation, continue dragging the resizing handle outside the window until the dashed border disappears or press the <Esc> key before releasing the mouse button.
The index display tells you which index position is shown first.