11-11-2013 04:44 AM
Hi everyone,
triggering with myDAQ seems to be a difficult task. In my case I want to trigger an Anlog Input (myDAQ->AI0) with an Digital Input (PFI0) on rising edges. If I create a new task with NI MAX, I can configure the task for reading an analog voltage over AI0 (differential, 1000@10k). On the triggering-tab I use digital for the trigger-type (it's the only possible value). If I try to save the task I get an error -200077, it tells me that I can't use any trigger-Type.
What is the reason, what is my mistake?
Thank you!
Sebastian Frank
11-13-2013 12:54 PM
Hi,
can you tell me the possible reason(s), please?
Which hardware do you use?
11-14-2013 04:13 AM
I don't know what the reasons are. Otherwise I wouldnt ask. My configuration is the following:
Software:
Desktop PC with Windows 7 prof. SP1,
LabVIEW 2012 SP1 f5,
NI-DAQmx 9.8
NI ELVISmx 4.4
Hardware:
NI myDAQ
Sinewave-Output over AO0
Analog-Input over AI0+ and AI0-
Digital-Input over DIO0
When I try to create a new task in NI MAX with triggering the analog input of myDAQ, always an error -200077 occures. There is no Trigger-Type possible at all.
Does anyone has any ideas?
11-14-2013 05:30 AM
When you get an error code, above that you get "possible reason(s)".
Can you attach a screenshot with the error code?
11-14-2013 07:59 AM - edited 11-14-2013 08:19 AM
Hello Richard20,
In the attachment you can find a screenshot of the error. My workflow is the following:
1. Create a new task (see newTask.png)
2. Configuration of the task to measure 1000 values at 10k (see configuration.png)
3. Configuration of the trigger (only Digital Edge is selectable, see trigger_a.png)
4. Configuration of the trigger-Source (see trigger_b.png)
5. Saving the task --> the error occurs (see error.png)
What's wrong?
Sebastian Frank
11-22-2013 04:36 AM
As you know, myDAQ does not support analog triggering in HW, so the ELVISmx software does it by using a continuously-acquiring task.
Here is a link. There are VIs with software trigger. Have a look and please give me feedback.