Jump to content

Sharon_

Members
  • Posts

    104
  • Joined

  • Last visited

Posts posted by Sharon_

  1. Are you sure? From you image, it looks to me that the first text selection node can operate before, during or after the "add symbol" sub VI as LabVIEW decides.

    Hi Shaun,

                     I am not sure I understood your question. So I have added one more pivture with the post. My software processes the string  line-by-line.So somehow I need to retain the color property of the texts.

     

    post-16569-0-99591400-1436749236.jpg

     

    Forgot to mention->The Selection before Step2.1 copies the color property of 'Dial S for' string.

     

    Regards,

    Sharon

  2. Hi friends,

                     In my VI, there is a the text control with texts with different color( Basicall for OCR application , to show incorrect charcters). But if I run the VI attached(Purpose of the VI is to add some symbols at specific location) with this post all text color reset to default. I am pretty sure I am making with the usage of Text Ref. :lightbulb:

    I tried with 2 approaches- 1. with text control ref

                                              2. with only the text.

     

    But not working. :oops:

    Any idea? :rolleyes:

    BTW the text control is for unicode characters.

     

     Sub_Add_Symbol_to_OCR_String.vi

     

    -Sharon.

  3. I don't have IMAQ installed but I think those settings are exposed using various property nodes.  I also remember those settings in MAX and saving them in MAX retained the values.

     

    So in the past I've just set it up in MAX and saved it, and never needed to change it for the application.

    That's right. My application is like :

    1. Adjust camera parameters-> 2. Run Sample OCR-> 3. If not Ok goto step 1 until OCR output is OK.

    So I am looking for the possibility of saving MAX settings from LabVIEW. 

     

    Thanks,

    Sharon

  4. Hi friends,

                     Is it possible to access measurement studio parameters from LabVIEW?. :rolleyes:  I want to adjust my camera parameters and save the current values permanently. I mean what if I don't want to load the settings parameter from a file everytime ? Can it be done?

    Thanks for your time and support..!!! :worshippy:

     

    Thanks,

    -Sharon

     

  5. Hi friends,

                      Does anyone have a link to download LabVIEW 2010 SP1?

    Using my NI account, I can see download options only from LabVIEW 2012.

    I called NI but there seems to be some problem with burning the image file to DVD.  :blink:

    And it is kind of urgent. :(

     

     

    Thanks,

    Sharon.

     

  6. Hi,

    The camera is USB3 . Yes, I need IMAQdx to use it with my LabVIEW. And sorry for the late reply- I have been intalling/reinstalling VAS drivers for two days. :throwpc:

    The problem is that the LabVIEW version is 2009 and NI supports USB camera devices from IMAQdx 4.2.0 which is not compatible with 2009. 

    We found out only today that IMAQdx 4.2 is *not* supported by LabVIEW 2009, and some NI documentation about the version things, is wrong . It is only supported from LabVIEW 2010.

    So I am trying upgrade my LV version 2010 SP1. I will update if everything is ok. :lightbulb:

     

    Thanks,

    Sharon

  7. Hi,

       We have bought a new camera(TeliCam Toshiba) for some projects. I installed the camera but it is not listed under MAX devices.

    So how do I use the camera to display the acquired images on Labview image control?  :oops:

    The camera maker has provided some dlls that support only .NET programming. I am ok with .NET programming using Labview but I am still confused how to use it to show the images on Image Ctrl.. :book:

    I need to grab the image - adjust camera parameters - do some OCR and if needed adjust the parameters again. :lightbulb:

    Any idea?

     

    Thanks,

    Sharon 

  8. Hi friends,

                      I am developing a LV vi to create an excel test report. The excel contains two sheets-

     

    1. Test summary

    2. Test Results.

     

    In the Test summary sheet, I need to create hyperlink to Test results cells. I am able to create hyperlinks on the same sheet or external files not to the " Test results" sheet. I dont know how to set address value of "Test Results" to  Hyperlinks property created with Anchor value referencing to Test Summary sheet. It is confusing. :throwpc:

      

    post-16569-0-15250600-1431481738_thumb.j

     

     

    When I click Test Link , y control should go to Test Results field.  :rolleyes:

    post-16569-0-28968700-1431481584_thumb.j

  9. rolfk,

            I am not sure how to use MultyByteToUnicodeString() function in LV. But if I want use excel property to read out the values from the excel containing unicode characters , do I need to install language packs?

    For instance I have no problem with Japanese texts or english. But I can read any language characters from a unicode text file. 

    Is this going to be an issue while writing the unicode values an excel file? 

    Any idea? 

    I was planning to create only txt file reports but the problem with unicode text files is that, newline is unicoded(not exactly coming to the newline) and I cant append texts to the "next line". That7s why I wanted to generate reports in excel.Argh! :lightbulb: 

     

     

    -Sharon

    post-16569-0-72254500-1426140050_thumb.g

  10. Hi,

          I can read and display the unicode characters on indicators, if the unicode chars are input directly from a control or from a text file(saved as unicode file).

    But the problem I am facing is when I read excel file. The 'non-supported' chars are displayed as '?'.

    Unfortunately we can't save the excel file as unicode file.right? 

    I am virtually running out ideas now. :throwpc:  I tried coping the excel contents in a txt(unicode) file and read it using LabVIEW code. It seems to be okay. 

    So now how do I handle the excel file containing ISO 8859-1-15, 8859-9,8859-5, KSC5801 and Chinese traditional and Manderin characters.?

    Any solutions? :oops:

     

     

    Thanks for your time and support..!!! :worshippy:

     

     

    -Sharon

  11. Hi,

     

    What encoding does your OCR software use? Is it UTF-8 or UTF-16 or SHIFT-JIS or something else?

     

    To display Unicode text in LabVIEW, you must give it Unicode data. If you provide SHIFT-JIS text but LabVIEW tries to interpret it as Unicode text, then the interpretation will be wrong.

     

    This page might provide more insight: https://decibel.ni.com/content/docs/DOC-10153

     

    Hi JKSH,

    Thanks for the reply.

    I havent gone that far. I am only trying to read the texts that are to be compared with the OCR output. Before comparison I just want to display the texts that I read from excel file. I cant be sure of the final result, if I am not sure whether the data I am displaying is not correct or the format is different.  :lightbulb:

     

     

    Sharon

  12. Hi friends,

                   I am developing OCR software where I am reading an excel file from Labview and compare the texts from it to the OCR module output.

    My labview version is in Japanese. If the excel file texts are either in Japanese or English my string indicator displays the texts without any issues. But I cant display other language texts like korean,turkish or russian. Is there a way to fix this problem? :oops:

    I spoke to NI -Japan but the solution provided(Labview unicode) does nt seem to be working.  In unicode mode I cant even read japanese texts properly. :throwpc:

     

    Thanks for your time and support. :worshippy:

     

     

    Sharon

  13. Hi friends,

                       Is there a function available in LabVIEW for opening a folder?.

    For instance , I save my test results in a folder. I want to have button on my front panel providing option to open and see the contents of the folder.

     

     

    Thanks for your time and support..!!!

     

     

    Sharon.

  14. Hi friends,

                       After a long time.  :worshippy:

     

    I am developing a CAN read/write module for CAN diagnostics testing. There is no problem with ncWriteObj.vi- works fine. I can also see the data on CANoe Trace window.

    But I also need to read the response of the ECU module from a different CAN ID.

    I just connected the Message handle to the VI and read back the values.

     

    Say for example

    If the diagnostic command is 

     

    02 10 C0 FF FF FF FF FF

     

    The positive response should be

     

    02 50 C0 FF FF FF FF FF

    (actually only the first 3 bytes matter)

    If I use ncReadObj VI the output is

     

    0 0 0 0 80 59 4C A

     

    *** update: the above data is not correct. I get the same output even if I change the command.

    what is happening here?

    Even if the formatting is not correct, I expected bytes 1-4 to be the same value.(assuming the data array to be reversed)

    Where am I making mistake? Sync problem?

    Please help. It is driving me crazy. :throwpc:

     

     

    -Sharon

     

    P.S Unfortunately I cant attach my code. It is on a different PC and using pendrive is prohibited. Sorry  :oops:

  15. Hi all,

             In my application, I need to copy some of the row values from a multicolumn listbox control and paste the selected row in the next row of the same control.

    When we right click on the control I see- Copy Data/ Paste Data options- but how does it work?

     

    post-16569-0-19105600-1370734339_thumb.j

     

     

     

     

    Thanks for your time and help.!!!

     

     

    Sharon

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.