06-25-2018 06:17 AM
Hi everyone,
my program is regarding multiple cahnnel configuration using cDaq and NI9203
Please fingdthe program attached.
Problem is I´m unable to run the program without Setting the tast terminal. So connected a Task terminal, but then it didnot work untill selecting a Task. After selecting the Task, as expected it works according to what has been already configured in Task.
Please suggest me how to correct this and be able to configrue each channel
Thanks a lot in advance
Best Regards,
Deepa
06-25-2018 06:51 AM - edited 06-25-2018 06:54 AM
06-25-2018 06:58 AM
Hi GerdW,
Thanks a lot for the Input. will try implenting it
06-26-2018 07:58 AM
I tried it, But then I am getting error.
Is it possible to provide all the channel as a Options to configure according to the need of user?
I mean if s/he requires only 5 out of eight channels they configure those five with Name of the Task and channel
Best Regards,
Deepa
06-26-2018 08:35 AM
@Deepa_Krishnamurthy wrote:
I tried it, But then I am getting error.
Is it possible to provide all the channel as a Options to configure according to the need of user?
What error are you getting? Show us your attempt.
Yes, you do what you are asking for and the way you were told to do it.
06-26-2018 09:31 AM
Please find the attached vi with Task and error generated
06-27-2018 10:10 AM
Hi all,
Now with the attached vi. I am able to get the Output without scaling.
When the scaling is involved error Pops up saying AImin should be Minimum of yintercept.
I did search about this error and sét the AImin from 0 to -20m. Still then I am getting the error.
Any suggestions are greatly appreciated
Thanks a lot in advance
06-27-2018 10:56 AM
Your Maximum Value and Minimum Value inputs on the Create DAQmx Channel need to be based on the values AFTER the scale was applied.
06-28-2018 06:59 AM
I tried AImin -50 and AImax +50, still then it Pops a error stating that that value of AImin should be greater than and lesser than y intercept value
for example: If y intercept is -25... it states that AImin should be lesser than -24.9 and greater than 25.06....