LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mlloyd

This is the total library that I have. To get to it use either spec6 or 7. Both do the same. It is all part of my project here in collage. Thank you for your help
0 Kudos
Message 1 of 13
(3,417 Views)
You keep creating new threads for the same topic and some of the new threads are addressed to individuals. Both are considered no-no's. And, you still haven't included all of the subVIs. If you are still having the same problem, in one of your other threads, Chilly Charley showed you an example of what you need to do. In a different thread, I told you you needed to move the part where you want the operator to select a subset of the graph in a new state. Create a state after the existing one and use CC's example there.

And if you post another example, from the main VI, select Save with Options and select Development Distribution and then check the Include vi.lib box. This will put everything into an llb. And, please, don't start a new thread again for the same question.
0 Kudos
Message 2 of 13
(3,401 Views)
Hi Dennis,
I did not know that it was possible to reply directly to a message until you said it. If I had I would not have posted new treads each time. I am very sorry about that. I will not happen again.
I tried using the solutions to the treads that I posted. The one from CC used XY graphs and when I used it I got stuck and posted new tread thich I think you replied to asking why I was using XY graph. I was totally lost at this stage and when I got your solution about using the while loopm and a new state, I tried but could not get it to work for me. I studied Labview back in December in a ten hour course over the month and now have this project. I am not a program minded person and thats Why I need the help.
I tried to attach the lib you are looking for, Hope it attaches this time
Sorry about any trouble caused
Colin
0 Kudos
Message 3 of 13
(3,388 Views)

Colin Millea wrote:...I tried to attach the lib you are looking for, Hope it attaches this time


You missed it !.. You missed it !.. 😄 😄 😉

Hum... now I understand why I never got any return !..
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 13
(3,377 Views)
Well, I modified your VI but I have no way to test it. I added a state (7) and stuck CC's code in there. His example was for a regular graph and not an XY graph. I changed it to only slice out the x axis. The user can select the region to display with either the zoom tool or by entering new values directly on the x axis.
Message 5 of 13
(3,373 Views)
Hi,
I have being trying the modification to the program that you gave me but the problem with it is that after each cycle you need to press the stop2 button for it to continue into the next cycle. Also it saves the the entire graph, from 0 to 1024 instead of from what the user selects. It also will only save one file,spec1, and after that will ask to replace. I need it so once the program starts it will continiously take in the user selected graph and continiously save them, ie spec1, spec2. The original I sent you did that but did not have the user selected area for the graph. Do oyu have any ideas?
Colin
0 Kudos
Message 6 of 13
(3,350 Views)
The pause wiht stop2 is necessary for the operator to select chich part of the graph to plot. I don't see how you can avoid that unless you always want the same subset. the only other problem I see is that I did not set the Boolean constant in case 7 to true. The shift register that determines the file name should be incrementing with each iteration. I also don't understand the whole data being logged. Does a subset of data appear on the second graph when you zoom or change the x axis? Why don't you run the VI and then when you have data visible in the first graph, stop it and select Tools>Make Current Values Default. Save the VI and post that. This VI will have some data that someone can experiment with.
Message 7 of 13
(3,336 Views)
I always do want the same subset. The used selects this at the start. And it is the second graph that is a subset of the first graph. Ya when the x-axix parameters are changed it shows that part of the data, thats perfect. The reason for doing this is because aprox every minute a file of data is saved to the computer, at the moment using the entire 0 to 1024 x-axis each file is 11kb, I just need to make these smaller. Out of the 0 to 1024 scale, I will only need between about 250 to 350 for my calculation which the user can select at the start.
0 Kudos
Message 8 of 13
(3,330 Views)
Okay, I don't see anything that determines the subset but you can just add a couple of controls to change display 2's x.min and x.max. Then remove the while loop that in state 7. Also, change the Boolean constant in state 7 to true so that the program keeps running.
Message 9 of 13
(3,315 Views)
Hi Dennis,
with the changes you made, I ran here but now the second graph is boing skipped over. I watched the program run with the "light bulb button" on and The signal came through that part of the program but nothin was displayed on the graph on the front panel. When I looked up the files saved they were all empty. Do you know what the cause of this could be?
Colin
0 Kudos
Message 10 of 13
(3,308 Views)