Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

New User in programming Real time needs help

Hector,

There is no way you can create your own wizard or generate LabVIEW code programmatically. You can use the RT Communication Wizard that is already given to you, but you cannot create one yourself.

If you explain in detail what exactly you are trying to do, I might be able to assist you further.

Kalin Taskov
Applications Engineer
National Instruments

Kalin T.
0 Kudos
Message 11 of 15
(1,899 Views)
Kalin,

Thanks for your attention!!!.
 
In relation to the question in the following lines I explain you with more details:

I need to develop a GUI (a wizard) in LabVIEW to generate LabVIEW code programatically based on some templates. When I saw the real time wizard I have taken the idea because it is very similar to which I need to do.

In order to clarify still more the idea the steps would have to be as follows:

1. Take some inputs from user. For example, In RT wizard, the first screen asks to the user the *.VI Kalin,

Thanks for your attention!!!.
 
In relation to the question in the following lines I explain you with more details:

I need to develop a GUI (a wizard) in LabVIEW that to generate LabVIEW code programatically based on some templates. When I saw the real time wizard I have taken the idea because it is very similar to which I need to do.

In order to clarify still more the idea the steps would have to be as follows:

1. Take some inputs from user. For example, In RT wizard, the first screen asks to the user the *.VI base (time critical vi user) to create TCL.vi (time critical priority loop) with its respectives modifications. Furthermore, asks the IP address and port communication.

2. In order to inputs of the users in the next screens, finally the wizard must generate some VIs based in the templates. For example, the third screen in RT wizard generates three VIs to the user. I need to create only one VI (no three) based in the templates.

My applications is not necessarily a copy of the RT wizard but it is based in the same idea.

I hope you understand me. My english level is not very good but it serves to question. ¡¡¡ I believe !!!.

Thank you very much,

rgds,

Héctor.-
0 Kudos
Message 12 of 15
(1,873 Views)
Excuse me!!!. I repeat the previous message. 

Kalin,

Thanks for your attention!!!.
 
In relation to the question in the following lines I explain you with more details:

I need to develop a GUI (a wizard) in LabVIEW to generate LabVIEW code programatically based on some templates. When I saw the real time wizard I have taken the idea because it is very similar to which I need to do.

In order to clarify still more the idea the steps would have to be as follows:

1. Take some inputs from user. For example, In RT wizard, the first screen asks to the user the *.VI base (time critical vi user) to create TCL.vi (time critical priority loop) with its respectives modifications. Furthermore, asks the IP address and port communication.

2. In order to inputs of the users in the next screens, finally the wizard must generate some VIs based in the templates. For example, the third screen in RT wizard generates three VIs to the user. I need to create only one VI (no three) based in the templates.

My applications is not necessarily a copy of the RT wizard but it is based in the same idea.

I hope you understand me. My english level is not very good but it serves to question. ¡¡¡ I believe !!!.

Thank you very much,

rgds,

Héctor.-
0 Kudos
Message 13 of 15
(1,872 Views)
Hector,
You may be able to use templates and vi server to do what you're looking for. I suggest you have one vi with a tab control. Each tab would represent a different stage in the wizard. The you could use vi server to transfer the user settings (such as vi name, port settings, ect). You CANNOT programmatically edit the block diagram in any way. But you can use a template and then customize that template with the settings your user specifies. To open a vi as a template specif option 4 (see the help for more information on open vi reference).
 
That will probably do what you're looking for.
 
Chris C
 
0 Kudos
Message 14 of 15
(1,786 Views)
Thank you,

I will try to do it with these programming techniques and I tell you as it goes.

rgds,

Héctor.-
0 Kudos
Message 15 of 15
(1,760 Views)