Jump to content

JKI Caraya on a real time target

Recommended Posts

Hello guys,

The interface of caraya generated by the test suite appears only if the test program is running on my computer.

if I run the test code in a PXI RT Target, the interface will not show up

Is there any solution to make it appears on my computer.

Thank you

Share this post

Link to post
Share on other sites

I'm not sure if it was ever really tested to run on RT but from what I found, it doesn't seem like the Test Event Global function ever returns True from the First Call? primitive so it never actually spawns the process in the first place (once you connect to the RT target it reserves the VI for execution so maybe this has something to do with it?).

I was interested in running this on RT as well so let me know if you get that part working. Once you get that part working I still think that you would need to change "VI Name.vi" to ignore any errors generated internally. In my case, the VI throws error 53 at the property node which results in the test never being registered although I think we would be safe to ignore the error as we are just getting the VI name from the call chain in that case. Just remember to not also clear any errors coming into the VI itself.

Share this post

Link to post
Share on other sites

Thank you for your answer.

I am working on that and I will try to find a solution.

I think a member from the JKI's staff would better help us with this issue.

Edited by KHALFAOUI Ridha

Share this post

Link to post
Share on other sites

The core process skips showing the UI when on RT.
You can modify this in the Basic Test Manager's process by removing the conditional disable structure.

However, you should probably make a request on the open source project (https://github.com/JKISoftware/Caraya) or fork the original repo. Modifying this in vi.lib will not make it persistent and is a bad idea...

It might be that the logic could be smarter in that if the RT target does not have a UI, it would skip it, but not assume that all RT targets don't allow UIs. There might also be the possibility to modify the test suite setup to inject your own override code, for which you could simply change the behavior of the basic test manager.


  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.