03-18-2016 04:10 AM
Hello,
I am trying to acquire two different AI channels (NI PCI-6115).
- Channel AI0 = triggered acquisition
- Channel AI1 = continuous acquisition
I am getting error 50103? Any ideas why?
Thanks a lot and best regards,
Michael
03-18-2016 05:23 AM
Okay, the problem seems to be the two tasks I have generated. I can configure both channels in one task. But then, how can I configure channel AI0 to be triggered and channel AI1 to be continuous?
Thanks a lot.
Michael
03-18-2016 06:34 AM
The following idea ends in error -200428.
03-18-2016 08:23 AM
@MichaGue_01 wrote:Okay, the problem seems to be the two tasks I have generated. I can configure both channels in one task. But then, how can I configure channel AI0 to be triggered and channel AI1 to be continuous?
Thanks a lot.
Michael
I really don't think you can.
A task is a single activity. The trigger defines when the acquisition task starts. You can't have one channel acquiring and another one not.
Just have the task acquire continuously and discard the data from the one channel if it hasn't met whatever you defined as the trigger conditions.
For you next message, reading the description seems pretty clear and pretty much the same explanation. You configure logging for a task. It does not allow you to configure logging on a channel.
03-18-2016 09:29 AM
@RavensFan wrote:
@MichaGue_01 wrote:Okay, the problem seems to be the two tasks I have generated. I can configure both channels in one task. But then, how can I configure channel AI0 to be triggered and channel AI1 to be continuous?
Thanks a lot.
Michael
I really don't think you can.
A task is a single activity. The trigger defines when the acquisition task starts. You can't have one channel acquiring and another one not.
Just have the task acquire continuously and discard the data from the one channel if it hasn't met whatever you defined as the trigger conditions.
For you next message, reading the description seems pretty clear and pretty much the same explanation. You configure logging for a task. It does not allow you to configure logging on a channel.
Hm, bad news. Are there any examples for hardware triggered loops available? Maybe the following would work. If a hardware trigger occures, a fixed number of samples out of the continuous acquisition is used for calculation. The continuous acquisition still goes on. After calculation, the loop waits for the next trigger event.
Requirements:
- Up to 8 channels with 2,5 MS/s each (NI PCI-6133)
Thanks a lot.
Best regards,
Michael
03-29-2016 02:08 AM
Thank's to NI germany support I have found a working solution. More informations can be found here.