Joost van Hamond
-
Posts
20 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Joost van Hamond
-
-
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
-
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
-
No problem. We're all here to help each other! :thumbup:
-
Sorry guys,
I use "Match Pattern" in my program, and that's where the program stops........
Problem solved!! Thanks anyway for your help!! :worship:
Joost
-
I'll have a look at possible other programs running at the background......
I think it's not going into standby or some BIOS-driven power saving mode, because it starts running again after a while, without doing anything with the computer!
Joost
-
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
-
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
-
The problem was that I needed a straight-thru connection for pin 2 and 3 and a cross-over for pin 7 and 8.........
So:
2 --> 2
3 --> 3
7 --> 8
8 --> 7
-
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...
-
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
-
Thank you! I now convert the number into a hexadecimal and everything is working fine. Java can easily convert this back into a double.... :thumbup:
Thanks again,
Joost
-
I'm using "Type Cast" to translate the value into a string......
-
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
-
Hello all,
I would like to send a string of data into Java with TCP/IP. Unfortunately I never worked with this communicating language. The examples that LabVIEW has doesn't help me very much. Please, give me some good advice where to start.......
Thanks,
Joost
-
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!!!
I still have to find out what's going on........
-
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.......
-
You can find a serial driver for Black Star 4503 at
http://sine.ni.com/apps/we/niid_web_displa...034080020E74861
and at least a GPIB driver for Keithley 2410 at
http://sine.ni.com/apps/we/niid_web_displa...rv_type=&p_int=
:2cents:
Manfred
I tried both of them, but my computer crashed both times. So I think it's a problem with my LabVIEW or my computer. Thanks anyway...... :thumbup:
-
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! )
A Keithley 2410 1100V SourceMeter
-
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
strange error in simple labview program
in LabVIEW General
Posted
I agree....