LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i employ "Datalogger" to read several input signals simultaneously

Dear friends

I am using National instrument DAQ 6008, The interface i am using is labview 7.1.

i used the "Datalogger" that came with the DAQ driver to Acquire the signals from the DAQ. it worked great for one Signal at a time. the thing is that i need to acquire 5 signals;one of them is differential, while the other four are single ended; simulatneously.

so to sum up

first how to configure the "Datalogger" to acquire 5 signals together one of them is differential.

Anyone got ideas ????

Thanks for ur patience.
0 Kudos
Message 1 of 8
(3,288 Views)
Hello Temraz,

Data Logger does not allow you to individually configure your AI channels. To do this, you can open the NI-DAQmx Base Configuration Utility to set up each AI channel in one task. Then you can use that Task in LabVIEW 7.1. Try running an example at: C:\Program Files\National Instruments\LabVIEW 7.1\examples\daqmxbase\Static\ai. You will have to type the task name manually into the control, they will not be listed in the drop down menu.

I hope this helps. Please let me know if you have any further questions.

Regards,
Sean C.
0 Kudos
Message 2 of 8
(3,273 Views)
dear sean..

thx alot .. i went through the threads and i found out this fact u told me about later .. i tried the examples and it worked realy fine .. and editted it so it can write the data and save it to a file .. but i am lost at this "array" thing .. i wish u can direct me to a source that can illustrate it more thoroughly.

thx for ur time

amr
0 Kudos
Message 3 of 8
(3,265 Views)
Hello,

What "array thing" are you referring to? Do you have an example of this you could attach to this post? What specific questions do you have about arrays?

Regards,
Sean C.
0 Kudos
Message 4 of 8
(3,255 Views)
dear sean

i wanted to learn more about arrays in labview .. where they apply and how they can help me when acquiring 5 signals from my NI DAQ 6008

thx alot
0 Kudos
Message 5 of 8
(3,251 Views)
Hello,

Data is returned from multiple channel acquisitions in the form of an array. Rows correspond to individual channels and columns are individual samples. Do you have any specific questions about using arrays in LabVIEW?

Regards,
Sean C.
0 Kudos
Message 6 of 8
(3,234 Views)
hi sean

thanks for ur help, i was able to solve the array

i am facing another dilema now ..

i attached the block diagram i am using to acquire the 5 signals.. i need to acquire a specific number of samples per second, which i am finding realy hard to locate anything that controls the sample rate.

everytime i run the VI and i save the data i face a huge amount of Data in the Excel sheet.

so take a look at the block diagram and see if it can be adjusted in anyway

i realy appreciate your help

Best of luck

amr
0 Kudos
Message 7 of 8
(3,225 Views)
Hello,
 
I think you forgot to post the block diagram...
 
Sean C.
0 Kudos
Message 8 of 8
(3,211 Views)