LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple CVI apps listening to same/different FP items

Presently have CVI app that monitors large numbers of FieldPoint analog input. When diagnostics are needed, I stop my 'normal' app and launch my 'diag' app. I'm looking for guidance of if this is truly necessary in my situation.

'Normal' app usage:
-multi-channel items defined in chunks of two in MAX (0,1 / 2,3 / 4,5 / 6,7) and given unique names
-each item has 0.25 sec update rate in MAX, with a small deadband too
-app listens only for changes after hooking FP_Advise for each channel item
-advise rate in app is 2.0 sec

'Diag' app usage:
-only one 2-channel item defined above is monitored
-advise rate in app is adjustable
-primarily for benchmarking, includes different graphs, etc.

--------------------
----------
Questions
1. Since the advise rates probably will differ between my two apps, must I continue to run them independently?
2. What happens to the reliability of the readings if I don't? Consider the scenario of starting 'normal' app first, then 'diag' app. What about the reverse?
3. What if 'normal' app listens to only certain multi-channel items while 'diag' app listens on single-channel item, or multi-channel items other than what the 'normal' app is using? What of performance and reliability?
0 Kudos
Message 1 of 2
(2,819 Views)
Cosmo,

You can run both of your applications at the same time and you shouldn't see any issues with regards to performance or reliability no matter which order you start them in or which items they are each listening to.

Ames
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,819 Views)