Hello,
I am using a cRIO-9012 with Chassis 9101(FPGA Interface programming-only) and a 9623 Voltage AO module as a beginner.
Also read-up some literature(very limited) on the controller.
Using Labview 2011, i am trying to create an RT VI to toggle b/w 0V and 5V on the 9623 (using a user-defined FXP variable). With this, i was hoping to find out the execution time of my RT VI.
There is no Host VI. RT VI is included directly under the cRIO Target in the project, while an FPGA VI is included under the FPGA target.
Currently, the RT VI contains nothing but a timed loop in which a case structure toggles a value b/w 0 and 5 as input to the user-defined variable.
In the FPGA VI, meanwhile, i coded a continuous while loop that pipes the user-defined variable to the AO1 of an FPGA I/O Node.
My questions are as follows:
a) At what speed does code execute on the RT VI? (Given that 400 MHz PowerPC is the cRIO processor)
b) If i configure the timed loop to take a 1MHz clock source and set the period to below 1 ms (count of 1000), RT VI simply breaks communication with my PC and doesnt appear to be executing at all (AO line doesnt toggle). I read somewhere that full-blown CPU usage could cause this. So IF it is possible to get control loop times on the RT VI < 1 ms, could somebody guide me on how tis is done?
Seeking insight..
Thanks & regards,
Ramesh
P.S. : Apologies for not posting any VIs. Labview is on a Stand-alone PC that cant be connected to LAN presently.