hii all
yet another question from me..
i have written a code in vb6 to call a labview7.1 vi and run it. the labview code acquires data and plots the data continuously as long as the program is running. now i want this graph to be plotted on vb6 form.
any ideas how i can do it?
thanks.
Shefali
0
Light Poster
Recommended Answers
Jump to PostEak, does labview write a .txt file, or some means in which VB can read the data?
Jump to PostThen, if you can past an example of that file.... I can see about how to go about reading it. What I'm guessing you'll have to do, is have labview write a file (either one, text or excel, vb can work with both) and then get a list of points …
Jump to PostIs the textfile constantly being "ADDED" to, or is it constantly being UPDATED (there is a difference, ya know... added to means that it leaves the data alone that's already in the file, and just adds more data to the end, while updated means that it's possibly changing the data …
Jump to PostSo, what you'll need to do, is open the text file, and read in the data. Keep a count of how many lines there are. Then, in a loop, read any added data (any lines greater than the last read) and plot them. Do this over and over until the …
Jump to PostYou'll need to post the text file (a portion of it) so I know the format we are dealing with.....
FYI: I wasn't talking about asking for their permission. I was actually talking about taking it..... without permission. So that Labview would still be running, and it would still …
All 25 Replies
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Comatose
290
Taboo Programmer
Team Colleague
Shefali
0
Light Poster
Shefali
0
Light Poster
jeylux
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.