06-16-2010 07:48 PM
I really apologize for this mess.Everything work perfect just I cant get output from the second wave generator on output channel ao-1 although everything is like the other one and I have just changed the channel.
Also I would like to know is it possible to make an executable file for this project in Labview 8.5.
06-16-2010 08:37 PM
You need to combine your two waveforms into a single DAQ task by doing N channels, N samples and building your waveforms into 1 array.You should be getting an error about a resource being reserved having it broken up into two tasks.
I also cleaned up the code such as combining all those index arrays, and bringing your stop button INSIDE the loop. Also, all terminals on the block diagram should have labels.
Since I don't have your DAQ card, I can't test these changes.
To create an executable, you need the application builder which comes with the professional development suite, or is an addon to the base or full versions of LabVIEW.
06-17-2010 04:44 AM - edited 06-17-2010 04:45 AM
with a few changes it works fantastic.Many thanks
just when I specify group number I have to stop and run again to get the correct phase shift on oscilloscope otherwise it shows the previous phase shift while signal type ,amplitude and DC offset are correct.just there is a problem with phase shift.everytime I have to stop and run again for different groups
06-17-2010 08:43 AM
It may be a matter of using the reset signal input on the waveform generation functions whenever you make changes to your controls.
I just realized you probably want to move the Spreadsheet read ahead of the loop so that you don't just reread the same file over and over on every iteration of the while loop.
06-17-2010 08:57 AM
I moved it outside mate
Also I have used "Read From Spreadsheet.vi " inside the vi to read the spreadsheet.In that fie I have changed delimiter from \t to , then I saved that file but I when I copy my vi and open it in the other computers the value of delimiter back tio \t (default value) while it supposed to be ,
Is there any way to avoid it.
06-17-2010 09:07 AM - edited 06-17-2010 09:08 AM
What program did you use on the other computer to open the file that caused it to change? Excel?
You'll have to figure out which delimiter works best for you and works consistently.
06-17-2010 09:49 AM
I amusin g Excel.when the delimiter is \t I can edit it in Notpad but when I change it to , I can open and edit in Excel.
so seems like I have to change the delimiter from \t to , on every cumpuet that use this VI.
06-17-2010 10:00 AM