LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to write a program to incorporate ELVIS ,LV and Excel

Solved!
Go to solution

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.

 

0 Kudos
Message 11 of 18
(1,019 Views)

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.

0 Kudos
Message 12 of 18
(1,009 Views)

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

Message Edited by en99 on 06-17-2010 04:45 AM
0 Kudos
Message 13 of 18
(992 Views)

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.

0 Kudos
Message 14 of 18
(982 Views)

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. 

 

0 Kudos
Message 15 of 18
(977 Views)

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.

Message Edited by Ravens Fan on 06-17-2010 10:08 AM
0 Kudos
Message 16 of 18
(973 Views)

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.

0 Kudos
Message 17 of 18
(967 Views)
You do know you can set the delimiter to something besides a tab in the Read From Spreadsheet function.
0 Kudos
Message 18 of 18
(962 Views)