NI Home > Community > NI Discussion Forums
Reply
Member
thinker-1
Posts: 3
0 Kudos

How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

I use DaqPad1200 which has two Analog inputs.

 

I use an external cmos analog MUX to scan a 2D  array of sensors (x and y).

 

The digital output ports are used to address the Row column MUXes.

 

The Analog acquired data should go in the array so the port values are the the array indices.

 

Any idea on how to do this?

 

 

Member
Carmen_Martinez
Posts: 120
0 Kudos

Re: How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

If I well understood your requirements, you can create the digital signal to control your mux by using something like this (see attached picture).

If your MUX has less than 8 bits you can modify the code to write only the amount of bits needed.

What else does your application need? It would be useful if you can explain it with more details. 

 

Member
thinker-1
Posts: 3
0 Kudos

Re: How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

Thank you for taking time to consider my issue.

 

I am a beginer , actually I was.... then I could solve this by reading examples and it is mazing how easy it is !! 

 

Building and displaying matrix arrays is very easy and useful. I remember the pointers in C and how difficult to manage they are.

 

The problem now is that execution is slow with respect to my needs.. i.e. Analog acquisition and multiplexing are taking milliseconds.

 

Is this a function of computer speed?

 

Can I make a stand alone application without the need to the PC? just like burning an Eprom to put on target system ?

 

THank you for any hint

 

 

Member
Carmen_Martinez
Posts: 120
0 Kudos

Re: How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

You are right, LabVIEW is a kind programming language...

 

For what you said, I think that the timing bottle neck could come from your hardware (DAQpaq is quite an ancient device).

What are your timing requirements? At which frequency you need to acquire your data? 

You could use some hardware like cDAQ.

For stand-alone applications there is the possibility of using the cRIO platform. 

Member
thinker-1
Posts: 3
0 Kudos

Re: How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

What I need actually is to make the analogue data acquisition remote and data analysis and visualisation, elaboration local on a PC.

 

Distance of the data acquisition point could be 5 to 10 meters. Data could also be sent over a network.

 

I need 2 - ADC and 2 DAC plus digital ports , just like the DAQPod1200.

 

Thank you for any specific suggestion !!

 

 

 

Member
Carmen_Martinez
Posts: 120
0 Kudos

Re: How to use Port I/O Daqpad-1200 as an index to array for analog acquisition

[ Edited ]

I have several suggestions for you (cDAQ Ethernet):

 

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209818

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209925

http://sine.ni.com/nips/cds/view/p/lang/en/nid/208990

 

After what I read, I think this is what you are looking for. Hope this helps