Help KING building on Central line

HI -.

I have a bit of a problem using the IMAQ ROIProfile VI.

I am currently working on a project where I need to extract the profile to the centerline of an image. I was able to do that when I set the profile of the KING to control BUT I want to do it programmatically. I already have the coordinates of the line that I just need to figure out how to unbundle the KING descriptor to manipulate the entire table of coordinates

Any suggestions?

Something like that:

Alternatively, you can use IMAQ convert line to KING - his will probably be easier for you.

Andrey.

Tags: NI Hardware

Similar Questions

  • Need help to build the query to group the lines

    Hello all, hope someone can help me with this. I am working in Oracle 11 g PL/SQL 11.2.0.2.0.

    I have the following query, which does exactly what I need, but I have been invited to consolidate the results in a specific way and I can't do that. First of all the existing request:
    SELECT facility_id
    ,facility_type
    ,COUNT (CASE WHEN component_type = 'ATTACH2NDPARTY' THEN 1 END) AS ATTACH2NDPARTY
    ,COUNT (CASE WHEN component_type = 'ATTACH3RDPARTY' THEN 1 END) AS ATTACH3RDPARTY
    ,COUNT (CASE WHEN component_type = 'BREAKERGT' THEN 1 END) AS BREAKERGT
    ,COUNT (CASE WHEN component_type = 'BREAKERUSS' THEN 1 END) AS BREAKERUSS
    ,COUNT (CASE WHEN component_type = 'CAPACIFORMER' THEN 1 END) AS CAPACIFORMER
    ,COUNT (CASE WHEN component_type = 'CAPACITOR' THEN 1 END) AS CAPACITOR
    ,COUNT (CASE WHEN component_type = 'CEFIBEROPTIC' THEN 1 END) AS CEFIBEROPTIC
    ,COUNT (CASE WHEN component_type = 'ELASTIDISCONN' THEN 1 END) AS ELASTIDISCONN
    ,COUNT (CASE WHEN component_type = 'NETWORKPROTECT' THEN 1 END) AS NETWORKPROTECT
    ,COUNT (CASE WHEN component_type = 'POLE' THEN 1 END) AS POLE
    ,COUNT (CASE WHEN component_type = 'REACTOR' THEN 1 END) AS REACTOR
    ,COUNT (CASE WHEN component_type = 'RECLOSER3PUPOIL' THEN 1 END) AS RECLOSER3PUPOIL
    ,COUNT (CASE WHEN component_type = 'RECLOSERTSUP' THEN 1 END) AS RECLOSERTSUP
    ,COUNT (CASE WHEN component_type = 'RECLSR3PCNTRL3A' THEN 1 END) AS RECLSR3PCNTRL3A
    ,COUNT (CASE WHEN component_type = 'RECLSR3PCNTRLNT' THEN 1 END) AS RECLSR3PCNTRLNT
    ,COUNT (CASE WHEN component_type = 'RECLSRTSCNTRL' THEN 1 END) AS RECLSRTSCNTRL
    ,COUNT (CASE WHEN component_type = 'RECTIFIERUSS' THEN 1 END) AS RECTIFIERUSS
    ,COUNT (CASE WHEN component_type = 'REGULATORJOINT' THEN 1 END) AS REGULATORJOINT
    ,COUNT (CASE WHEN component_type = 'REGULATOROH' THEN 1 END) AS REGULATOROH
    ,COUNT (CASE WHEN component_type = 'REGULATORUSS' THEN 1 END) AS REGULATORUSS
    ,COUNT (CASE WHEN component_type = 'RMS' THEN 1 END) AS RMS
    ,COUNT (CASE WHEN component_type = 'SPLICEPRIMARY' THEN 1 END) AS SPLICEPRIMARY
    ,COUNT (CASE WHEN component_type = 'STREETLIGHT' THEN 1 END) AS STREETLIGHT
    ,COUNT (CASE WHEN component_type = 'SWITCHSCADA' THEN 1 END) AS SWITCHSCADA
    ,COUNT (CASE WHEN component_type = 'TAPCHANGER' THEN 1 END) AS TAPCHANGER
    ,COUNT (CASE WHEN component_type = 'TRAFFICSIGNAL' THEN 1 END) AS TRAFFICSIGNAL
    ,COUNT (CASE WHEN component_type = 'TRANSF480' THEN 1 END) AS TRANSF480
    ,COUNT (CASE WHEN component_type = 'TRANSFGROUND' THEN 1 END) AS TRANSFGROUND
    ,COUNT (CASE WHEN component_type = 'TRANSFISOLATION' THEN 1 END) AS TRANSFISOLATION
    ,COUNT (CASE WHEN component_type = 'TRANSFOH' THEN 1 END) AS TRANSFOH
    ,COUNT (CASE WHEN component_type = 'TRANSFUG' THEN 1 END) AS TRANSFUG
    ,COUNT (CASE WHEN component_type = 'TRANSFURD' THEN 1 END) AS TRANSFURD
    ,COUNT (CASE WHEN component_type = 'TRANSFUSS' THEN 1 END) AS TRANSFUSS
    FROM (SELECT fy.id AS facility_id
          ,fy.external_facility_id
          ,fy.flty_facility_type as facility_type
          ,cp.cpty_component_type as component_type
          FROM facilities fy
          LEFT OUTER JOIN components cp
          ON cp.facility_id= fy.id
          ORDER BY fy.id DESC)
    GROUP BY facility_id, facility_type
    I was asked to do, is to display a number of facility_type who have each of the combinations of the 'DEAL' 33 areas. Installation types are strings. So an expected result would look something like:

    FACILITY_TYPE | ATTACH2NDPARTY | ATTACH3RDPARTY | BREAKERGT | ... TRANSFUSS | COUNTY
    MANHOLE X X 10
    MANHOLE X X 22
    POLE X X 5

    and so on. Because there are 33 BUSINESS areas and therefore 33! possible combinations, I was thinking about a sort of loop would achieve the desired result, but I'm stuck and could really use a shot in the arm. Any help will be appreciated and obtained points! Thanks in advance.
    select
     facility_type
    ,ATTACH2NDPARTY
    ,ATTACH3NDPARTY
    -- and so on
    , count(*) cnt
    from (
    --your query
    SELECT facility_id
    ,facility_type
    ,COUNT (CASE WHEN component_type = 'ATTACH2NDPARTY' THEN 1 END) AS ATTACH2NDPARTY
    ,COUNT (CASE WHEN component_type = 'ATTACH3RDPARTY' THEN 1 END) AS ATTACH3RDPARTY
    ,COUNT (CASE WHEN component_type = 'BREAKERGT' THEN 1 END) AS BREAKERGT
    ...
    )
    group by
     facility_type
    ,ATTACH2NDPARTY
    ,ATTACH3NDPARTY
    -- and so on like in projection
    
  • Need help to build the query/pl-sql block to get the query result and the name of column from DB table in the form of key-value pairs.

    Hi Experts,

    I have a DB table has columns of more than 50.

    I question this table, it should only return one line at any time. as sqldeveloper below image.

    here, I need to build block pl/sql-query, Discover the column in the table as a key and query result as values.

    Eg:     Key                         -  Value

    TASK_EVENT_ID - 1765

    EVENT_TYPE - ASR_UPDATE

    ... etc until all of the columns in my table.

    Experts please comment on that point, appreciate your help on this.

    Thank you

    -Vincent.

    Here is an approach using DBMS_SQL to iterate over the columns of key / value to assign... (Little code snipped for brevity)

    create or replace procedure (task_expired)

    v_store_id in full,

    v_task_action_id in full,

    v_job_id in full

    )

    as

    -[SNIP code...]

    v_sql VARCHAR2 (4000): = ' select * from my_table where PK = 123';  -Your SQL here!

    v_v_val VARCHAR2 (4000);

    v_n_val NUMBER;

    v_d_val DATE;

    v_ret NUMBER;

    c NUMBER;

    d NUMBER;

    col_cnt INTEGER.

    f BOOLEAN;

    rec_tab DBMS_SQL. DESC_TAB;

    col_num NUMBER;

    vAsString VARCHAR2 (4000);

    BEGIN

    -[SNIP code...]

    Message_properties. CORRELATION: = "EDF_EVENT";

    MSG: = SYS. AQ$ _JMS_BYTES_MESSAGE. Construct();

    Msg.set_string_property ('queueName', ' shipping/csi_cth');

    Msg.set_string_property ('MODE', 'CR8');

    c: = DBMS_SQL. OPEN_CURSOR;

    DBMS_SQL. PARSE (c, v_sql, DBMS_SQL. NATIVE);

    d: = DBMS_SQL. Execute (c);

    DBMS_SQL. DESCRIBE_COLUMNS (c, col_cnt, rec_tab);

    1.col_cnt J

    LOOP

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_n_val);      -Number

    WHEN 12 CAN

    DBMS_SQL. DEFINE_COLUMN (c, j, v_d_val);      -Date

    ON THE OTHER

    DBMS_SQL. DEFINE_COLUMN (c, j, v_v_val, 2000);   -Else treat as varchar2

    END CASE;

    END LOOP;

    LOOP

    v_ret: = DBMS_SQL. FETCH_ROWS (c);

    WHEN OUTPUT v_ret = 0;

    1.col_cnt J

    LOOP

    -Fetch each column to the correct data type based on coltype

    CASE rec_tab (j) .col_type

    WHEN 2 THEN

    DBMS_SQL. COLUMN_VALUE (c, j, v_n_val);

    vAsString: = to_char (v_n_val);

    WHEN 12 CAN

    DBMS_SQL. COLUMN_VALUE (c, j, v_d_val);

    vAsString: = to_char (v_d_val, ' DD/MM/YYYY HH24:MI:SS');

    ON THE OTHER

    DBMS_SQL. COLUMN_VALUE (c, j, v_v_val);

    vAsString: = v_v_val;

    END CASE;

    Msg.set_string_property (rec_tab (j) .col_name, vAsString);

    END LOOP;

    END LOOP;

    DBMS_SQL. CLOSE_CURSOR (c);

    DBMS_AQ. ENQUEUE (queue_name-online 'cbus.aqjms_common',

    Enqueue_options => Enqueue_options,

    Message_properties => Message_properties,

    Payload-online msg,

    Msgid => Message_handle);

    dbms_output.put_line ('00 Msgid =' |) Message_handle);

    dbms_output.put_line('===Done=');

    -[SNIP code...]

    END;

    /

  • Help for building stand-alone application

    Hello

    Sorry for my English!

    I have to build a .exe from my main VI: the main vi contains some dynamic vi that I need to insert them into a school of my main vi for this I use a parent pah "path.vi of the Application Directory" to create references and when I run my

    application all work very well in machine mouthwash. But when I try to compile this application to create a .exe this exe does not 100% in my target machine. So I do not know that the problem is due to the creation of application normally settings the

    dynamic VI should be in the same directory of application.exe I think I introduced manually but I can't do all this help please!

    In the project window, move the VI out of dependencies and set up in the project.  When you open the App generator, VI should then appear in the list of project files (just like the other 2 files).  Then, you can use the arrow to move to the list always included.

  • Help me build a stepper motor control in LV?

    I need control a single linear axis slide that is driven by a motor nema 34. It will be very simple move, start, move at a constant speed, stop, return. I do not have the engine.  I can use a controller and a software company that sells me the slide, but prefer to use Labview.

    I currently have a PXI chassis with a 6713 or 6704 available, or a '2 M Gate FPGA and cRIO-9073' with a NI 9401 I'll take delivery of every day now. I don't know much about the system in real time, but I have to learn it soon in any case.

    Can I use my existing hardware/software to create a stepper motor control, or at least can I use Labview to interface with a motor drive step by step if this is not possible. I am currently looking at a 34T 1 Vexta engine, but do not know much about the stepper motors and do not really want.

    Edit: Should have mention that I LV 8.6, with no motion software.

    Engines step by step to have two power circuits creating magnetic fields perpendicular to each other inside the engine (in mathematics a certain sense anyway) you can consider working like pistons on a crankshaft which are out of step 90 degrees. You can use LV to manipulate these two. Want to make their vector sum in different directions while moving. Imagine making a point on a chart around the origin orbit. You need to consider things like the speed at which you can start the dot in orbit. Engines step by step can't go very fast if you add the requirement that the application start and stop without having to build your own ramp.

    But it would be a big enough work for all, but more simple movements. You will need to learn less about stepper motors if you buy a motor controller that supports ASCII strings on a line of serial port as its instructions. I did recently with good results. LV must compose strings and write to the serial port of the PC. Having the engine go to a post 2205 units requires composing a string like this:

    d 2205

    go

    It works fine without another component or software purchases.

    I did something a little more complicated and wish now I had started with a decision to use the material in motion control of OR, or at least look at more the issue. When things are more complicated, using a serial port as the bridge between the PC and whatever the microcontroller is located in the drive motor starts to introduce limits you can schedule around with a lot more trouble.

    You have many options depending on your purpose what is and how much trouble, you have to take.

  • Need help with building. EXE for stand-alone applications configured to NOR-DAQ

    Is it possible to create files .exe to the evaluation of Labview with App Builder trial version software? Will be LV8.6 of purchase with App Builder but tried to write a simple code to build as an executable file. The VI does not run on a PC w/o LV installed... How can it be solved during the creation of a project to build, even after the creation of Windows Installer, etc...

    SNET wrote: did you export your hardware configuration in MAX and include this file?

    HOW CAN I DO THIS... Can you give us some instructions step by step please? This could be the problem as to why it does not work as an .exe on a 'Virgin' Labview PC file.

    This is explained in the Help of MAX. You can also read this: export and import of files in Measurement & Automation Explorer. Note that you can also do it in LabVIEW: import and export a Configuration MAX through LabVIEW.

  • Help, accidentally clicked 'Go Off Line.

    I have and you use Outlook Express for my email, I pay for email by a local provider. It was not working right, but today, I accidentally instead of click on send and receive, I timed it where it says go offline. I do NOT know, how to make Outlook Express, go back online now. I clicked on where it says now 'Go on line' but which does nothing, I can no longer send or receive e-mails.
    Can someone tell me how to do so that he can tell to go offline, like when he says that I can send and receive emails.
    Staples $50.00 just wants to solve this problem and I know it's a minor miracle solution.

    Thanks for any help
    Cindy

    E-mail address is removed from the privacy *.

    Hi Cindy

    Try this.

    http://www.ehow.com/how_6757077_outlook-online.html

    Good luck.

  • I need help with a question command line syntax

    I got 3 issues that need to be entered in command line / syntax.
    I had no training in command line and need help for that setting in the command line syntax.
    (The IP address is a fact).
    This will be done also on a PC that requires elevated permissions. So if a programmer can zip through it in no time it would be much appreciated. Perhaps one without high and an example with.

    1 setting up daily ping test to a server with the IP 10.254.254.1 which will be composed of 1 000 ICMP echoes.
    2. establish daily ping tests to a server with the same IP address which will consist of one hundred 1 500 bytes ICMP packets.
    3 configure these run every day and are output to a text file.

    Hi Matt,

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums.

    Please post your question in the Windows 7 IT Pro: http://social.technet.microsoft.com/Forums/en/category/w7itpro/

    Thank you.

  • Need help to build the SQL query

    Hi all

    I struggle to create the select statement.

    This is my expected outcome:

    Insert into tmp (aa, bb, cc, dd)

    values('CUST1','10100001',2,'10-Jan-2013');

    Insert into tmp (aa, bb, cc, dd)

    values('CUST1','10100002',4,'11-Jan-2013');

    Insert into tmp (aa, bb, cc, dd)

    values('CUST2','10200001',2,'19-Jan-2013');

    Insert into tmp (aa, bb, cc, dd)

    values('CUST2','10200002',6,'28-Jan-2013');

    Insert into tmp (aa, bb, cc, dd)

    values('CUST2','10200003',1,'28-Mar-2013');

    My result is:

    AA COUNT (1) MAX (DD) by cc dd AA AA

    CUST1 2 10100002 4 11 January 2013

    CUST2 3 10200003 1 28 MARCH 2013

    Can someone help with the select statement?

    Thank you and best regards,

    Iwan

    Just change it to the column:

    SELECT

    AA

    COUNT (aa)

    , MAX (bb) keep (last dense_rank command by JJ)

    , MAX (cc) keep (last dense_rank command by JJ)

    MAX (dd)

    OF THE TMP

    GROUP BY aa

    ORDER BY aa

    Note that by default sort order is ascending with the last NULL values.

    If in case your line-date-max will contain null value in the bb or cc columns those will be returned.

    Post edited by: Correction of chris227

    Post edited by: chris227 added note

  • Help: CF Builder does not accept my previous serial number

    I have a serial number for CF Builder 3, which is an upgrade version.  My computer is completely dead, so I bought a new computer and installed 3 CFB.  I enter my serial number CFB 3 and for my previous serial number, I have entered my serial number CFB2.  Both come from my account here on adobe.com page.  The OK button is not enabled when I get my previous serial number.  I copy and paste my account page and I confirmed that I don't have any extra spaces in the serial numbers.

    I remember that I had a problem with the CFB 3 last year, and I had to get a new serial number.  This is perhaps why it does not work.

    I started a support Chat, but I was told that they do not support the BFC by CAT.   Are there any other options other than payment for a support call?

    Thank you
    Kathryn

    Hi Kathryn,

    We have sent you the license key. Please check the same thing and close this debate.

    Happy to help

    Kind regards

    Anit Kumar

  • Help! building a new site or displacement of the new blog of WP in British Colombia

    OK instead of pick up pieces here and there I'm just going to ask here and I hope that someone can help you.

    I use Muse to create website and I have a customer who wants me for the redesign of a site of information that already exist.

    I don't use WordPress or design for this that I'm not informed with coding, CSS and WordPress design all.

    Muse as we know all work with BC and I think BC has now a CMS/blog module.

    I tried to find a tutorial on how to build a website of muse, then integrate the module blog on this site. I can't find quite a.

    My question is this

    How can I create a new website (such as The New Yorker) with muse and BC?

    all had link to tutorial (I mean a tutorial that show the process all) video will be great!

    Also is it possible to move the content of WP in British Colombia?

    Hello

    Take a look these tutorials

    Adding a catalyst to your site Web Adobe Muse Business Blog

    Video of the month: features added Business Catalyst to your Muse sites

    Let me know if you have any question.

  • Need help to build the BasicDialog plugin sample

    Hello world

    I'm new to the Adobe ID SDK plugin development. I tried to build the sample BasicDialog but ended with the following error, could you please help me to generate the plug-in.

    Error108("' error MSB3073: the command 'merge_res.cmd'... \objd\BasicDialog\ ' BscDlg & echo removing old resources... & del/f/s ' C:\id7sdk\build\win\objd\BasicDialog\(BasicDialog Resources) \"*.idrc >... \objd\BasicDialog\prevDeletedResources.txt & xcopy/q/e '... \objd\BasicDialog\"*.idrc ' C:\id7sdk\build\win\objd\BasicDialog\(BasicDialog Resources)------" / y & del/f/s ' C:\id7sdk\build\win\objd\BasicDialog\(BasicDialog Resources) \"*.idrc & xcopy/e '... \objd\BasicDialog\\"*.idrc ' C:\id7sdk\build\win\objd\BasicDialog\(BasicDialog Resources)------"/ y»»»
    ': VCEnd ' came out with code 4.C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets1086BasicDialog

    I use vs2010 and let me know if you need any additional details to me.

    Thank you

    Momentum

    Hi momentum,

    If you use the SDK to InDesign CS5, CS5.5, you use vs2008 and if you use the SDK for InDesign CS6 you must use vs2010.

    Markus

  • Need help to build my first WebService

    Hi guys,.

    I'm developing my first web service using eclipse. The web service is very simple, that it is just a list that will be called by a pod of JMS. For user interaction I use JSF when the user enters a JMS bean option should call the web service and get the result with respect to the option entered by the user. I am very new to web services and their creation with eclipse and I don't have any idea what to call it with a WAD of a customer. I did a lot of research but did not get a clear explanation how integrate EJB web services.

    I will be grateful if you can support me with some useful links on this issue and where to download the EJB container.

    Greetings from King,

    deployment of a queue is not in the jboss.xml; you create a separate service for it. For example, you can add a file "myapp-destinations - service.xml' in the deployment directory and add the following content:"

    
    
    
        
          jboss.messaging:service=ServerPeer
        
        jboss.messaging:service=PostOffice
      
    
    

    It will deploy a queue 'MyJmsQueue '. In this configuration example replace "myapp" and "MyJmsQueue" with any name you want.

    Who helps you, or was your problem elsewhere?

  • Help! Build the jar (J2ME)

    Hi all
    I want to build jar (J2ME) file with encrypt the jar file.
    example: all file in the jar file will be to become a, b, c package. I see in some App when I extracted the jar file, some classes are "a, b, c".
    I think so. There is a software for it.
    HOW TO DO THIS?
    Pls help me!
    Thank you very much.

    If you use the wireless Toolbox, try the following:

    project > package > create package obfuscated

  • Help with string.split() for line breaks and spaces

    What I'm trying to do is to take a series of numbers and convert it to a table, while cutting the numbers, aren't. Here's the format:

    1.0000000E + 000 + 000 1.3668423e

    1.0000000E + 000 + 000 1.3668423e

    1.0000000E + 000 + 000 1.3668423e

    ...

    So it is basically: space, space, digits, space, space, numbers, line break

    Right now I am using the following code (myString is a string, and dataSet1 is an array):

    var reg: RegExp = new RegExp ("\n");

    myString = textLoader.data;
    myString.split (reg) = dataSet1;

    I tried ("\n\s") and ("(\n)(\s*)") and many other combinations, but I can't seem to figure out how to make multiple conditions in a regular expression. All I need to do is to remove all the spaces and line breaks and I should be good.

    I appreciate any help, thanks.

    You can use the Array.map method to convert your strings. Something like this:

    function str2Num(element:*,_index:int,_arr:Array):Number
    {
    Return Number (item);
    }

    var arr:Array;

    ARR = myString.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s + /);

    ARR = map (str2Num, null);

    or combine them all in a single statement

    ARR = myString.replace(/^\s+/,"").replace(/\s+$/,"").split(/\s + /) .map (str2Num, null);

Maybe you are looking for

  • cannot group by artist playlist

    Hello I use a smart playlist wich select tracks by artists. I show the playlist by artists. Sometimes iTunes seems incapable of another track in a group, so I change the field copy & spent (so I guess that no error of typing, or white space)... -----

  • Never available for my firefox OS device system update

    When I "Check for updates" I always (since I have the phone about a year ago) get the Message: AttentionPlease try again later. Even a hard reset does not solve it.My version: Firefox OS 2.0.0.0 - 03 004My device: Alcatel One Touch fire EUpdate chann

  • I don't want the BACKSPACE to return to the previous page.

    When you type in a text box if I accidentally type a space (or two spaces) I can't use the BACKSPACE fix because he wants to send me instead, return to the previous page. I would like to disable the BACKSPACE key to exercise this function altogether.

  • Where can I find the location of the folder where all the updates are stored

    I can not download updates and can't find where the updates are stored in order to change the settings

  • Acrobat DC student - subscription?

    Hi, I am wanting to buy the student acrobat edition, but some say that even if you pay the advertised price, at the front has warned that there is also a monthly subscription to pay. This information is correct? I have to buy the product and then on