Re: Number of records in datalog-file

2004-06-21 Thread Marco Tedaldi
Jean-Pierre Drolet wrote: The file function EOF end-of-file returns the number of records in a datalog file when leaving pos and offset inputs unwired. Wow, works like a charm. Thank you very much. I guess, I wouldn't have found out this. Bye Marco

Number of records in datalog-file

2004-06-21 Thread Marco Tedaldi
Hello wiring people Is there an easy way to find out how many records there are in a datalog file? I've thaught about reading every record sequentially till an error occurs (or "offset after read" == "filesize") but I think that's not really economical. Is there a better way to do this? Thank y

Re: Delay time and while loop

2004-06-20 Thread Marco Tedaldi
Lai, Ann wrote: Hi, My main program uses a while loop to get control data from subVIs until the subVIs are done executing. When I ran my main program, my CPU usage shot up to 100%, so I put a delay time inside of my while loop and this reduces the CPU usage to about 8-10%, but now the data array t

Re: FTDI USB on Linux?

2004-06-07 Thread Marco Tedaldi
jed wrote: Longshot here... Does anyone have a labview for Linux interface to the FTDI usb modules? yes On their website they reference the programmer who produced the Linux-distribution library. I loaded that down and it looks like there will be a lot of work to do. Oh, do you need it for Li

Re: Write Hexadecimal values as ASCII characters

2004-06-03 Thread Marco Tedaldi
Hello V. P. [EMAIL PROTECTED] wrote: Folks, How does one write a hexadecimal string as ASCII characters on to a file? I can display the characters on my front panel. But I don't know how to write it on a file. Any help is appreciated. V. P. Nair American Electric Power There is a vi named "Number t

Re: [W] Capturing the keyboard

2004-05-18 Thread Marco Tedaldi
George Zou wrote: Marco, Are you sure the video stops playing because loose the focus? Is it posible because loose foreground? Oh, that's a really interesting question. I can't answer this, because I don't know a way of letting the Application loose focus without loosing foreground too :-( Would

Capturing the keyboard

2004-05-18 Thread Marco Tedaldi
Hello wiring folks I've got an application which neds to be running in a not-focussed window, but which is still captunring the keyboard events. We've got a Video-Application (not in LabView) which should show a video on the same screen as the labwiew-application runs. The Problem ist, that de

Re: caps-lock

2004-04-24 Thread Marco Tedaldi
David Ferster wrote: > > I suppose I ought to learn to use the space bar or auto-tools or some > such, but I still think the inventor of the caps-lock deserves Dante's > special attention. Use Linux, there you can set it in the Config of the X-Server... ;-) Okok, try http://johnhaller.com/jh/usefu

Re: How to talk my company into allowing OpenG usage?

2004-04-20 Thread Marco Tedaldi
Craig Graham wrote: Rolf Kalbermatter wrote: No- the assumption is that someone else is liable if it goes pear shaped. If you buy a product and at some later date it doesn't do as advertised you can blame (perhaps also legally) the supplier. If it's open source, you can't. I think this isn't base

Re: Auto Replies...

2004-04-20 Thread Marco Tedaldi
Coffmon, Roger [LBRT/LNA] wrote: Wow!, the message I just posted got auto replies from other subscribers. Is this going to be something permanent or are we still working out the issues? -look at the headers- oups, there seems to be an issue. Most mailinglist-software I know sets Precedence: bulk

Pointer to Pointer from DLL

2004-04-08 Thread Marco Tedaldi
Hello Dear Wireworkers Actually I'm drawing Code (some vi's) which give me access to a USB-Device. For this I'm using a dll which is provided by the manufacturer. It works great. I can send and recieve the data really fast. All the Basic Functions are woring properly. Now there is a Function t

Re: OpenG Coding Challenge - Remove Backspace

2004-03-30 Thread Marco Tedaldi
Paul Brown wrote: Are the Results on the site really true? I allmost can't believe it! But I'm trying :-) They are probably quite true. My best vi so far does it 75 times faster than the example. Like Jim said, you will need to stop resizing arrays in order to get the best performance. Oh, t

Re: Detect Motion in Camera-Images

2004-03-30 Thread Marco Tedaldi
Charles Lasnier wrote: Marco, How about this? Try putting a square of neutral gray cardboard someplace in the image where it will never move. Average a few pixels from the cardboard image and subtract that value from the rest of the image to account for lighting differences. Then take the im

Re: OpenG Coding Challenge - Remove Backspace

2004-03-30 Thread Marco Tedaldi
Jim Kring wrote: Hello Info-LV'ers, I have started a contest to create a high-performance VI that removes backspace characters (and the characters preceding them) from a string. The wining entry will become part of the OpenG Toolkit. (Note that VI Icons will be judged separately). http://www.ope

Detect Motion in Camera-Images

2004-03-25 Thread Marco Tedaldi
Hello G-Community :-)) I've had the chance to gain some expirience with programming in LabView. But now I have to solve a Problem in a field that's completeley new for me (i really love this job, something new everytime). I have a Camaera from which I grab an Image every second (with single-im

Re: Digital Control and Indicator Background Color

2004-03-21 Thread Marco Tedaldi
Jacoby, Kenneth wrote: I would like to programmatically control the background color of the digital controls and indicators on my front panel, but I cannot find that property listed on the property node for the indicators/controls. You can change it in the proterty node under "numeric text"/"text

need help in converting from 6.1 to 6.0

2004-03-11 Thread Marco Tedaldi
I have Labview 7.0 und 6.0 I need to transfer the VI from 7 to 6.0, but I can only save to 6.1. Could someone with Labview 6.1 please convert the vi, which can be found under http://www.marco.tedaldi.net/labview/ERG_read61/, to Version 6.0 and send it to me by Mail? Thank you very much in advance!

Re: selecting multiple files

2004-02-08 Thread Marco Tedaldi
ramssted b wrote: > I modified multi-selection dialogbox.vi and now i have an array of > strings that has paths of the selected files. > > How can i read these files one at time and make some calculation out > of them and after that create graph from the answers. Some kind of > loop perhaps? > Y

Re: Display 2 asynchronous Waveforms on a single chart (solved)

2004-01-27 Thread Marco Tedaldi
Ok, i could solve it by stacking 3 Graphs over each other and making the upper two transparent... It's really bad to handle when i want to change some propertys on the graphs, but thanx to the property-nodes they get aligned correctly after every restart of the program .-) Marco

Display 2 asynchronous Waveforms on a single chart

2004-01-27 Thread Marco Tedaldi
Hello I've got a setup where an external device sends measurement-data continiously to the computer. Sometimes only one channel, sometimes 2 or 3. It's no Problem to separate the data, but i don't know how I can display all the channels on a single chart. I never know, how many channels are act

Re: New front panel

2004-01-22 Thread Marco Tedaldi
Farzad wrote: Hi All, Suppose my main front panel needs to call for set of opperations which can be configuried. Is there any way to open new front panel for each function (operation). It means I need my main VI to act as a desktop for other functions to be called from it and be opened in new win

Re: Scan from String and Read from spreadsheet not working

2004-01-14 Thread Marco Tedaldi
Herbert KOLTSCHIK wrote: Hello Marco, what character are you using as decimal point in your text file (dot "." or comma ",")? Normaly I use the dot ".". But you're right, LabView wants a in some fields instead of a dot! If the language (English or German or something else) & country setting of th

Scan from String and Read from spreadsheet not working

2004-01-14 Thread Marco Tedaldi
Hello I've got LabView 7 in which I want to read in umbers from a text file (one column of floating point values, between 0 and 1) With the format-string %.3f oder %.6f it allways gets the right number of values (there are 9 Values in the file, and I get an array of 9 Values), but all the values a