11-09-2011 07:33 AM
Hi
I have two small programs to test cfp - DO - 403 module in LabView.
The first programing,I get it from exmaple from NI. It work ok with this module.
The second programming, I create it with DO share, but i does not work, I don't see the error.
Please download and fix it help me.
Thanks
Nguyen Van Hung
11-09-2011 07:53 AM
Hi,
I have the same issues with cfp - AO- 200
Please support me to fix it
Thanks
Nguyen Van Hung
11-09-2011 09:56 AM
Build an array of fieldpoint IO references. Put the Fieldpoint write into a For Loop. Auto index on the fieldpoint IO array and your data array to write a value to each IO point in turn.
11-20-2011 09:21 PM
Hi Raven,
I work ok with Digital ouput but not ok with Analog output as your guide.
Thanks
Nguyen Van Hung
11-20-2011 10:22 PM
It should work equally well with both.
Post your code.
11-20-2011 10:32 PM
Here is my code.
11-21-2011 11:05 AM - edited 11-21-2011 11:06 AM
I have never used the "All" channel, at least not for writing values out. So I don't know if there are any gotchas with that.
One thing I do notice is that for your first program, you are writing out an array of 8 elements. But for the 2nd program, you are only writing out an array of 3 elements although it is an 8 channel device. (Put a probe or indicator on that error wire to see if it says anything).
My suggestion was to create an array of the Fieldpoint I/O points and iterate through them in a loop.
11-21-2011 07:53 PM
Hi Ravens,
This is good method.
Thanks for your support.
Best Regards,
Nguyen Van Hung