LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i give the input to my DAQ card using pre saved data in my PC

Hello sir, 

I want to know that , I have saved data in ASCII file in my PC and i want to give this data to my DAQ card as input for analysis purpose . Sir how it can be possible because in DAQ card there is no such type of option to take data from pre saved ASCII file .

I am using LABVIEW 7.1

Agnivesh
0 Kudos
Message 1 of 16
(3,694 Views)

Are you talking about an analog input or an analog output operation? If you're talking about an analog input, you can't. You have to do that in your own code by having the analysis portion of your code work off or "real" data coming from your DAQ card, or "simulated" data coming from your file. If you're talking about an analog output, this is fairly easy to do, and is shown in the DAQmx examples.

0 Kudos
Message 2 of 16
(3,688 Views)

Sir, 

I have data which is taken from sensor and it is pre saved in my PC. now currently i made a VI which is capable to take data from DAQ card.

So may question is that is this possible to give this ASCII file to DAQ card as input. this is analog signal.

In my DAQ card only some controls are there and there is not any control like to take the data from pre saved file (file path ) . So is this possible or not ?

 

Agnivesh
0 Kudos
Message 3 of 16
(3,684 Views)
Of course it is possible, even for your old version. Did you look through the examples? Did you bother to look at any of the file read functions? Simply read the file and pass the data to a DAQmx Write.
0 Kudos
Message 4 of 16
(3,679 Views)

But Sir i am not working with NI DAQ car i am working with MCC DAS 1200 DAQ card there is not any option 

Agnivesh
0 Kudos
Message 5 of 16
(3,674 Views)

You never said you weren't using a DAQmx card...

 

Still, in that case there should have been examples included with the MCC DAS card. Did you look?

0 Kudos
Message 6 of 16
(3,667 Views)
You are just being obtuse. The input for the mcc functions is the same as the input to an NI function. I have no idea why you think a file read should be a DAQ function but you are very mistaken. If you do not know how to do a file read and convert the contents to a 1D DBL array or waveform data type, you really need to take a basic programming class.
0 Kudos
Message 7 of 16
(3,665 Views)

Sir ,

I can read the file using some function. I am sending you my VI from which i read the saved data , now my question is that this array which i got , i want to give this array to input to DAQ card VI , i am sending you DAQ card VI also . 

Agnivesh
Download All
0 Kudos
Message 8 of 16
(3,648 Views)
An image is not a VI and sending an image of code the does an acquisition is even more worthless. You need functions that generate a signal. There is a huge difference between aquiring a signal and generating a signal. I would have thought you would be aware of the differance.
0 Kudos
Message 9 of 16
(3,642 Views)
Sir can i generate the signal from array if yes then please tel me how to do this
Agnivesh
0 Kudos
Message 10 of 16
(3,638 Views)