Jump to content

Joost van Hamond

Members
  • Posts

    20
  • Joined

  • Last visited

    Never

Posts posted by Joost van Hamond

  1. QUOTE(yen @ Feb 27 2007, 07:21 PM)

    If you want to get the color of any pixel on the screen, you can probably use some Windows API functions to get the image of what appears on the screen.

    If you want the ugly way, you can simulate a PrintScreen click using the API functions (there are some VIs floating around to do this) and then use the Application class GetClipboardImage method (a private method in 7.x, so you need to enable scripting).

    Thanks, I'll have try...

    Answerering your questions Crelf: All kind of webpages are examples, it's not for a specific webpage. The pixel I would like to check can be all over the page, so it is posible that it will be an image, but it could be text as well. I would like to check different 'pixel places', but I don't think that will be a problem. And finally: I didn't try anything so far, because I really have no idea how to deal with this....!

    Thanks for your help so far...

    Joost

  2. Hello all,

    My problem: I would like to know the pixel color of for example an internetpage. So, LabVIEW will run on 'the background' and will look for a specific pixel and determines it's collor. I'm using LabVIEW 7.0

    Does someone know how to do this??

    Regards, Joost

  3. Thanks for your quick response!

    - It's a multimeter, powered by the public electricity grid.

    - A PC

    - Native Serial Port, 9 pins

    - The problem is that when I want to look where in the code the program stops, it starts running again! So I don't know....

    - I have LabVIEW 6.0 and use the Serial Read VI's

    Joost

  4. Hi guys,

    I've the following problem:

    I read values from a multimeter with RS232 via the Serial input port of the computer. Every second I want to save this value together with the time in a text file. All this is running fine, but after a while the programs doesn't do anything, but it is still running. I measured the whole weekend and I saw in my text file that there was sometimes a gap of a few hours. So it starts running by itself.

    Once I saw the program was doing nothing (when I checked if everything was fine), I moved the mouse and after a couple of seconds, it starts reading values again.

    Does anyone know how to solve this problem?

    Thanks, Joost

  5. Hi,

    Thanks for your response....

    I am also quite sure that I read the last portion of one message and the first portion of the next....

    You are right with RS232, but I'm not using VISA. I use the Serial Port Initializing VI and the Serial Port Read VI.

    When the program starts running, it initializes the serial port. When no error is occurred, the program runs a while loop. In this loop it takes 9 bytes of the buffer every time. This keeps on running till there is an error or I press the stop button.

    I now changed my program by moving the Serial Port Initializing VI into the while loop. So the serial port will be initialized every time before reading a value from the buffer. This is not really what I want, but it is working.

    But I'm still interested why my other solution is not working...

  6. Hello all,

    I've the following problem:

    I read data out of a multimeter. This multimeter is sending 9 bytes of information each time:

    _11.534

    where _ is normally an empty space (is reserved for a minus when the value is negative) and  are delimiters.

    After a while, the sequence of the string changes (no idea how!! :headbang: ). So instead of reading _11.534, I read, for example: .534_11

    Normally the value is 11.534, but now my program thinks the value is 0.534 which is wrong. :(

    Does anyone know how this could happen? Or does anyone have had the same problem?

    Please let me know.....

    Thanks! Joost

  7. Hi all,

    I've got a problem:

    I am sending data (double values) via TCP/IP. To send this data, I have to convert this into a string. When I read the port with a LabVIEW program (TCP/IP Read) I can translate the received string back into a double value, no problem.

    When I try to read out the port with Java, I receive

  8. Oke! My program is working. I still don't know why:

    When I connect my RS232 cable into my multimeter the program doesn't receive data (but is running). When I connect pin 2 of my RS232 cable to pin 2 of my multimeter my program receives data!!! :blink:

    I still have to find out what's going on........

  9. :blink: I am not sure why you want to open a word file to display in LabVIEW.

    What is easier is to save the information as a text file (with extension *.txt) and then just read in the text with the read file VI's. No need for complicated ActiveX calls.

    Display it as you wish after that.

    Neville.

    I agree with you Neville D. Just use *.txt

    Let me know your reason why to use word....... ;)

  10. What is the make and model of the DMM? There may be drivers already available for it.

    I've got 2 devices:

    A Black Star 4503 Intelligent Multimeter (Old! :yes: )

    A Keithley 2410 1100V SourceMeter

  11. Hi everyone,

    I've got a multimeter with a RS232 output. I would like to see the data send by this device in my LabVIEW program.

    I made a program with: "Serial Port Init.VI", "Bytes at Serial Port.VI" and "Serial Port Read.VI".

    When I run the program, I get no errors, but I don't receive any data out of my multimeter!! :( And it keeps on running waiting for some input I think.......

    If you've got solution or just some comment, please tell me!

    Thanks. Cheers,

    Joost

×
×
  • Create New...

Important Information

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