08-19-2010 10:53 AM
Dear Forum users,
trying to use NI-TCLK on a PXI-8186 (Chassis: 1000B) with PXI-5404 (NI-FGEN) and PXI-5124 (NI-SCOPE) I encounter the following error:
Error Code -250027: NI-TCLK does not support the specified session
I created a small example that reproduces the error on my system. I would be delighted if anybody could help me. As attachment I added the VI as well as an image of the block diagramm. Thank you very much in advance!
Kind Regards
Alexander
08-20-2010 09:53 AM
Hi Alexander,
I hat a look at your VI and could not find any obvious problems. To be able to have a closer look at your problem I have to know a few further things:
Exactly at which VI does the error occur (use Highlight function to observe this)?
Which Versions of NI-SCOPE and NI-FGEN do you use?
Which Version of LabVIEW do you use?
Are both modules located (5404 and 5124) in one single chassis?
Did you already try some examples regarding synchronisation with NI-TClk on the NI Homepage?
Regards
Regina Walch
Applications Engineer
National Instruments
08-20-2010 10:26 AM
Hi Regina,
thank you very much for your reply. Here are some additional informations:
1. The error occurs at the "Configure for Homogeneous Trigger", or at the "Synchronize VI" if the first one is removed
2. NI-SCOPE Version: 3.4, NI-FGEN Version: 2.5, LabVIEW Version: 8.5
3. Both modules are located in the some chassis: 5404 was tested in slot 2 and 3, 5124 in slot 3 and 5
4. The example, I provided, is a short version of a NI-TClk example. I had to make my own example, in order to use the 5404. Most of the other examples make use of an AWG.
I hope this helps to solve the problem. Enjoy your weekend
Kind regards
Alexander
08-26-2010 02:22 AM
Hi Alexander,
Thank you for your additional Information.
To be able to localize the Problem, would you please use an example i found in the LabVIEW Help. This example synchronises NI-SCOPE with NI-TClk. If this example is running with your hardware then we know that NI-SCOPE in combination with NI-TClk can work. Please let me know the results.
Regards
Regina Walch
Applications Engineer
National Instruments
08-26-2010 08:18 AM
Hi Regina,
what I did not mention so far: I need to combile the VIs, since on the PXI system only the runtime of LabVIEW is installed. Anyway, the example (configured with just one PXI-5124) works so far. In the meantime I installed Labview 2009 (Third Quarter Edition), with the corresponding device drivers on the programming computer (not the PXI system). Unfortunately, the example I provided (recompiled in LabVIEW 2009) still does not work properly. The error seems to be with NI-FGEN: The session return in the error warning corresponds to the NI-FGEN device (PXI-5404) and your example with the NI-SCOPE works.
Kind Regards
Alexander
08-27-2010 09:34 AM
Hi Alexander,
Thank you for your additional information.
To be able to use the functionality of TClk, the device must be based on Synchronisation and Memory Core (SMC).
I am really sorry to have to tell you that the FGEN 5404 is not based on SMC, which means that it can't use TClk.
One workaround could be that you use the same reference clock and start trigger for both devices. but I am not sure if this will really does what you want.
Regards
Regina Walch
Application Engineer
National Instruments
09-01-2010 01:37 AM
Hi Alexander,
A colleague and I have programmed an example, how to synchronize the function generator and the scope card with an event structure.
I used 5404 and 5114 for my tests because the 5124 is not available for me.
The example I will send to you works fine with my system. Probably you can use the example and try it with your own hardware configuration.
I attached the example in LabVIEW version 2010. If you need it in version 2009 please let me know.
Regards
Regina Walch
Application Engineer
National Instruments
09-01-2010 02:12 AM
Hello Regina,
thank you for the information on the 5404. Actually, I did not check if the device supports SMC. I conlcuded from an example that it supports TCLK (http://zone.ni.com/devzone/cda/epd/p/id/5382#0requirements), since it was listet as supported hardware.
I have already changed my setup in such a way that the 5404 triggers the 5124, which also works. But I would really like to see your example, could you please upload the VI for LabVIEW 2009?
Kind regards
Alexander
09-02-2010 01:12 AM
Hi Alexander,
I am happy to hear that you have solved the problems and that you are able to work with the hardware.
Attached you can find the example for LabVIEW 2009.
Regards
Regina Walch
Application Engineer
National Instruments