LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Low performance by using Tclk

Hi
 
to synchronize 4 Scope Cards PXI-5124 on a 18 slot PXI chassis I use the NI-Tclk functions. All the necessary options are set correctly (like MXI Chassis identivifation, MXI Trigger reservation ...). Even the functionally behaviour is how I expected.
The only point is, that I want to do different tests in a sequence by using different scope settings like diffrent triggers, sampling rates, sampling times ... so i need to call the Tclk functions evry time. However, calling the Tclk on my system needs 8 seconds (niTClk Synchronize.vi). This is definitely too much. Is there a solution to reduce this execution time for Tclk functions or is there a simple solution configuring 4 cards manually. I need a high flexibility (my actual code supports every kind of trigger on every card - like RTSI, external, software, analog edge).
 
I have read the help file and there is written that the Tclk function needs some time in the application execution because it measures the time between the Synch Pulse Clock and Tclk.
 
thank you very much for answering
sparti
0 Kudos
Message 1 of 3
(2,705 Views)
Sparty,

since you are using an 18slot-chassis, do you synchronize devices which are part of the same segment or from different ones (segments are noted on the front of the cahssis via lines between the slotnumbers).
Which controller do you use?

regards,
Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 3
(2,675 Views)

Norbert,

all the involved cards are part of the same segment. we use a desktop pc and a MXI-4 connection (optical) to the chassis.

I realized a solution (suggested in the examples) which doesn't make me happy but it works quickly and is just good enough for our actual usage: i just call the function on changing parameters (like trigger type and sampling rate). the disadvantage is, that each test should have the same setup.

I think the Tclk doesn't work faster. even the Tclk help file says that the performance is low. I also asked the ni phone support, but with no success.

on the other hand, Tclk functions are easy to use and make the code more readable. the synchronization between the cards is really exactly.

regards

0 Kudos
Message 3 of 3
(2,661 Views)