LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MULTIPLE INPUT ERROR (2 INPUT 1 OUTPUT ERROR)

I was doing my project using two different inputs(sound and Infrared sensor) with one output. However I encounter an error. I hope someone can help me out with my problems.

Error screenshot:
[spoiler][img]http://img337.imageshack.us/img337/1066/errorhe5.png[/img][/spoiler]
Download All
0 Kudos
Message 1 of 4
(3,126 Views)
First of all, please do not capitalize all letters in the subject. This is considered no good in forums 😉
Taking a look into the screenshot only, i suspect that you use the same hardware for both hardware inputs. You cannot use two (or more) DAQ Assistents on the same device with the same IO funcionality in parallel.
So if the setup looks like this:
AI0 = Sound
AI1 = Infrared
You have to acquire both in a single task (so in a single assistant).

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,025 Views)
hmmm.. sorry about those capital letters. Do you mind creating an example for us? We tried many ways but still can't get it working.
0 Kudos
Message 3 of 4
(3,010 Views)
Since i don't have your hardware, it is not worthy to create an example where you hope for a direct funtionality.
It is much better if you understand the work the assistant is doing for you.
The DAQ assistant supplies the user with an interface to many (not all) functions usable with DAQmx devices. You can configure your task there; the task consists of at least one physical channel (you can say the inputpin) and the settings for the amplifier and multiplexer (if the device has a multiplexer) for each channel (which is called global virtual channel then).
Next step is to define timing and trigger settings which are effective for the whole task (so all virtual channels!).

I still suspect that you have two analog inputs connected to the sources and the device is multiplexing. So you have to configure one task containing both physical channels and their appropriate settings. Both channels will be sampled with the same timing settings then. The DAQ assistent already splits up the signals into two different waveforms which are encapsulated in the dynamic datatype. Just retrieve the signals properly.

hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 4
(2,995 Views)