Re: how to do a loop for controls

2004-03-12 Thread parimala
No problem.Any i got it workrd with your ideas.Thanks a lot.

Re: How to read *.bin file

2004-03-12 Thread shoneill
I'm not sure if I'm on the right track here, but if you're saving the file through LV, then a look at the code should reveal everything you need to know about the file. The easiest thing may be to write a VI to convert the data into a more Matlab-compatible format. This requires also that you

Re: serial TX completion

2004-03-12 Thread picerno
I have used VISA WRITE synchronously and VISA Flush I/O Buffer but indeed the problem persists. thanks

Re: Running data through multiple front panels simultaneously

2004-03-12 Thread ThomasG
All right Damien! The files i did send to you are LV 6.1 so that=92s a problem if you are using 5.0. But in words i did it like this. In the functions pallet i used Functions-Application control-Open VI Reference Functions-Application control-Property Node Functions-Application control-Close LV

ISDN Karte in LabView einbinden

2004-03-12 Thread nico
Hallo,ist es m=F6glich eine ISDN Karte in LabView einzubinden?? Ich m=F6chte aus einem VI heraus eine Telefonnummer w=E4hlen! Danke f=FCr die schnelle Hilfe. MfG N.Venske

Re: Why does one while loop stop after 3-4 weeks?

2004-03-12 Thread shoneill
The VI stops after 3-4 Weeks you say? This sounds familiar. Do you have a Timer(ms) function in this VI coupled with the stop criteria of the loop? The ms counter is an U32, which can hold max. 4294967296 ms, which equals 49.7 days. Note that the counter starts immediately when the computer is

Dynamically build VI using LabVIEW

2004-03-12 Thread Glenn Korendijk
I'm currently working on an application and I would like to be able to generate VI's using LabVIEW. I remember seeing something like this being used before, so I would like to know how one would go about accomplishing such a feat. The point is that I want to be able to use LabVIEW to generate

Re: Cycle trough an Arry

2004-03-12 Thread IBI
Thank you very much, my question is answered.

I cannot work on my vi and the investagate internal error...

2004-03-12 Thread nak
I cannot work on my vi and the investagate internal error found an objheap.ccp (1237). What can I do to solve this problem? I'm not able to do anything on my vi, that seems like breezed. When I launched the diagnostic tool, it found an OBJHEAP.ccp (1237) error

AT command CDMA LG phone diagnostic mode labview, after t

2004-03-12 Thread baiju_alex
I used At command to put CDMA phone to diagnostic mode, i used labview to send command after the phone was in DM i send some commands which end with 7E, the response from the phone is very difficult to interpret can anyone help?

Re: I cannot work on my vi and the investagate internal error...

2004-03-12 Thread nak
What can I do to eliminate the OBJHEAP.ccp internal error?

Different front panels within the same VI in LV

2004-03-12 Thread Victor_M
I've several subvi=B4s runnig on the main VI. I would like to show the front panel of these subvi=B4s in another window that appears if the user press different control buttons on the panel of the main VI. How can i do it? Just give me an idea or send me some examples. Thanks in advanced

how to sum all bytes in array and remove carry/overflow ?

2004-03-12 Thread Nok
Hi.. everybody !! I want to make bitwise operation in Labview. By the way,sum all bytes in array and remove the carry/overflow. Anybody has an idea about that ? Thanks

Re: Different front panels within the same VI in LV

2004-03-12 Thread nayisoe
well, there are several ways of doing this. you can use VI server, you can use open front panel when called. Try this link,a href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=5065000800E1BDUCATEGORY_0=_49_$_6_UCATEGORY_S=0; here/a

Re: I am using an HP34970a and I want to measure temperatures...

2004-03-12 Thread HoSk
With what are you going to shut down the motor? You must have a relay card in your Agilent 34970 or a separate computer controlled relay. I see two solutions 1.You can configure the Agilent 34970 to make alarms and pull a relay on a internal relay card to switch off your motor. 2. In your

Re: Control the LPT voltage

2004-03-12 Thread [EMAIL PROTECTED]
Hi, Yes, I know.. This is 1 more thing that I want to talk about.. what is the LPT port voltage? 5v or 12v? I think that 5v but I'm not sure.. 10q very much..

Re: Integrate IMAQ Vision picture into frontpanel

2004-03-12 Thread Greg McKaskle
I've tried a little more, with some logical operations (and or ...) of grayscale pictures, sometimes, theres color in the displayed result-image. Something must be wrong. Any Idea? The logic on the image and the display of the image are really unrelated. You can take a color image and

Re: I am using an HP34970a and I want to measure temperatures...

2004-03-12 Thread Joey Wood
Yes I am using the Agilent Alarm Card. What vi's am I missing?

How do I write data to a new file every 24 hours?

2004-03-12 Thread soleater
I have a VI set up to collect thermocouple data and write the data to a file. How would I configure LabView if I wanted the file writing to write to a new file at the start of each new day (at midnight)?

Re: Array of float32!

2004-03-12 Thread Greg McKaskle
The idea of buffers seems to be difficult to implement since the entire Labview is per sample oriented. Ah. This is making more sense now. In that case, I'd recommend wrapping the CIN into a subVI. You pass in the point and the while loop I desribed earlier is inside the subVI. From the

Re: how to transfer waveform graph to array

2004-03-12 Thread Shan
You have a couple of choices. You can use the FFT function in the Analyze Waveform Measurements pallette or you can use the Get Waveform Components function from the Waveform pallete. To create the time array you just build it knowing t0, dt, and the length of the amplitude array. Tim

Re: How do default values of indicators work?

2004-03-12 Thread Ben
Hi Steve, I have to confess that I am having a hard time folling this. Could you please post an example to clarify? Without that I will put forth a theory that may explain what you are seeing. First for the not wired to connector pane terminals. The will be set to their default state when the

Re: USB-Serial

2004-03-12 Thread James Huang
1,It is not a NI USB-Serial Convertor. 2,Unplug USB-Serial Convertor Cause Computer dead.

Re: USB-Serial

2004-03-12 Thread Chris Rake
I suspect that you will probably get similar behavior if you disconnect the USB-Serial from within any application (like hyperterm with the port open). You will probably have to contact the manufacturer of your USB-Serial convertor for support if the computer hangs (not just application hangs) as

Slick way trim 2D array from end?

2004-03-12 Thread zilla
I would like to trim a large 2d array from the end. Is there an easy way? Or do I have to break it down to a 1D, flip, trim, flip and rebuild? thanks

Why DB Tools Execute Query can't work correctly?

2004-03-12 Thread cnxht
I connect to a MS access database using Database Connectivity Toolset(Version 1.0.1).But I can't select the certain data useing DB Tools Execute Query.I have set condition statement to the SQL query (for example:SELECT * FROM testdata WHERE date=2004-3-12),but i received all the data of database.

Urgent! Web browser ActiveX control size messed up.

2004-03-12 Thread inhaler
Please help. The program was compiled in LV7. I use the web browser control to display some html file. Initially I set the size to fit 1024x768 screen. But the customer use the size 800x600 to install the program. after he reset the screen size to 1024x768, the web browser control size is larger

Re: Why DB Tools Execute Query can't work correctly?

2004-03-12 Thread cnxht
when i use DB Tools Select Data node,the same problem visit me.I set condition statement to the optional clause,I have received all the data in the DB.

copy graph to word using EMF(WMF) format

2004-03-12 Thread ealek
Hi I am using Labview 7.0 and I want to copy a graph to buffer so I can paste it to word/powerpoint in a vector graph format. Is there an easy way to achieve this?

Re: Slick way trim 2D array from end?

2004-03-12 Thread Ben
Does it have to be Slicker than the Array Subset ? Ben a href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=261HRedirected=TrueHUserId=101_3529RFORMNUMBER=6;Ben Rayner/a a href= http://volt.ni.com/niwc/common.jsp?page=products_certification_cldnode=10638; Certified LabVIEW

Re: How do I write data to a new file every 24 hours?

2004-03-12 Thread Dennis Knutson
One easy way is to base the file name on the current date. The Get Date/Time String function output can be formatted how you want (i.e. replace / with _) and then use the Build Path to create complete path. If this iw wire to the file write function, You'll automatically create a new file when the

Re: I cannot work on my vi and the investagate internal error...

2004-03-12 Thread shoneill
Try copying everything in one go into a new VI and saving this VI. Often this fixes any random corruption the VI may have suffered. Shane.

Re: Different front panels within the same VI in LV

2004-03-12 Thread Victor_M
Thank you for your help.The link you send me help me a lot for do it.

Re: Different front panels within the same VI in LV

2004-03-12 Thread Victor_M
Hi Nirmal Thanks a lot for answering, but finally I=B4ve achieved what I wanted. Best regards

Re: How to read *.bin file

2004-03-12 Thread BeckyB
Hello - This a href=http://digital.ni.com/public.nsf/websearch/2F8ED0F588E06BE1862565A90066E9BA?OpenDocument;KnowledgeBase/a discusses importing data from LabVIEW to Matlab. Good luck with your project and have a great day! Becky B. Applications Engineer National Instruments

Re: how to sum all bytes in array and remove carry/overflow ?

2004-03-12 Thread Robert Cole
If your array is an array of U8 type numerics, then all you have to do is sum the elements. This will return a U8. No carries. Sounds like what you're looking for. Rob

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread wwert
The difference is about a few degree. I am new for Labview, can you tell me how to caliberate the system. And I am using T-type thermocouples.

Re: Error 6 File Open

2004-03-12 Thread tbob
Are you re-initializing the array in your vi every time it executes? If not, the array will keep on growing. When you open the file for writing, what mode are you using, append or replace? If append, the file will continue growing, if replace the file will only hold the latest data. You have to

Re: Slick way trim 2D array from end?

2004-03-12 Thread zilla
Thanks that just what I needed.

Re: Why does one while loop stop after 3-4 weeks?

2004-03-12 Thread Richard Swent
I am using the Wait Until Next ms Multiple to time the loop, and the loop stop condition is a Boolean constant. I remember hearing about some problems with these ms counters a long time ago, but I thought that they were fixed in recent versions. Does the Wait Until Next ms Multiple function work

Re: Stereo Microphone Sound Cards

2004-03-12 Thread Robert M
Les, Any of the sound cards that are compatible with Windows will work with LabVIEW. Some of the top brands are: Aopen, Chaintech Inc., Creative Labs, Gainward/Card Expert, Guillemot/ Hercules, M-Audio, Turtle Beach/Voyetra, and Zalman Tech Co. Any of the cards from these companies with stereo

how to use g++ to build shared libraries for labview in linux?

2004-03-12 Thread I have a similar problem
does anyone knows if it's possible to compile a shared library in linux with g++ that could be recognized by labview? thks JP

Re: Boolian switches are not working

2004-03-12 Thread Dennis Knutson
I have not seen this behavior. Are you doing anything else with the Booleans in the program like using local variables or property nodes to set their values? If you are, you may have some sort of race condition that is evident now that the VI was recompiled for version 7. If you could post a VI

Re: Freezing Tab Control/State Machine

2004-03-12 Thread Victrick
The event handling is divided amongst multiple loops for the sake of encapsulating the related code - in the actual program, there are lots of controls on each tab and lots of events to handle. Lumping all the events together in a single event structure makes the code less readable then I would

Re: how to use g++ to build shared libraries for labview in linux?

2004-03-12 Thread David Duffey
Hi JP, Yes you can use g++ to build shared libraries that labview can use. You'll want to give your C++ library a C interface. This is really common practice. You can do this by simply declaring functions as 'extern C'. Here is a link with more information:

Re: Freezing Tab Control/State Machine

2004-03-12 Thread Dennis Knutson
I think the cause of the freeze is what's explained in the caveats to using event structures in the on-line help. To quote: National Instruments recommends that you place only one Event structure in a loop. When an event occurs in this configuration, the Event structure handles the event, the

Re: Timing the while loop precisely

2004-03-12 Thread Dennis Knutson
The only way to get that kind of determinism is with LabVIEW Real Time. You'll never get 1 ms with a Windows OS application.

Re: How do default values of indicators work?

2004-03-12 Thread Ben
PS If you create a local for that indicator and use that to wire to the indicator, everything works as I would expect. BUT, That just don't make sense! Ben

Timing the while loop precisely

2004-03-12 Thread Shreesha
Hi, I am working on communicating with a few devicenet devices using the I/O communication. In am using the Multiple I/O commuication vi for this purpose with a NI DNET PCI card. In this vi, there is a while loop running that gets and puts information into my various DNET

Re: What is LabView load error code 34?

2004-03-12 Thread Craig H.
Jack Remiasz, Let's see if we can get to the bottom of this. Which operating systems are you running and which VIs are you using? Also if you could include the text of the error message that would be helpful. Thanks! Craig H. National Instruments

Re: How do default values of indicators work?

2004-03-12 Thread Ben
I see your confusion! Two suggestions; 1) Repost just the puzzle version as a new questions and ask if this is a bug. I will watch for others to reply. 2) Report this as a bug to NI. I suspect this is one of those Don't do that! bugs. It appears the indicator is behaving as if it is a set for

LabVIEW 5.0 Application Builder User Manual

2004-03-12 Thread bubbles
Can I get the LabVIEW 5.0 Application Builder User Manual in .pdf format?

Re: DataSocket and two NICS?

2004-03-12 Thread Shea C
Hello nealpederson, Thank you for your question regarding DataSocket. You mentioned that you would like to communicate through two separate NICs using DataSocket. This feature is not available in DataSocket. One possible solution may be to run DataSocket server on the client computers and send

How do I call LabVIEW's ActiveX interface from .NET?

2004-03-12 Thread unDees
I'm trying to call a LabVIEW VI from C# using LabVIEW's ActiveX interface. I've successfully imported LabVIEW.tlb and can do a few simple things like load a VI into memory and run it. But things get more complicated when I need to use a cluster output from one VI as the input to another. The

Re: how do I use display a measurement from a load cell (attached to my serial port) in a front panel

2004-03-12 Thread Dennis Knutson
First you'll have to convert the string received from each serial port read into numbers. Use a Scan From String function on each serial port data to do this. To plot in real-time, the simplest thing to use is a chart. Bundle together the two numbers output from the Scan From string and wire the

Re: Control the LPT voltage

2004-03-12 Thread Craig H.
Reiss Rotem, LPT port voltage is between +2.4v to +5.0v for a TTL high and between +0v and +0.8v for a TTL low. Hope that helps! Craig H. National Instruments

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread Conseils
To CALIBRATE you must use a reference which is traceable to a national standard. I suspect what you want to do is check. Warning the following involves water which could be near electricity - take EXTREME CARE! There is also hot water and electricity - very dangerous if care is not

How to close TCP port in LV 4.1?

2004-03-12 Thread ksem
I've used the TCP Listen VI and the combination of TCP Create Listener TCP Wait on Listener to accept a socket connection. That works fine, but I do not want the app to listen for any more requests once it has a connection. I would expect TCP Listen to close the listener once it has a

I get internal error 2349!

2004-03-12 Thread cnxht
During the installation of the Driver CD, I get internal error 2349 during installation of NI-SWITCH 2.0.0. What is wrong and how do I fix this problem?

Re: how to use g++ to build shared libraries for labview in linux?

2004-03-12 Thread I have a similar problem
thks I will use your sugestion. JP

Re: run ssh command in labview

2004-03-12 Thread David Duffey
Hey JP, Does your problem stem from the fact that you have no way to enter your password? If so, you could setup a public/private key and use the authorized_keys file so that ssh never prompts for a password. Everything should work after that. You could also use an agent so that you only have

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread wwert
I have do something like this. However, I did not get a good result. For example, I keep the CJC constant to be the room temperature. then I put the thermocouple into ice watter system. It did not show zero. Should I change the constant? Or Change it to be 'bulit in', or anything else?

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread wwert
I forgot one thing, When the thermocpuple in the ice water system, the reading decreaced after a few second. Do you know the reason.

Generating a pulse train

2004-03-12 Thread sami
Hi all, I'm using PCI 1200 and i'm trying to generate a 2kHz signal from the output pin of counter 1 (pin 43). What i did is just placing a Pulse Train icon on the diagram window and connected the device # and the freq. I entered 1 for the counter #. When I ran the vi i got the following

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread Randall T
Both of the modules you mentioned have built in cjc sensors. You mentioned the 1303 terminal block then later called it a 1300. The 1303 should have a more accurate cjc reference than the 1300. I have not used the 1112 but since it is designed specifically for Thermocouple measurements they

Re: How do default values of indicators work?

2004-03-12 Thread Ben
It is as if the default value is being applied AFTER the VI runs. Ben

Re: How do default values of indicators work?

2004-03-12 Thread Ben
BUt then again, why would the default be applied? Still puzzled, Ben

Re: How do default values of indicators work?

2004-03-12 Thread Dr. Imad
An indicator that is connected to a terminal (if not updated) will pass its default value. But why you have to run the vi twice to make the indicator restore to its default value, that I do not know This is also an issue in version 6.02 that I have seen before (but never been woried about) If I am

New Control Labels are bolded

2004-03-12 Thread RobertVR
I place a new control on a front panel and the label is bolded. It just started doing this so what did I do to cause this? I have worked in Labview for years currently using Labview 7.0.

Re: New Control Labels are bolded

2004-03-12 Thread Dr. Imad
some fonts are set depending on how they are in windows settings (assuming Windows OS).. Check on these settings Also, in Labview menu, select Tools Options and then make sure the fonts are not set to bold. You may have pressed some keyboard key that automated that

Re: How do default values of indicators work?

2004-03-12 Thread Dr. Imad
It has been like that since the days of LabView version 3.1 (when I started using LabView. This is also true for controls. I have this note hanging on my cubicle since late 1996 The controls that are not connected use their default values The outputs (indicators) that are not connected use their

Re: copy graph to word using EMF(WMF) format

2004-03-12 Thread JoeLabView
Here is a link to past answers on this topic. Look at the bottom of all the answers... But the short answer is no simple method

Re: copy graph to word using EMF(WMF) format

2004-03-12 Thread JoeLabView
link: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=50650008007036UCATEGORY_0=_49_%24_6_UCATEGORY_S=0 OOps!

Re: Control the LPT voltage

2004-03-12 Thread [EMAIL PROTECTED]
Hi, I'm feeling very stupid because I've alreasy forgot what is TTL.. :-/ I looked in my book of the basic course I and I didn't find nothing about it but I read the part on the LPT connection.. All I remember is that TTL realated to a squre signal or something like that.. please remind my.. :-(

Re: copy graph to word using EMF(WMF) format

2004-03-12 Thread ealek
Hi Joel, Thanks. That is what i gathered also for making emf files (NI should really add this to their write to file menu btw), but I just want to copy my graph to the windows clipboard so then I can paste it to word/powerpoint as emf/wmf/jpg/etc. I know I can do it manually (using ctrl-c) when I

Need help on labview

2004-03-12 Thread kidkib
I have 6.0 labview with NI-6023E and CB-68LP. My goal is to run some samples of prtein solutions using a light scattering. However, I don't a clue how to program to capture the a plot of intensity vs. time of the solution using a laser diode and a detector. So, if there is an easy way to do it

Re: Stereo Microphone Sound Cards

2004-03-12 Thread Les Hammer
OK, Thanks. If anyone listening has one of these cards and likes it or hates it, please let me know. Thanks again. Les

Re: MSVCRT.dll

2004-03-12 Thread tbob
I believe that MSVCRT stands for MicroSoft Visual C Run Time. So this must be the run time library for Visual C programs. There is MSVCRT and a MSVCRTD library file in Program Files\Microsoft Visual Studio\VC98\Lib. The DLLs should be in the Windows\System32 folder (I use XP). I have Visual

Re: Who can I build music equalizer in LabView?

2004-03-12 Thread Conseils
Check out this link http://hamiltondesign-consulting.com/Cus_ctrl.html It does pretty much what you want in principle. For absolute db levels check out http://members.lycos.co.uk/sgctek/

Re: How can we change the name of dynamic events selector label in Event Structure

2004-03-12 Thread Jeremy Braden
I have used dynamic events a bunch and I do not thing there is a better way to do this. Your VI is an excellent example!!

Re: a doubt on stabilty of temperature measurement

2004-03-12 Thread wwert
I am new for Labview. So I didn't use the miniconnector. You mean the module can update the CJC temperature, it cause the decrease in reading from thermocoupes, right? Also I have not use resistor and my tcs were not grounded. So I can use the resistor, right? and how?

Re: I want the UV-meter instead of analog meter, where can I load this ?

2004-03-12 Thread Conseils
I looked at your code !! Anyway, I think your problem is the approach that you are using. You have constructed logic out of CASE statements and used Property Nodes to read values not yet set. You need to use the basic native logic functions built into Labview. Here are two example custom

Re: Having problems with Labview 7.0 after installing Windows XP Pro

2004-03-12 Thread BeckyB
Hello - Have you performed all Windows XP updates? This may help. Did you completely uninstall LabVIEW before reinstalling it? Make sure the registry values were wiped clean and then try a fresh install. a

Re: New Control Labels are bolded

2004-03-12 Thread RobertVR
Already checked Options/Fonts and they are still default in Labview. Using Windows 2000 where would you think to could look? The label font is the standard Labview application font but is bold,

Re: OLE Objects and Database Connectivity Toolkit

2004-03-12 Thread BeckyB
Hello - Have you tried any of the shipping examples for the database connectivity tookit? You can find them by navigating Help Find Examples Toolsets and Modules Database Connectivity. The Insert Example.vi may help you get started. Click a

Re: copy graph to word using EMF(WMF) format

2004-03-12 Thread zou
A) -- could not find how to select a graph for copying, the keyfocus property alone did not select the graph. You can't select an object, and copy it at run time. Only works when the VI is in edit mode. With keyboard simulation, you can copy the whole front panel to clipboard. B) -- don't know

Re: I want the UV-meter instead of analog meter, where can I load this ?

2004-03-12 Thread Dennis Knutson
Wow. That's pretty complex. Have you seen this A href=http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101RPAGEID=135HOID=506500080014C6USEARCHCONTEXT_CATEGORY_0=_49_%24_6_USEARCHCONTEXT_CATEGORY_S=0UCATEGORY_0=_49_%24_6_UCATEGORY_S=0;posting/A?

Re: How to set the correct time scale of VI ?

2004-03-12 Thread Greg McKaskle
The x-scale is always 01/01/1904 even after I selected the 'absolute time' option from waveform chart properties. If I add 2004 as offset of x-scale as suggested by the previous post, the waveform of the signal cannot be displayed, the system think it is still running in 1904.Could you give

Re: MSVCRT.dll

2004-03-12 Thread Enrique
nbort; To the best of my knowledge, the D in MSVCRTD stand for Debug. When you compile an application in Microsoft VC++, it first uses debug dll files that facilitates debugging your application. Debug dll are bigger than regular dlls. Once you finish your application and you know it work as

Re: using a microphone to measure speed

2004-03-12 Thread explorer
How to setup the microphone in order to measure sound.

Re: How do default values of indicators work?

2004-03-12 Thread Greg McKaskle
Before I go into the details, here is the basic rules to remember. Everything that comes into memory is given its default value. So we can take that one off the table. Objects not connected to the connector pane probably behave as you expect. The have the value written to it via local,

Re: Problems with ActiveX Callbacks in LabVIEW 7

2004-03-12 Thread Greg McKaskle
In a nutshell, when a lot of events fire in rapid succession, the user-interface locks up. I can't really replicate your problem since I'm responding to these on a Mac. But the event structure has a Boolean checkbox for Locking the UI during the processing. This makes sense for UI events,

Re: How do default values of indicators work?

2004-03-12 Thread Ben
I think that last part of :Fooling... is what I was missing. Ben

Re: to capture INTENSITY VS. TIME

2004-03-12 Thread Nirmal Sharma
Hi, NI-6023E module has total of 8 differential or 16 single ended voltage channels. Each channel can capture voltage values between -10 to +10 Votls. So for capturing the light signals, you have to convert these signals in the compatible voltage range suitable to above DAQ card. After you