05-19-2006 04:44 AM
05-19-2006 08:21 AM
05-19-2006 03:47 PM
I am trying to use Labview to parse a C++ function file that is saved as a .DLL file. Or to just simply parse a Text file line by line
For example
If I had a file like: P20 L200 X20 Y25
P14 Y29 C799 T19
Basically, I want to be able to control an entire process. I have Vi's I have created for Lasers (L), Powder feeder (P), X-axis encoder for CNC(X), Y-axis for CNC (Y) devices. This programs are all controlled via the RT target by their respective cards. Basically, I hope you kind of understand me and what I am doing. With the new Labview 8.0 and its project capability seems like it might have the capability of what I need to do. I want to be able to Call the other vi's and output the values that they need to run at from a main Vi program. I seems confusing. I guess I will partly have to explain to you in words. But as of now, I just need to be able to stream line by line from a file and be able to parse a sample text file as I have show above.
05-19-2006 03:47 PM
I am trying to use Labview to parse a C++ function file that is saved as a .DLL file. Or to just simply parse a Text file line by line
For example
If I had a file like: P20 L200 X20 Y25
P14 Y29 C799 T19
Basically, I want to be able to control an entire process. I have Vi's I have created for Lasers (L), Powder feeder (P), X-axis encoder for CNC(X), Y-axis for CNC (Y) devices. This programs are all controlled via the RT target by their respective cards. Basically, I hope you kind of understand me and what I am doing. With the new Labview 8.0 and its project capability seems like it might have the capability of what I need to do. I want to be able to Call the other vi's and output the values that they need to run at from a main Vi program. I seems confusing. I guess I will partly have to explain to you in words. But as of now, I just need to be able to stream line by line from a file and be able to parse a sample text file as I have show above.
05-19-2006 03:47 PM
I am trying to use Labview to parse a C++ function file that is saved as a .DLL file. Or to just simply parse a Text file line by line
For example
If I had a file like: P20 L200 X20 Y25
P14 Y29 C799 T19
Basically, I want to be able to control an entire process. I have Vi's I have created for Lasers (L), Powder feeder (P), X-axis encoder for CNC(X), Y-axis for CNC (Y) devices. This programs are all controlled via the RT target by their respective cards. Basically, I hope you kind of understand me and what I am doing. With the new Labview 8.0 and its project capability seems like it might have the capability of what I need to do. I want to be able to Call the other vi's and output the values that they need to run at from a main Vi program. I seems confusing. I guess I will partly have to explain to you in words. But as of now, I just need to be able to stream line by line from a file and be able to parse a sample text file as I have show above.
05-19-2006 03:47 PM
I am trying to use Labview to parse a C++ function file that is saved as a .DLL file. Or to just simply parse a Text file line by line
For example
If I had a file like: P20 L200 X20 Y25
P14 Y29 C799 T19
Basically, I want to be able to control an entire process. I have Vi's I have created for Lasers (L), Powder feeder (P), X-axis encoder for CNC(X), Y-axis for CNC (Y) devices. This programs are all controlled via the RT target by their respective cards. Basically, I hope you kind of understand me and what I am doing. With the new Labview 8.0 and its project capability seems like it might have the capability of what I need to do. I want to be able to Call the other vi's and output the values that they need to run at from a main Vi program. I seems confusing. I guess I will partly have to explain to you in words. But as of now, I just need to be able to stream line by line from a file and be able to parse a sample text file as I have show above.
05-19-2006 03:52 PM
If I am understanding your question correctly, you don't need to have LabVIEW 8 to be able to parse text files.
Just use LabVIEW's built-in OpenFile and read one line at a time.
There are string parsing capabilities built into LabVIEW.
05-19-2006 03:58 PM
Could you send me a program how I can read on line at a time...
how can I send an attachment to you so that you can test it. I need this to be implement on a Serial RS232....That's what I am going to be talking to. Right now, I can communicate with my RS232 port but somehow I need to figure out how to stream the file line by line to the port or device via labview from the file.
Thanks
Mog
05-19-2006 04:52 PM
05-29-2006 11:40 AM