LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use picture control as multilayers for animation?

Hello All

 

I need your support for using the 2D picture control as multilayer for animation application as I'm working to make stand alone scada SW using LV?

 

Best Regards

Hani

0 Kudos
Message 1 of 13
(3,099 Views)

OK, what do you need help with -- specifically.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 13
(3,096 Views)

Hi Mike

 

What I want is to create new objects using the multilayer picture control so I can use it later at runtime to create animated object like what in the SCADA softwares.

 

Becuase I'm working to develope my own SCADA software where it can be connected with any OPC sw and generate animation screens.

 

Hope it's clear to you now

 

BR,

Hani

0 Kudos
Message 3 of 13
(3,080 Views)
So it will be fairly simple animations like valves opening and closing, and the like? What part of the process is causing you trouble? Have you played with the drawing VI's any?

A key to developing this successfully is going to be good modularization. With a good design you will be able to developed a suite routines for drawing different objects that allows you to implementing layouts at a very high level.

How long have you been using LV? This would be a natural for an object-oriented approach.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 13
(3,070 Views)

Few weeks using labview, and I didn't work on object oriented before.

 

BR,

Hani

0 Kudos
Message 5 of 13
(3,053 Views)

OK, so the first thing to do is learn about LV. NI offers free training online that will teach you some important concepts and how to operate the LV programming environment.

Near, have you ever programmed in another language like C, C++, Java, etc? If not, that is actually a good thing. You will have less to unlearn.

In terms of your actual code development, the process will be to first develop VIs that allow you to draw individual objects (valves, pipes, coolers, tanks, etc) in the picture. The inputs to these VIs will include parameters that will define the size and appearance of the objects, and where you want them to appear in the picture.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 13
(3,008 Views)

Obligitory free training links.  Good luck and feel free to post what you've come up with so far.

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

0 Kudos
Message 7 of 13
(2,999 Views)

Thanks for posting this information! I was on my phone and couldn't find where you had posted this before.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 8 of 13
(2,988 Views)

@mikeporter wrote:

Thanks for posting this information! I was on my phone and couldn't find where you had posted this before.

 

Mike...


I keep a link in my browser that has all of them.  But to be honest it feels sorta like a cop-out when I post them so I try not to unless someone else mentions training.  

 

It's like me saying "hey I don't know how to do this", and you saying "well go learn it".  It's not useless, but providing help on the subject matter would probably be more useful.

0 Kudos
Message 9 of 13
(2,981 Views)

HI Mike

 

Sorry if my response is late as I was trying to collect some information about OOP.

 

Did you mean by VIs that allow to draw individual objects (valves, pipes, coolers, tanks, etc) in the picture are SubVI's? but what I know that only dialoge VI's that can have a callable front VI and SubVI hasn't and programmer should generate it's in / out controles during coding time. the same thing with OOP is used only for coding purposes without front VI, am I right for this?.

 

BR,

Hani

0 Kudos
Message 10 of 13
(2,948 Views)