LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating of pages tabcontrol and the count of parameters of the generator

1. On the control panel at me it is located TabControl with several pages, on each of which graph are located. At start of the program the graph on page which during this moment is active is updated only. How to make so that at start graph on pages that after performance of the program it would be possible to analyse these actual graph on each page were updated all? 2. It would be desirable depending on frequency of digitization and frequency of the generator to count the necessary quantity of reports for reception of one period of signal. In the attached example at change of frequency for reception of the correct graph it is necessary to execute the program twice. How to me to correct this mistake?
0 Kudos
Message 1 of 4
(2,748 Views)

Hi tumanovalex,

Thanks for contacting National Instruments.  I have been reading over your question and if I understand you correctly, it sounds like you are having trouble with your tab control in your VI.  The best place for you to look will be in the LabVIEW Help where you can search for "tab control" and it will give you a lot of options that you con look over to give you a better idea of what you need to do in your program.  I have also attached a link at the bottom of this post that goes over some of the basics for the tab control.  If this does not help you with your question, could you be a little more specific and clear about what exactly you are wanting and what you are seeing?  Thanks and I hope this helps!

http://zone.ni.com/devzone/cda/epd/p/id/1336

Regards

Noah R
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(2,723 Views)
Thanks for link! I shall try to explain a question 2. I will set number samples automatically by change F (Fs = 10000 - constant). In Generator.vi I set F=1000, run program. I see on Graph bad picture - few period of sin. I run program again and see on the graph correct picture - one period of sin. If I change F again (F=100) and run program, I see straight line. I run program once again and see on the graph  correct picture - one period of sin. Look my GeneratorNew.zip and help me, please!


Message Edited by tumanovalex on 11-09-2007 06:55 AM
0 Kudos
Message 3 of 4
(2,708 Views)

If I understand correctly, the use of the sample rate control and local variable is not correct at all. If you want to generate a single cycle based on frequency and smaple rate, just make the mods as shown below.



Message Edited by Dennis Knutson on 11-09-2007 06:04 AM
0 Kudos
Message 4 of 4
(2,704 Views)