06-02-2015 09:00 AM
06-02-2015 09:22 AM
It would be so much easier (not to mention "possible") if you posted the VI or "block" to which you refer. Post your code, we'll look at it, and make suggestions based on your code rather than our "best guess" as to what you are talking about.
Bob Schor
06-02-2015 09:22 AM
I have no idea what you mean by "back end"? Data inherently flows from right to left in pretty much every built-in VI (although you could make your own backwards VI).
Sounds like what you want is a for loop. BUT, all your questions indicate that you haven't bothered to take the basic LabVIEW tutorials. There's no point in us explaining such simple concepts when NI offers SO much free training.
http://www.ni.com/academic/students/learn-labview/
06-02-2015 09:24 AM
Here i attached my vi code.
06-02-2015 09:26 AM
06-02-2015 09:30 AM
Can you please look at my string2hex.vi and tell me how to solve this.
06-02-2015 09:39 AM
Thank you for posting your code. You clearly know almost nothing about LabVIEW, else you would know about Controls and Indicators on the Front Panel, what a sub-VI is (it is analogous to a Function in c), and how to use the Connector Pane (the way to get wires in and out of functions). There are an excellent on-line set of LabVIEW Tutorials that will teach you the basics. Among other things, you will learn how you can process an array of strings one at a time. It will also explain the In-Place Element structure which you have mis-used in your code (you basically don't want it).
Bob Schor
06-02-2015 09:46 AM - edited 06-02-2015 09:47 AM
Scan From String is your friend here...
Oh, and always make the Display Stype visible when dealing with strings like this. It makes things a lot easier to figure out what is happening.
06-02-2015 09:52 AM
i dont want to pass string from GUI, i need to do hardcode it in blaock diagram and also i dnt want to use array of striing. How to pass different string to same block N times.
06-02-2015 10:02 AM
@punee wrote:
i need to do hardcode it in blaock diagram and also i dnt want to use array of striing. How to pass different string to same block N times.
By definition, it sounds like you need an array of strings. How else are you going to pass different values? Or are you talking about using this converter in multiple parts of your project? If that is the case, you want to turn this code into a subVI and just call it directly. You will need to use controls and indicators to be able to pass your values in and out and bind them to the connector pane.
May I recommend some tutorials
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