FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

programming 8 FP-TC-120 modules with FP sdvise.vi

Iam monitoring the temperature data using 8 fp-TC-120 modules(64 channels )by
using a labview program(8 fp advises inside the while loop)connected to one fp-2000 as network module. I wish to optimise the fpadvise in my program to one (which serves all the fp modules)by creating a reference node to the advise .Is this idea a valid one .If not so let me know if there is any other method to optimze the loop or fpadvise operation and the way it works.
0 Kudos
Message 1 of 4
(3,446 Views)
No, using a reference node to the FP Advise.vi is not valid. The FP Advise.vi sets up a callback. The callback provides asynchronous communications at the specified advise rate. This actually provides the timing for the loop and a Wait or Wait for Next Ms multiple are not required in loops using the FP Advise.vi. However, using multiple FP Advise.vi's will in a single loop will not necessarily provide the timing that you expect. As a result of the asynchronous callback, which is specific to a particular Item, it is not possible for FP Advise.vi's to switch between different tags. For example, creating an array of FieldPoint Refnums, and placing a loop around the FP Advise.vi that indexes through the array will not work. However, the FP Read.vi which is a synchro
nous call, will work in this type of scenario. Please note that the FP Read.vi does not contain timing, so you do need to use a timer in the loop.

Regards,
Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 2 of 4
(3,446 Views)
How can i supply 8 fprefnums to one fp read and run all the fp-TC-120 modules simultaneously?
0 Kudos
Message 3 of 4
(3,446 Views)
If the 8 refnums are in an array, you can use a FOR loop with autoindexing enable on the refnums.

Aaron
LabVIEW Champion, CLA, CPI
0 Kudos
Message 4 of 4
(3,446 Views)