LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem writing to EXCEL

Hello
 
I have been trying to write the acquired signal to an excel spreadsheet. I have attached my VI. Pls Help!
 
Attached research_excel VI.
 
Got another question:
 
I have a RT PCI 7030 6040E DAQ card.
 
I need to generate and aquire sine signal of frequency range : 1hz to 1000Hz frequency. I get an error asking me to limit operations on my computer when I acquire and output and filter data realtime for frequencies > 100 Hz. Attached VI  :thesis3 is the one that gives me the error.
 
What is the max sampling rate of this DAQ board?
 
Can any one pls help me.
 
Thank you
 
Krithika
Download All
0 Kudos
Message 1 of 8
(3,727 Views)

Hiii, Krithika

            Can you please explain what you want while writing the excel file, coz here i am not able to run ur vi, coz open file function gives error itself, if u explain something i can help you.

Thanks,

Nishant

0 Kudos
Message 2 of 8
(3,717 Views)

Hi,

The maximum AI sampling rate of your hardware is given as 250K samples /sec

Your code does have a lot of online processing and it might be overloading the Processor on the RT embedded system.

I repeat, the best idea would be to acquire and save the Data online and perform all this 'heavy' data processing as offline.

Think about it

Regards

Dev

0 Kudos
Message 3 of 8
(3,699 Views)

Hi Nishant and Dev

Thank you for the inputs.

Dev, as you said I want to acquire save the data onto a spread sheet file and then do the processing.

But as Nishant says you get an error when you just run it.

I am talking about my research_excel VI.

The other Vi that i have attached thesis_3 it works well at frequency less than 100 Hz.

 I am not able to trouble shoot whats wrong with the research_excel VI.

Can you guys pls help me out!

Thanks

Krithika

0 Kudos
Message 4 of 8
(3,691 Views)
Hi Guys
Here is my update. 
 
To remind you i have PCI 7030/ 6040 E real time DAQ board.
Have Labview 7.0 Real time on LABVIEW 7.0.
 
The trouble now is that at frequencies above 100 Hz the attached VI - thesis3 gives me an error asking me to limit the amout of tasks. So i thought i will write the acuired data to a spread sheet and then read out from it. Attached VI - thesis5 .
On vi thesis5 i am getting an error 10008 AI group config.
Another question if i just run the simple vi - using spreadsheet format VI with a file path say c:/test.txt, where do i look for the saved excel file. Do i need to use http or ftp? I read some information on the website : HOW DO I CONNECT TO FTP AND WESERVERS ON PCI 7041. But no help.
 
Another discussion said to run two VI's in parallel - one in Real time and the other on windows. I need your help!!!
Thank you for your time and consideration.
Looking forward to hearing from you.
Best Regards
Krithika
Download All
0 Kudos
Message 5 of 8
(3,665 Views)

You can use MAX for FTP of files from RT to windows system

click on the RT device in MAX and select FTP

use this tool and transfer the folder to your system from your RT C:\  drive.

About this "Another discussion said to run two VI's in parallel - one in Real time and the other on windows"

It inidicates to use Client- server networking

To find relevant examples go to find examples>> Networking and look atr relevant examples

I suggest you look at TCP/UDP examples and read their documentation to get an idea of implementing this protocol

 

 

0 Kudos
Message 6 of 8
(3,655 Views)

Hi Dev

i was just told that i cannot use FTP with 7030. So i need to run two VI's one in RT and one in windows.

 

I did do the same and have posted with some problem in another question : subject 7030/6040E.

 

Can you help me with that?

Thanks

Krithika

0 Kudos
Message 7 of 8
(3,632 Views)
Hi Krithika,
 
will have a look and get back
 
Regards
 
Dev
0 Kudos
Message 8 of 8
(3,608 Views)