04-10-2014 07:55 AM
I have a developed a vi running on a PXI real time system with a motion controller PXI 7344.
The configuration of this controller is now done in MAX.
At this time I need a connection to the PC for downloading the RT-vi and running it.
I want to creat a stand-alone RT system where the configuration is loaded from the PXI controller.
Is there a way to load the .xml file with the motorsettings in the realtime system instead of using all these seperate configuration vi's ?
04-17-2014 02:26 AM
Hello Tom,
I am not completely sure about what you are exactly looking for.
Are you looking for a way create a stand-alone application to run on the RT PXI controller (not the motion controller)?
Or are you rather looking for an easy way to deploy a wanted configuration from the RT PXI to itself?
If the latter is the case:
- Do you have only one possible configuration or multiple,
Some more general questions:
- What are you currently using? (NI System Configuration API?)
- When should the loading of the configuration happen?
04-24-2014 04:58 AM
Hello Thierry,
Currently with our Labview 7.1 system we download the vi each time to the PXI controller.
In this vi, the Initialize Controller.flx is called to use the settings of NI-MAX to configure the motion controller.
I want to create a stand-alone application on the RT-PXI controller with this configuration.
I have one possible configuration.
I don't think the NI system configuration API already exists in the Labview 7.1.
Anyway, I want to upgrade this complete system to Labview 2013, see my other post.
Kind regards,
Tom
04-25-2014 08:51 AM
Hello Tom,
Have you yet been able to test this in LabVIEW 2013 by the use of a Real-Time (RT) Executable? (perhaps in combination with some "system configuration code/VIs" in or outside of the RT executable)
Normally you should be to use the Initialize Controller.flx vi from inside the RT executable.
Do you have a set-up that you can use for testing purposes?
If yes, what steps have you already done and are you running into specific issues?
04-29-2014 09:02 AM
Today, I compiled a RT executable and ran it on the PXI controller.
I only used the Initialize Controller.flx like I use to do with the old system.
It works but I don't really understand how the system knows which parameters must be used for the initialisation.
Are these fetched from the settings in Ni-MAX during compilation ?
04-29-2014 09:52 AM
Hello,
Good to hear that it works!
Is there any way that you can share the code that you are currently using at your side with me?
To be able to provide feedback about what is happening I would prefer to have a look at the code.