06-16-2007 01:24 PM
06-18-2007 01:27 AM - edited 06-18-2007 01:27 AM
Hi Drew,
With decoding and demultiplexing it is always very important that there is a save and robust way to synchronize. You have to know where to start.
If I understand you correctly you designed the interface board for the 64 sensors. Can you tell a bit more about this interface.
Message Edited by K C on 06-18-2007 08:27 AM
06-18-2007 11:12 AM
06-18-2007 03:09 PM
Hi Drew,
Could you clarify what exactly it is that you need help with? Are you having difficulties with the actual acquisition of data, or are you just unsure of how to interpret this data in LabVIEW? I would like to help you but right now the specific question really isn't clear to me. Thanks!
06-18-2007 11:10 PM
06-19-2007 01:25 AM
Hi Drew,
Your question made think differently. You need someone to build (a part of) the application for you.
The general idea is to control the multiplexer’s with the digital outputs and read the data from the Amplifier with a analog input.
I do not see where the analog output is used.
Do you already have something build in
06-19-2007 11:47 AM
06-19-2007 12:10 PM
Hello Drew,
You mention that you have looked at the examples and don't see anything similar to your application. From my understanding, you need to be able to change the state of your digital output lines and then read an analog input. There are example programs in LabVIEW showing how to do both of these tasks. You should be able to base your application on a combination of two different example VIs. Open the LabVIEW Example Finder and take a look at the following examples:
Hardware Input and Output >> DAQmx >> Digital Generation >> Write Dig Port.vi
Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage >> Acq&Graph Voltage-Int Clk.vi
These examples seem to be along the lines of what you are trying to do. If I have misunderstood your application then please let me know. I hope this helps.
06-19-2007 12:17 PM
06-19-2007 01:42 PM - edited 06-19-2007 01:42 PM
If you had a simple 64 channel mux, the code could be as simple as what is below. The first DAQ Assistant writes a digital value to the mux to select a channel and the second DAQ Assistant reads the output of the mux. The for loop will automatically create a waveform array with 64 elements. You would then index the array to operate on each channel. Since you are using two different muxes, you might want to have two separate for loops. You don't mention how you select between the two different muxes. The actual implementation will depend on which bit you are using for the mux selection. For example, if you were using DO0 through DO4 for channel selection and DO5 for mux selection, you would simply have to add an offset of 32 to the second loop.
Message Edited by Dennis Knutson on 06-19-2007 12:42 PM