LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI: Continuous loops necessary?

Hi, everyone!
 
I'm currently trying to learn how to use labview RT and PXI-systems. Unfortunately I have noone here at the company to ask, so my questions are quite basic stuff. My VI's are not supposed to perform any control tasks, only sampling and analysis, so the Real-Time behaviour of RT is not necessary. My problems concern the cooperation between VI's deployed on the PXI-system and VI's on the host computer.
 
1) All examples I have studied use continuous loops, either timed loops or while-loops. Is this absolutely necessary? Can I deploy a VI to the pxi-system and then call it repeatedly just like any other sub-VI in labview or does the PXI system require at least one main VI that runs continuously and which may or may not call other sub VI's?
 
2) Does the main VI on the PXI-system always have to be started prior to starting the host VI? This seems rather awkward to me. Why can't you just start the host program and let labview take care of the rest..?
 
3) Why are shared variables unable to handle arrays larger than 1D? How do I transfer 2D arrays of sampled data to the host computer during program operation? I saw a suggestion on this site that involved using the "reshape array" VI twice (once at the target and once at the host), but don't tell me that someone hasn't considered this obvious problem before? Is it simply so that the PXI-systems are not supposed to be used for pure sampling purposes where you acquire large amounts of data continuously at a card located in the PXI and transfer it to the host computer consequtively? According to my estimates the TCP network connection should have more than enough bandwith to handle this.
 
Hope it is not too much at once. Will be thankful for any response.
 
regards,
 
Einar

Message Edited by einarsto on 04-20-2006 06:40 AM

0 Kudos
Message 1 of 1
(2,334 Views)