LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a control VI

Hi Guys

I was wondering if anybody can help me. I am trying to create a VI with four separate front panels. What I would like to do is develope a VI to controll three sepearate motors. Basically I would like to have a main menu highlighting the various motors. When pressed this will open the relevant front panel for the corresponding motor which will have three core operations, forward, reverse and stop with speed setting. These commands are text strings which will be sent serially to the motor controller when an execution button is depressed. Futher to this development will be reading serailly from various feedback sensors. I have included a rough sketch on how the controll panel will more or less should look like, however the easiest solution w
ould be welcomed. I have already gained communication via the serail link thus I know my motor controller is working, as well as developing a simple via to concenate the text string with the speed setting. Any assistance would be greatly appreciated.

Kind Regards

Stephen Craig
0 Kudos
Message 1 of 4
(2,790 Views)
Hi Craig,
First of all what do you want us to help you in ,do you want the front panel to be developed or do you want the application to be developed or what excatly do you want help in.
i have attached some front panel for you plz have a look at it and tell me abt it
best regards
vicky
Download All
0 Kudos
Message 2 of 4
(2,789 Views)
Hi there Vicky.

Thank you for your response.Basically at the moment I am trying to get into labview, as I would like this software to be the platform for automation controll. However, what I am doing now is starting out simple by builing up some controll application VI to control 12V DC motors. Basically I have build a motor controll circuit. From labview I need to send ASCII code to the circuit via the serial port to implement various commands such as forward, reverse, stop with speed control which is concenated to the string which is sent to the control circuit. I have used the I/O assistant to check if the communication between labview and the device is setup(which it is). I have also used the basic serial read write VI in the example section,wh
ich works. Now I would like to develope a front panel which controls the three motors. I have included a quick sketch , as I forgot last time for you to see what I mean. If I can develop this app I can move onto a more complicated controll design I hope.

Thanks

Stephen Craig
0 Kudos
Message 3 of 4
(2,789 Views)
Hello Stephen,

why do you want to use 4 different panels, if you only need one? All 3 motors use the same panel layout, so you only need to put one selector on top of the panel to switch between the motors...
If you really need the main panel to select the motor, then you can put the motor control into a subVi...

Best regards
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,789 Views)