LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to make the bundle output show on xy graphy once the lab view process stops

thanks aeastet, my aim is to use the shift resiter to initialise the function geenrator from 10 hz to 1000000hz and for ths to be possible, i want the false case in the care structure to the the default so that i can sweep the frequency from 10 to 1Mhz and store the entire frequency to voltage values and plot a graphy with these values

good
0 Kudos
Message 11 of 18
(715 Views)

thanks aeastet, what i want is to be able to see the voltage vs frequency once the lab view programm stops and when i go the front of the waveform graphy and click on export to excel, i want to see all the various frequency icreament from 10 to 1MHZ.find attached my vi

good
0 Kudos
Message 12 of 18
(709 Views)

Did you try the last vi that I sent you? What is it not doing?

Tim
GHSP
0 Kudos
Message 13 of 18
(704 Views)

thanks aeastet, i tried the last vi, it does not give any values on the graphy and when i export the graph to excel sheet i can not see any of the frequency increament

good
0 Kudos
Message 14 of 18
(699 Views)

Did you make sure that you set all of the times that you have controls for? If I remove rthe frequency generator and have the program generate data I see it on the graph. I am not sure how you are doing the save since that was not part of the code that you posted. Please make sure that you have all of the controls set to values that you think they should be. If this still does not work I did put a 10 ms timer into the loop. If your y2 value is less that 10 ms then the program will not take data. You can remove that timer and try again to see if that helps.

Tim
GHSP
0 Kudos
Message 15 of 18
(690 Views)

thanks aeastet, i still not giving me any data. can you tell me how i can include a vi or code that will automatically save my data and i i can view it and plot a grapy of voltage against frequency

good
0 Kudos
Message 16 of 18
(678 Views)

I am not sure why you are not getting data. I would check to see if your DAQ card is connected and working correctly. If I remove all of the ELVIS for the frequency generator I have no problem getting data to plot. Look to see if you have errors in the data acquisition loop or the frequency generator by placing a probe on the error out wire on the shift register.

 

I added some code that should save the data once you get data into your vi.

Tim
GHSP
0 Kudos
Message 17 of 18
(665 Views)

thanks aeastet, can u help me attach the code that will help me save the data to this vi.

good
0 Kudos
Message 18 of 18
(658 Views)