How to use Labview to output the coordinates from Pattern Matching result
I tried to add some labview commands into the vi program created by IMAQ Pattern Matching scrip to output the coordinates of a target point found in Pattern Matching because i need to do some calculations for the point coordinates and I don't want just to read the values from the IMAQ results on the monitor. Does anyone can help me? Thank you.
Attachments:
PatternMatching1.vi 84 KB
I have posted replies to your other postings with your same question, and continue to recomend that you look at some of the LabVIEW tutorials.
I modified the attched program such that it would index the arrays of match information returned and then unbundle the X and Y features of the match and add them to gether as an example of how to access the data programatically.
I hope this helps.
Regards,
Amaury Rolin
NI Applications Engineer
Attachments:
PatternMatching_mod.vi 88 KB
Similar Messages
-
I need to program a Hittite Fractional-N Synthesizer Evaluation Kit with a HMC702LP6CE an external YIG oscillator. Not sure how to use Labview to control the PLL.
Here is how to use the PLL. But I don't know of how to interact with that device
http://zone.ni.com/devzone/cda/tut/p/id/3781
And for thouse who don't know what a PLL is a free bonus link is here:
http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument
and a second one on what that device is: http://www.hittite.com/products/view.html/view/HMC702LP6CE
Now we are all caught up to speed.
Sam S
Applications Engineer
National Instruments -
Hi, I'm trying to export data to a spreadsheet from an Agilent 8510c to a laptop(Win XP) using a PCMCIA-GPIB card, Labview 6 and the VI from the NI site. How do I do this? Ideally I'd like the Magnitude and Phase Data, as pairs for each frequency point, but the Real and Imaginary pairs can work just as well. Any help would be greatly appreciated.
When you say the "VI from the NI site", I'm going to assume that you mean the HP8510C driver. If that's the case, then VI called HP8510C Application Example should be your starting point. It returns two 1D arrays - real raw data and imaginary raw data. These can be combined with a Build Array function and the resulting 2D array can be wired to the Write to Spreadsheet File function. This will create a tab or comma separated file that Excel or any other spreadsheet program can import. The very simplest program would look something like the attached picture. You may need to modify the instrument program to suit your requirements but this should get you started.
Attachments:
HP8510C_and_Spreadsheet_Write.jpg 5 KB -
How to use labview to control the horizonal menu of TDS420A?
Hellow!
anyone can tell me how to control the horizonal menu of TDS 420A osilloscope? currently,i use "TKTDS 420A config.Horiz.VI and TKTDS readwaveform.VI to control the horizonal menu,i would like to control the delay time to get a specific part of the whole waveform,but it doesn't work,attached is a example,anyone can tell me the reason? thanks!
Attachments:
example.vi 54 KBYour vi won't load on our machines without the TDS' driver. If you "Save with options" as a "Development Distribution" it should include the required sub-vi's. The be sure and "zip" the resulting .llb file to reduce its size.
P.M.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion -
How to use Labview to achieve the Autofocus function of Thorlabs DCC1645C Camera
I have a microscope which is connected with computer, and I got a Thorlabs DCC1645C Camera to do research. I want to program labview to achieve autofocus function, which could automatically tune the hight of stage if the microscope is out of focus. Could anyone give me some help? Thanks!
What does the manual say about computer control of this camera?
-
I use LabVIEW 7.1 but I have some problem when, I use LabVEW to read the data from serial communication.
I use LabVIEW to read the data from serial communication then, i open the example (.vi) from Serial Communication - Advanced Serial Write and Read from LabVIEW Example. BUT it have some error message that : Error - 1073807202 occured at property node in visa configure serial port (instr).vi -> advance serial write and read .vi
this error code is undefined. no one has provide a description for this code, or you might have wired a number that is not an error code to the error code input.
I don't know why? please help me. thank you.When I copy that code into "Explain Error" I get: "VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded."
You may have a bad install of VISA or the wrong version of VISA loaded. Try re-installing VISA. You can get the latest version from the NI support site: http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
Also ensure that you are not pointing the example towards a serial port that does not exist.
Please let us know what you find and what gets this working for you.
Rob -
I am trying to write a vi that interfaces with a piece of OEM equipment that is set up to talk with a VT 100 terminal. I can't seem to locate the ASCII equivalent string (if there is such a thing) of a CTRL D. Is there a vi that emulates VT 100 commands?
If I recall, CTRL-D is EOF on most ASCII tables.
You'd probably have to use an escape sequence
or if you can use an unsigned 8-bit that might be
easier.
In article <[email protected]>, TLS
wrote:
> How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100
> format) out the serial port of my computer?
>
> I am trying to write a vi that interfaces with a piece of OEM
> equipment that is set up to talk with a VT 100 terminal. I can't seem
> to locate the ASCII equivalent string (if there is such a thing) of a
> CTRL D. Is there a vi that emulates VT 100 commands? -
How to use labview with the handyboard
Hi,
how to use labview with the handyboard
Thx...I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
As the other poster said, you didn't say how you want to use LabVIEW with it. If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck. If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
Message Edited by Matthew Kelton on 12-17-2007 02:21 PM -
How to Use LABVIEW charts with Mathscript
Hi,
I recently tried to work on Mathscript and it is really amazing. what I tried to figure out is:
Instead of plotting using traditional "plot" statement, how to use LabVIEW chart ( I know how to Add output but the graph were not as expected
Is there any mean to get rid of this "Lengthy" delay that "ALL MATLAB User know" for first time compilation?
Thanks in advance
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & TechnologyWell Chris,
I was about to post the solution, but as I said, I'm in a middle of experts
It took me 3 hours to figure it out. I should've checked your answer . I resolved to the same suggesstion of yours. I only added some functionality to get the newbies like me being acquainting with how easy to work with LABVIEW mathscript based on MATLAB knowledge.
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology
Attachments:
Play with Mathscript.vi 35 KB -
How to use TYPE addition with the OPEN DATASET ?
Hi,
How to use TYPE addition with the OPEN DATASET and what is the use ?
For Example:
OPEN DATASET 'test.dat'
TYPE 'lrecl=80, blksize=8000, recfm=FB'
FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
Also, if I wish to do the same for a .CSV file how can we do it.
Thanks,
-SidHi,
OPEN DATASET 'test.dat'
TYPE 'lrecl=80, blksize=8000, recfm=FB'
FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
For more information press F1 on OPEN DATASET.
Thanks -
How to use LabView to control Primera Bravo II CD burner?
I am trying to use LabView to control the Primera Bravo II CD burner and label printer. The software that controls the Bravo II is PTPublisher. How to use LabView to communicate/control the PTPublisher? Please help, Thanks
Hi Qian,
I installed PTPublisher on a virtual machine, and I was wondering what kind of tasks you wanted to control within LabVIEW. From the program GUI, it appears like the only way to access functions is via mouse clicks. Do you know of any other way to control the Bravo II CD burner besides the PTPublisher software? If not, does the PTPublisher allow you to control it in some way other than clicking?
Peter K.
National Instruments -
How to use LABVIEW to collect wireless network camera (with video server) video.
How to use LABVIEW to collect wireless network camera (with video server) video.I would like to use LABVIEW for a wireless network camera (IP Camera comes with the video server module)the client program.Will the ability to achieve?If feasible, how to do, there are examples, thank you.
I believe NI Vision is what you are looking for.
-
Any one knows how to use Axis Framework in the SOAP Adapter Modules
How to use Axis Framework in the SOAP Adapter?
How to add custom handler modules?
http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
I went through the above link on help.sap.com. But still could not create a working example.
I have created a wc on some 3ed party app server using apaches axis. I am trying to call that web service from XI using SOAP receiver? I need to add some security related headers to the soap message, SO I am trying to use a handler. I want to know how to configure this handler in SOAP axis adapter module.
Thank you
MoniRavi ,
I am trying exactly the same. Hers is the scenario.
ABAP Proxy --> PI (7.0) SP 12 ---> WebService.
Since This is service is secured, means it is using OASIS web servie securyty user name token,
I am trying to use AXIS adapter. and I want to configure HandlerBean in which I want to use apache wss4j api to add the userNameToken. I am looking for some documentation on this.
I need to add SOAP action element too as I can not configure this one on the communication channel.
Thanks for any inputs in this regard.
Moni -
How to use bind variables in the following query
CREATE OR REPLACE PROCEDURE MMDB.test IS
sel_qtn VARCHAR2 (10);
CURSOR PT_QUANTITY IS select * from mmdb.product_tree WHERE QUANTITY_CHECK ='E'
AND run_id = 100
a PT_QUANTITY%ROWTYPE;
BEGIN
FOR i IN PT_QUANTITY
loop
sel_qtn := i.quanttity-1;
While sel_qtn>=1
loop
insert into mmdb.product_tree (BILLING_ACCOUNT_NO ,S_CODE) values (i.BILLING_ACCOUNT_NO ,i.S_CODE||'E');
sel_qtn :=sel_qtn -1;
End loop;
commit;
end;Don't duplicate threads: How to use bind variables in the following query
-
How to use SQL functions in the queries
hey guys i wanna know how to use SQL functions in the queries is it possible or not .
Hi,
Wat exactly that set values are?
those from sql query?
How to use count():
The COUNT() function returns the number of rows that matches a specified criteria.
SQL COUNT(column_name) Syntax
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column:
SELECT COUNT(column_name) FROM table_name
SQL COUNT(*) Syntax
The COUNT(*) function returns the number of records in a table:
SELECT COUNT(*) FROM table_name
SQL COUNT(DISTINCT column_name) Syntax
The COUNT(DISTINCT column_name) function returns the number of distinct values of the specified column:
SELECT COUNT(DISTINCT column_name) FROM table_name
The IN function helps reduce the need to use multiple OR conditions.
The syntax for the IN function is:
SELECT columns
FROM tables
WHERE column1 in (value1, value2, .... value_n);
Maybe you are looking for
-
I wrote a small program only 70 lines. These codes traverse all the text line by line, show all digits in blue color, but I do not know why, you see, there is something wrong, some characters are not updated correctly. but why? import javax.swing.*;
-
How to convert an xml data(clob) in database to string format in bpel??
Now I am learning SOA ,I have one scenario which I store the each record in xml format in database from file adapter ,extract the xml data and store the data in another table ...Give me any suggestions which I slove these issue . Thanks in advance
-
I am going to replace the memory module, will I loose the existing stored memory
I have a imac desktop with one memory module,, would like to insert 2 new memory modules,, will I loose stored memory
-
Issue in Transport Request of ChaRM
I have created a Transport Request made import'd to Q-Sys, Now i need to Make some changes I've set the status to IN-dev & made changes & saved ,also released the transport request, still no changes found, Plz suggest me a remedy?
-
Can I use Time Machine to backup to a HD plugged into my router by ethernet cable? If so how? TM does not see the HD or give it as a backup option.