06-10-2015 11:14 AM
still i didnt get solution.can anyone please post picture
06-10-2015 11:14 AM
can you please post as a picture.
06-10-2015 11:17 AM
the way u said i cant able to do.
06-10-2015 11:18 AM
Why don't you supply code for us? Let's see what you're having issues with. Or at least supply us with some psuedo-code that shows you understand the logic of how to accomplish it, if you don't understand how to do it in LabVIEW,,,
06-10-2015 11:20 AM
@balbal207 wrote:
can anyone please post picture
How about this one:
Seriously, if you are asking for help, you need to show us what you have tried. We are here to help, not do your work.
06-10-2015 01:41 PM
06-10-2015 01:56 PM
You could have just taken a screen shot. Or even better would be post your VI.
Ok, since you obviously have little to no idea what you are doing, let's start with creating a random number from 0 to 3. To do this, you will need your random number generator (which you already have) multiply that by 4 and round down. This works because the random gives you a number from 0 to 1 (not including 1). So by multiplying by 4, we get a random number from 0 to 4 (again, not including 4). Then just round down (toward 0 should work here) and you will have a number between 0 and 3.
Once you have that, see what you can do.
Oh, you might want to do some basic tutorials. The autoindexing tunnels will be of use soon.
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products
06-10-2015 02:21 PM
@balbal207 wrote:
please
Not bad for your first attempt. Follow crossrulz advice to get the proper index in the range [0,1,2,3] and wire it to the OFFSET terminal, not the LENGTH. You want the length to be 1 so you get one character.
Then you can auto-index the output tunnel to get an array of random characters and convert that to a string OR you can concatenate the string together inside the loop. For that you will add a shift register to the loop and use the string function called concatenate. Try it either way or better yet, do it both ways. Try it and post your attempt...
06-10-2015 03:04 PM
THANKS for your kind reply,still i have some difficulty
06-10-2015 03:07 PM
That looks almost nothing like what you were told to do. Why would you put the random caluclation outside of the FOR loop? Why are you multiplying by 49? You are using the wrong round function (you are using Round To Nearest, it should be Round Toward 0).