LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

picture origin

HELLO EVERY BODY, PLEASE I NEED SOME HELP, SORRY FOR MY BAD ENGLISH BUT IS NOT MY NATIVE LENGUAGE.
¿ IS POSSIBLE CHANGE THE ORIGIN 0,0 OF PICTURE INDICATOR AT CENTER, LIKE CARTESIAN COORDINATE SYSTEM, INSTEAD OF 0,0 TOP LEFT CORNER?
 
SECOND: I USE PROPERTY ORIGIN TO STAR DRAW AT CENTER OF MY PICTURE INDICATOR WITH DRAW AREA SIZE OF 1100 BY 800 BUT DONT WORK TO ME, I SOLVE FOR A MOMENT ENTERING FIRST DATA 550 IN X AND 400 IN Y, ALSO IS POSSIBLE TO AUTOSIZE PICTURE INDICATOR?
 
I ATACH VI FOR BETTER UNDESTAND.
 
I WILL APRECIATE ANY HELP.
Message 1 of 11
(7,126 Views)
First, let me say that your VI is the cleverest application of Labview I've ever seen!  It never ceases to amaze me what you can do with Labview.  Congratulations!
 
I think the easiest solution is to simply take your Drawing Window size values, divide them by two, and simply add those values to your X and Y input data.  An alternative might be to use a variation of the polar plot,  but that might take a bit of work.
 
Good luck!
 
eric
0 Kudos
Message 2 of 11
(7,092 Views)
I agree with eric, that is one cool VI.  I never thought someone would control a sewing machine with labview!!  Please tell me you have a VI to input the numbers into the array.
Chris Co
0 Kudos
Message 3 of 11
(7,079 Views)

Converting between coordinate systems can also be accomplished using a simple translation transformation matrix, this is essentially the same as moving each point over by half hieght and half width, but getting use to transformation matricies will teach you to also handle scaling, rotating and skewing your coordiante space as well.  This might come in handy in your application.

 

Paul F.

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 11
(7,058 Views)

Thanks All for the help,and yes chris Co. I have VI for Read Embroidery Designs in to Arrays and to Output Trough Parallel Port to Control X,Y and Z Drive Axes in Machine.

I was Using X/Y Graph in The Fisrt Version and Works Great Without Dealing With Origin and Reverse Picture, But With This I Need One Array for Data and One for Color for

Each Plot and if Design Has 10 Diff. Colors I will Have 20 Arrays, if Design is Small is Ok. But if has Like 20,000 Stitches The vi Generate 20 Arrays with 60,000 Elements Each, Because one Stitch equal 3 Bytes.

When that Happend Labview Slow Down ALL.

For This Reazon I Intended Replace X/Y Graph For Picture Indicator. 

P.D. Again Sorry for my English.

0 Kudos
Message 5 of 11
(7,049 Views)

Sorry I Forget to Atach Lite Version of VI´S With X/Y Graph, If Someone Know How Change Diff. Plot Color at any time without Change the color of data already in Graph in same plot.

 

0 Kudos
Message 6 of 11
(7,046 Views)
Sorry I Forget Again.... I M tired from Work....jejejeje.
Message 7 of 11
(7,044 Views)

Hey Cyber, the VI is really cool. The output is totally amazing...

continue posting such good work.

Thanks,

Yogesh

0 Kudos
Message 8 of 11
(5,159 Views)

I would like to join others in appreciating your hard work!

 

I am amazed at your work and would just say it is fabulous! Congratulations!

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 9 of 11
(5,156 Views)

@cyber wrote:
Sorry I Forget Again.... I M tired from Work....jejejeje.

I understand that this is a very old thread, but just hoping to get help...

 

cyber, can you please post the missing SubVI Initialize Display.vi? And, above all, awesome work! 🙂

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 10 of 11
(4,829 Views)