Jump to content

professor_rumsdiegeige

Members
  • Posts

    38
  • Joined

  • Last visited

    Never

Posts posted by professor_rumsdiegeige

  1. Hello fellows,

    I'd like to have an event fired as soon as the user clicks into a string control to start editing it... the idea is that everytime the user starts to edit this control, the windows virtual on-screen keyboard shall be launched, because the user has problems with typing on the small keyboard....

    Is this event available? I tried "Mouse Enter" and "Mouse Leave", but this doesn't really fit.

    Any ideas?

    Sabine Lorentz

  2. Hello!

    Has anybody got some hints on how to perform image stitching using Labview?

    I.e. I've got a couple of overlapping small images and would like to merge them into a global (bigger) image.

    If this is not available in Labview, do you happen to know of another library with which this is possible?

    Please note: I know there are ready-to-use programs that do exactly that, but I need the functionality in my own program.

    Regards

    Sabine Lorentz

  3. Hello!

    I've got around ten computers in a network. To each computer, one or more sensors are connected. All computers use Labview as the programming language.

    The data acquisition of all sensors needs to start at the same time with a tolerance of up to half a second.

    My idea is to make one PC a "master" that sends a trigger via network, i.e. a MultiCast packet telling all other PCs to start the data acquisition.

    How do you think about it? Would you also use a Multicast packet?

    Thanks for any contributions.

    Sabine Lorentz

  4. Hello !

    I'd like to export data from a waveform chart. I know it is possible to export a simplified image, but I need the actual data.

    I tried "History Data", but this one doesn't include the X-axis.

    I'd like best use the "Export Waveform to Spreadsheet" VI, but then I don't know how to convert the waveform chart to a waveform (the input of that VI).

    Can you help me?

    Sabine Lorentz

  5. Hello!

    I read measurement values out of a file. This takes about a minute.

    After that, I want the user to be able to change the value of a slider, and then display the value of measurement number "value of slider".

    So I used a flat sequence, and in the last block of this sequence I added an event structure. But obviously this event structure gets active long before: when I start the program with this last block, I can't do anything anymore, and as soon as I remove it, the program works again.

    So isn't it possible to have an event structure that is only active within a certain block of a sequence?

    Thanks a lot!

    Sabine Lorentz

  6. ... now I created the example myself. The procedure is straightforward:

    - download the OpenOffice 3 SDK and install it

    - there is an example for C#: ...\Program Files\OpenOffice.org_3.0_SDK\sdk\examples\CLI\CSharp\Spreadsheet\SpreadsheetDocHelper.cs ; compile this example (you can use e.g. the Visual C# Express Edition)

    - now you can use this generated assembly in Labview and create spreadsheet documents etc.

    A corresponding example VI, version 8.0 of Labview, is attached.

    Any suggestions how to build a Labview library, now that we have an example for OO reports?

    QUOTE (professor_rumsdiegeige @ Oct 30 2008, 12:42 PM)

    Hello!

    This thread is quite old, but the demand is still there, I think, for an OpenOffice export from Labview.

    One of the main problems with the OpenOffice API is that it is very difficult and complex at a first glance.

    This is why I attached an example to create a OO spreadsheet from C#, i.e. using .NET. Using Labview's .NET functionality, it should be no problem to port this to Labview.

    Any volunteers? :-)

  7. Hello!

    This thread is quite old, but the demand is still there, I think, for an OpenOffice export from Labview.

    One of the main problems with the OpenOffice API is that it is very difficult and complex at a first glance.

    This is why I attached an example to create a OO spreadsheet from C#, i.e. using .NET. Using Labview's .NET functionality, it should be no problem to port this to Labview.

    Any volunteers? :-)

    QUOTE (rolfk @ Jun 16 2006, 09:19 AM)

    As Chris said demand is the key issue with NI. But another issue is that OpenOffice was not a well known topic at all back when the report generation toolkit was created. Otherwise chances are that at least a basic interface to OO may already have been built into by an enthuastic NI developer. Several of the example libraries and toolkits started out as a private pet project of someone inside NI and sometimes even outside of NI.

    Rolf Kalbermatter

  8. I checked the path again. The VI is on my desktop. You can find the VI I try to call and a screenshot how I configure the Vision Assistant in the attachment. Thank you!

    QUOTE (TobyD @ Oct 28 2008, 08:46 PM)

    My only suggestions are to triple check the path and make sure the VI is not saved in a hidden directory. Can you post a screenshot to show us how you are calling the VI.-Toby
  9. Hello!

    Is it possible to generate a dynamic overlay?

    The background is the following: assume that you have measured sth. using "Caliper", e.g. the diameter of a circle. Now assume you would like to see how this diameter changes while continuously acquiring new images from a camera and moving the target object a bit.

    My idea was to go to "batch processing" in acquisition mode, but it is not possible to look at the "Caliper" results there (you can open the parameter interface with each acquisition, but that is not comfortable).

    So I thought one can perhaps convert this measurement to a string and display it using the overlay function.

    Thank you for your help!

    Regards

    Sabine Lorentz

  10. QUOTE (Minh Pham @ Oct 2 2008, 11:41 PM)

    Can you change the File Prefix field to csv.txt instead of csv?

    If it doesnt work then please try to save to 1 file option say csv.txt? Would that work?

    It would be something simple that we are missing here.

    Regards,

    Finally... Somehow choosing one file for all results works while the other option does not work. But why I do not know.

    Thanks to everyone participating here for the help! The problem is solved now.

  11. QUOTE (crelf @ Oct 2 2008, 09:37 PM)

    I'm not sure I can explain it any more eloquently than that - but I'll try: you know where you want to rotate it about, so add the appropriate rows and columns of pixels around the image to force that point to become the middle. For example - if you have a 10 x 10 image, and you want to rotate it about (3,3), then add 5 columns of pixels to the left of the image and 5 rows of pixels to the top of the image. Now the (3,3) pixel becomes the (8,8) pixel in the middle of a 15 x 15 pixel image. Then you can rotate about the centre and trim off the extra rows/columns.

    Thank you, now I got it. The problem is solved now.

  12. QUOTE (crelf @ Oct 2 2008, 03:23 PM)

    No, but you can resize your canvas will irregular borders so that the point about which you want to rotate becomes the centre, and then IMAQ Rotate.

    Thank you for your help but I've got some difficulties to understand what you mean: what's this "canvas" and what do you mean by "irregular borders"?

  13. I use the image browser as an image source, because before starting the batch process, I add all the images I'm interested in to the image browser of Vision Assistant (i.e. then I load them from the disk). But even if I choose another option there, still no result file is created.

    QUOTE (Minh Pham @ Oct 2 2008, 06:48 AM)

    Why Browser is an image source? Would that be HD if you process imgs from your Hardrive. Or Acquisition if imgs are acquired via the camera?

    Please confirm this.

    Regards,

  14. Thank you for your reply, Minh Pham. Yes, I have indeed setup the save options - see attached screenshot. The file I specified for the results in this dialog is simply not created at all.

    QUOTE (Minh Pham @ Oct 2 2008, 12:19 AM)

    Have you setup the save options in SETUP?

    Perform Batch Processing Select Tools»Batch Processing. Select an image source. If you select Hard Disk, browse to the folder containing the images you want to process. If you select Acquisition, complete the following steps: Specify the acquisition module you want to use. note.gifNote You must have previously defined the parameters for the acquisition module you select. Vision Assistant uses the parameter settings you defined the last time you used a particular acquisition module. For example, if you select Image Capture RT, you must have previously used the Acquire Image (RT) function in the Acquire Images tab of the Processing Functions. If you select an acquisition module you have not used previously, Vision Assistant prompts you to exit batch processing setup and acquire an image using the module you selected in Acquisition Modules.In Iterations, specify the number of times you want to acquire an image during batch processing. In Period (s.), specify the length of the delay, in seconds, between acquisitions. Select a step in the Script Steps list. If the step processes the image under inspection, select one of the Process Mode options: Open Process Interface, Display Result Image, or Save Result Image. If the step analyzes the image under inspection, select one of the Analysis Mode options: Open Results Panel or Save Results. If you selected Save Results or Save Result Image in step 3, click Setup and configure the save options. Otherwise, proceed to step 6. Click OK to close the save setup dialog box. Click Run to start the batch process. Click Return to exit batch processing mode. tip.gifTips The progress window displays the current process, the number of iterations completed, the starting time, and an estimation of the time remaining. To stop batch processing, click the Cancel button in the progress window. Vision Assistant stops the batch process when the current step is complete or is cancelled from the Parameter window.

    Let me know if this is the cause of the problem.

    Cheers,

×
×
  • Create New...

Important Information

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