06-01-2012 08:59 AM
I am totally new to LabView and trying to work on a project that someone worked on in the past. I have come upon a concatenated string function on one of the existing layouts and saw that on some of the string inputs of the function has a command of 'rel' and 'g'. I'm not sure if this is a common command or what that is. This VI does is that it asks a user to enter a basic dimension (x-axis starting point and end point) and executes the desired sample steps within the 'starting point' and 'end point'. 'a3' is the x-axis name. but I'm not sure what 'rel' and 'g' means. I have posted part of the diagram. Any help would be appreciated. Thanks!
Solved! Go to Solution.
06-01-2012 09:17 AM - edited 06-01-2012 09:22 AM
This is not a LabVIEW question, but very specific to the device connected to the other end of the serial port. Do you have any documentation for it?
Basically, the program need to form a command consiting of a key word, delimiter, value, and termination character, etc. for example.
Who wrote this program. It looks overly complicated and convoluted. Under some conditions, it seems to send two commands in parallel, and there is no way to tell in which order they execute. Maybe it does not matter, but maybe it does. Most likely, all you need is a single case structure with one case for each condition and a single serial write at the end. Can you attach the actual program? There is also lots of duplicate code. What is the purpose of the x1 operations? Is this a subVI?
06-01-2012 09:18 AM
What kind of help are you looking for? You don't seem to be asking anything about the concatenate function itself.
There is no such thing as a "common command". You need to look at the communications manual for what device you are trying to talk to. That should tell you what those commands mean and what the syntax it is expecting. I would guess that "abs" means "absolute" and "rel" means "relative". Perhaps as part of some sort of motion control profile.
06-01-2012 09:25 AM
Thanks a lot! I actually went through some of the control commands but couldn't find it the first time around. It was for the picomotor control commands.