Re: waveform chart question

2004-06-07 Thread LarsRoe
Try wiring an empty array into the "History" property.

Re: How to do timestamp conversion

2004-05-21 Thread LarsRoe
> I want to convert this timestamp to string. Use Format Date/Time String. > Also how to compare timestamp data type with string > timestamp. Because i want to read the time stamp > from file and compare with current timestamp. Why can't you save the time stamp value instead of the text? That w

Re: Beep in labview.

2004-05-10 Thread LarsRoe
The sound scheme is part of the Windows OS, not LabVIEW. Look in "Start >> Control Panel >> Sounds and Audio Devices". Now open the "Sounds" tab. I'm using XP, so it may be slightly different if you are using, say, Windows 2000. On the bottom, there should be a list of sounds, such as "Asterisk

Re: Beep in labview.

2004-05-07 Thread LarsRoe
On Windows, LabVIEW uses the default MessageBeep function. Look in "Control Panel >> Sounds and Audio Devices >> Sounds >> Sound scheme" and make sure you have a working scheme.

Re: how to get time stamp from Waveform chart ?

2004-04-24 Thread LarsRoe
Charts and graphs are indicators, so you have to look at it's source. If it is a waveform, use the waveform unbundler in the waveform palette.

Re: Crash when passing a pointer of an initialized U8 array to my dll file.

2004-04-20 Thread LarsRoe
It's because the array is not set up like the standard C array. Read "Using External Code in LabVIEW" in LabVIEW's help. Also, if you right-click on the Call Library Node and select the option to create a header file, the header file will show the data structure more clearly.

Re: Menus and EventStructures

2004-04-18 Thread LarsRoe
Yes, parallel event loops where they handle the same events are not a good idea. Try the Queued Message Handler template.

Re: unwanted dialogs

2004-04-15 Thread LarsRoe
I think you are talking abou the automatic error handling. You can change the settings in Tools>>Options>>Block Diagram .

Re: Shutting down LabVIEW runtime engine

2004-04-14 Thread LarsRoe
I'm not sure about how your specific application is set up, but here are some things to look at: 1) There are several VI Properties in the Window Appearance section that you can set, such as "Show front panel when called", "Close afterwards if originally closed", and "Show front panel when loaded"

Re: Get all control references of a panel returns different things on different PCs

2004-04-08 Thread LarsRoe
I tried a few different versions of LabVIEW, and I never get controls that are inside a tab control directly from the front panel's Controls[] property. So I'm guessing there is something odd about your development system. One possibility is the ini file (I assume both are Windows). I can't thin

Re: Labview crashes without any warning or error messages

2004-04-08 Thread LarsRoe
The access violation is a common and broad error, and by itself isn't enough information. If LabVIEW crashes every time when opening it, the VI is probably corrupt. Can you drop the VI as a SubVI onto your block diagram?

Re: Convert 1900/1904 date string to seconds

2004-04-08 Thread LarsRoe
Times in LabVIEW are based on 1904. If you need to communicate with the DLL, just add/subtract the number of seconds between 1900-1904. I believe that's 4*365*24*60*60.

Re: How do you avoid local variables?

2004-04-08 Thread LarsRoe
"The application note states that everytime you use a local variable, a copy of variable is made. Can someone explain to me why this is?" LabVIEW has to ensure that everything is reading and writing from one master copy, so simultaneous reads and writes do not collide. "Also, if I am writing to a

Re: If (port[MSR] and $10)=$10 Then Inc(value);

2004-02-18 Thread LarsRoe
'and' is being used as a bitwise operator, not Boolean. So we are testing for the single bit at value 16 (0x10). LabVIEW also works the same way with the AND primitive et al. when you use integers as arguments. You should be able to use the Port I/O VIs to do port reading/writing.

Re: Can the time/date text of a float indicator be displayed on a single line?

2004-02-06 Thread LarsRoe
Are you using LabVIEW 7.0? If so, you can set the format string to do that. Right-click on the control and select "Format and Precision". Select the "Advanced editing mode" radio button on the button and type the string "%<%X %x>T" into the Format string field at the top. You can read more about

Re: executable vi files in windows!

2004-01-13 Thread LarsRoe
It's integrated with LabVIEW. On the menu, go to Tools>>Build Application or Shared Library

Re: executable vi files in windows!

2004-01-08 Thread LarsRoe
Any application created from LV requires the labview runtime engine. On a side note, I don't know of any executables that are independent to dlls, even though the dlls are assumed to be on every OS. Even if you create a C program without specifying any dependent dlls, the default is to link with