03-26-2012 10:19 AM
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?
04-10-2012 10:14 AM
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.
04-17-2012 09:15 AM
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
04-17-2012 09:33 AM
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.
04-17-2012 10:36 AM
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 !!
04-18-2012 01:47 AM - edited 04-18-2012 01:47 AM
I have several suggestions for you (cDAQ Ethernet):
After what I read, I think this is what you are looking for. Hope this helps