Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

loading MAX configuration onto PXI 73xx

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 ?

 

-----------------------------------------------------------------------------
Tom Versluys - Dept. of Civil Engineering, Gent University
Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:Tom.Versluys@UGent.be
-----------------------------------------------------------------------------
0 Kudos
Message 1 of 6
(5,386 Views)

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?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 6
(5,349 Views)

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

-----------------------------------------------------------------------------
Tom Versluys - Dept. of Civil Engineering, Gent University
Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:Tom.Versluys@UGent.be
-----------------------------------------------------------------------------
0 Kudos
Message 3 of 6
(5,301 Views)

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?

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 6
(5,288 Views)

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 ?

 

-----------------------------------------------------------------------------
Tom Versluys - Dept. of Civil Engineering, Gent University
Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:Tom.Versluys@UGent.be
-----------------------------------------------------------------------------
0 Kudos
Message 5 of 6
(5,261 Views)

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.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
Message 6 of 6
(5,258 Views)