minitel emulator

2004-02-25 Thread lodevo
does anybody knows a minitel emulator under labview?
thank you



how to create a help file for a VI

2004-02-25 Thread Mudda
I want to create a help file describing my VI. How do i do that by
clicking a control. How do I store the help file.



excel version and Labview

2004-02-25 Thread Greg Shipley
I am using LV 6.1 and Win2000 and MS Office 2000.  I have created a
simple form in Excel that I populate with data through Labview.  Has
anyone ran into problems with versions of Excel?  i.e. what version of
Excel do I need to create my spreedsheet in so all version of Excel
can access it when I call Excel through Labview?



changing color everytime it graphs

2004-02-25 Thread pshuk256
2 questions.

1. Hoe to smoothen out the graph. like 3 point or 9 point smoothing.

2. I am taking data and plotting it at the same time but each  time it
changes color. Is there anyway I can make it not to change the color.

thanks in advance..
In anticipation of help
-priiyank



I need to open/import a .bin file in to LabView

2004-02-25 Thread Researcher
I would like to open a .bin file in LabView for DSP purposes.



External library Same name of lib for windows and linux

2004-02-25 Thread Nitrof
I have a VI library, under Windows. This library contains a bunch of
SubVI who call our libAPI.dll We are currently adding support for
Linux. And, thus, have the equivalent for our libAPI.dll which is
libAPI.so for Linux. Is it possible to use a generic name in the field
for Library name or path API (without .dll or .so). So that when we
will create of Linux version of this library we wont have to edit all
of the Library name or path for each VI. We already tried to use the
subVIs under Linux. Labview asked to locate libAPI.dll. If we choose
libAPI.dll, then it works fine, but we do not want to have a question
asked to the user about locating API.dll under Linux.

Regards,

Nitrof



Engineering Career Opportunities in Connecticut and Massachusetts

2004-02-25 Thread PPB
Bloomy Controls is seeking engineers with strong LabVIEW skills and
experience for the following career opportunities:
o Project Manager -- Milford, MA
o Project Engineer -- Milford, MA
o Associate Engineer -- Windsor, CT.

Outstanding employee benefits include medical, dental, disability,
pension plan, and profit sharing.

Visit http://www.bloomy.com/careers.htm to view job descriptions,
requirements, and application information.

Bloomy Controls is an NI Select Integration Partner.



can i use a counter input for a encoder feed back reading i 6014 daq card

2004-02-25 Thread vicky
i want to read a encoder input{A and B} using a 6014 daq card,i plan
to use  the 2 counter inputs given,can i use it and can any one tell
me how.



Memory error

2004-02-25 Thread Pier Giuseppe
My application crashes for memory error on LVS61D5 module after
several hours of running. The application is built using Labview 7.0
and frequently calls one CIN (Visual C++ compiled) that controls one
ISA acquisition board.
Large amount of RAM is used in the CIN C++ code (up to 2560KB) to
temporarily  save data.
PC runs Windows98SE and 512MB of RAM is installed.
Any suggestion?
Thanks



Run-time licenses

2004-02-25 Thread tjbretz
We are looking to upgrade a Labview 5.1 Professional (with 5 run-time
licenses) to 7.0.  Our understanding is that all 5 run-times must run
the same executable built from the Application Builder.  Is this true
or can we have different run-time executables?

Thanks,
Tim Bretz



passing data to subvi

2004-02-25 Thread Ya-hoo
I need to pass data to a subvi which has while loop inside. And the
data need to be seen in while loop. How can it implemented?
Thx.



incrementing file path?

2004-02-25 Thread Blackj
I have a for loop that is going to write a number of files. I wish to
name all the files differently bu have to many file to type in a new
name each time. I there a way to say add the loop iteration to the
filepath to create a contiuously changing file name? E.G iteration 1,
Datafile1
iteration 2, Datafile2..



RS232 questions...

2004-02-25 Thread israelsze1
please your advise..
i am using now the trial version..(labview#7)
when i run the application few times
all indicators preserve last response/status
and it is not good for beginning the next RUN...
how can i PRESET or CLEAR my controls on front panel
to a default value/status?



Error 8 at New File

2004-02-25 Thread Ray Friddle
Well, I have read several posts about this error but they all seem to
deal with "opening" a file. I am getting this error when I use the New
File VI from the advanced VIs under File I/O.

I'm running Win XP but I don't have MS Office so I don't think that
Fast Find program could be the problem. I've also tried wiring 0 to
the deny terminal and still no fix.

Note: I do have the LV7 demo installed on my comp, so if that raises
any red flags, please let me know what you're thinking.

If anyone can help me out here it would be great. Thanks.



High speed data logger VI

2004-02-25 Thread Blore
I have two questions regarding the high speed data logging VIs
available at the following link

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EE4756A4E034080020E74861&p_node=DZ52303&p_submitted=N&p_rank=&p_answer=&p_source=External

1) When we retrieve the data is it in decompressed form and do we get
back the original resolution?

2) Is it possible to use the VIs with 4472 card? If not can somebody
make it compatible with 4472?

Regards,
Mondeep



email MS Excel file attachments

2004-02-25 Thread lmd2
I am trying to send an email from within LabVIEW 7 using the SMTP Send
Multiple Attachments.vi
I need to attach an MS Excel file (.xls)
The recipient gets the email with attachment, but the file is
corrupted (invalid format) and can not be opened. Is there an example
of how to accomplish this?



PID with 2 slider controls

2004-02-25 Thread cmiranda
I've never messed with PID's but I'm working on a project that I
thought would be simple until someone told me that I needed to
calibrate my system to another system using PID's.

So here goes with the question.  I have a pedistal that moves in the
up/down (elevation) and right/left (azimuth) positions.  I am to track
an object based on elevation and azimuth readings from another
pedistal.  So before I can track the object I need to sync, or
calibrate, my tracking system to the other system.  The way this is
done is by pointing both systems to the same location (say the top of
a mountain).  If the master system reads 35 degrees azimuth and 88
degrees elevation and my system reads 34.02 degrees azimuth and 89.20
degrees elevation I need to fine tune my system.  I can do this by
using 2 slider bars that control the up/down and left/right movement
of my system so that I can manually move my system to the correct
location.  Once my system is pointing in the right location, I'm
guessing I store some value.  Once the system is calibrated, I should
be able to track pretty close to where the master system is telling to
be.

So thats pretty much all I know I should do.  But I don't know how to
develop this with PID's.  Does anyone have any suggestions, example,
etc?

Thanks.

--cjm



DataSocket & Java Applet

2004-02-25 Thread ggingras
Is it possible to program a java applet to access information from
instruments using DataSocket? Is there an API? There is an API
announced on this website:
http://flagpole.mit.edu/applets/DataSocket/DS-HOWTO.html
It says it's a Beta but I cannot acces the link that redirect on NI's
Website



question abt "propery node"..

2004-02-25 Thread israelsze1
i am using the "propery node" to set
the "VISA READ" control

its  node "termination character enable" does not affect VISA
functionality

when termination character exist (or default)
the "enable" does not affect..

please your advise..

thanks
simon



Template in runtime

2004-02-25 Thread C. Allen Weekley
What happens when a VI template (.vit) is opened in the LabVIEW
Runtime?  Does it open a file with a new name as it does in the
development environment?

Allen



Phase displays? Compared to what ref?

2004-02-25 Thread whatsup
I am using Labview 7 and I have a question about some of the new
features. I am trying to input 2 channels and graph the output
amplitude and phase difference. I have tried using the "new"
interfaces for "spectral" and "tone" measurements but I am unable to
achieve the desired results. I am trying to see the vis that make up
those fancy interfaces to see how they work. Anyone know how to view
them? How are the phase difference numbers generated in the tone and
spectral measurements?

My program is just 2 simple inputs and I would like the signals
displayed on a graph displaying amplitude and phase difference. The
phase can be a graph or just a simple number indicator. So far no luck
with any approach. I have checked the web site for examples and
nothing that simple.

Thanks for any and all help.

Dave



Optimizing serial buffer read speed

2004-02-25 Thread Amir P.
In my program I am sequentially grabbing 69 bytes from the serial at
38400 baud rate.

However, the rate at which my VI is grabbing the data is too slow. Are
there any methods of making it faster, assuming that I cannot use a
high speed serial?



waveform chart shifts first point by 50

2004-02-25 Thread JayB
I am plotting 20 points of data using the Waveform Chart. The data is
sent to the chart as waveform;
t0 = 180, dt = 5, Y = my data points.
I am using the XScale.Range property to set the following:
Min = 180, Max = 280, Increment = 10, Minor = 5, Start = 180.
When I send the data to the chart it starts the X scale at 130 and the
data at 180, the when the properties function is executed it shifts
that chart to start at 180 (the correct format)
No matter what my start position (i.e. 200 instead of 180) the X scale
always starts 50 positions below my t0 and then updates when the
property node is run.
Why does LV extend the beginning of the X scale like that when you
write data to the chart?



Labview Locks Up Opening Chart Properties

2004-02-25 Thread Kirk
Sometimes when I open up a properties dialog box for a waveform chart,
the Labview 7 locks up.  Other times it takes a long time to update
the entry and go on to the next.  Especially when editing the plot
names. This seems to be always when I have a waveform chart that has
multiple wave forms going into it and they are stacked plots. Any
idea?  It is very frustrating.



Errors 410 and 420 with Agilent 34970A

2004-02-25 Thread Arrington
Hello, all.  I'm helping a colleague with an application measuring ten
channels each of temperature, frequency, and current using an Agilent
34970A DAQ switch (GPIB) and LabVIEW 7.  We keep getting errors 410
and 420 from the switch.  When the error occurs, then the switch
doesn't report all 30 pieces of data.  I'm looking for ways to a)
clear the error; and b) prevent the errors.
Thanks in advance,
-Dan A



why the output strings are error codes?

2004-02-25 Thread gemstone
Hi,
   I have made some bit twiddling operations.but the output are error
   codes after running every time.for example,the output strings are
   error codes when I make bit twiddling to the input binary
   "00001111".Could anybody tell me the reason why bit twiddling
   deos not work?
  yours sncerely



Labview window scrollbar won't enable

2004-02-25 Thread Jim from DME
A very frustrating problem. Have you ever been editing with a labview
window (6.1) when suddenly you notice that the scrollbars on the side
and bottom of the window are no longer enabled? It happens very
infrequently but when it does the only way I can edit around the
window is to drag an object to one extreme or another to make the
window move. Except for the scrollbars not functioning everything else
seems to be fine, the vi still functions correctly. I would say, in
the last year, this is the third time this has happened to me, so it
doesn't happen that often. I think it is somehow related to using type
defs but I can't be sure. If I try to copy all the code to a new
window I get an Insane Object error. If anyone is familiar with this
problem I'd sure appreciate some help! Thanks.



error -2147221480 occured at building dll stub

2004-02-25 Thread wewe
I am trying to create a LabView Dll, however i keep getting this error
whan i attempt to build it.  I have created Dll's before but all of a
sudden it just stopped working.  Has anyone else seen this and can
shed some light?  I'm using LV 7.0



Real time feedback control using E series DAQ

2004-02-25 Thread Sandhya
I am doing real time feedback control(PID)that controls (drives) the
up/down motion of Z-piezo in atomic force microscope (AFM) using a E
series DAQ NI6025E.I collect a single scan of data from the AFM,
perfom some analysis on it,update the driving signal based on a
measured value and send out the updated signal to the AFM. I am having
problems with synchronisation. Which is the best sync. mechanism
(trying to use AI START SCAN VI- using PFI7 pin of E series DAQ).



What differences are between VI templates and VI?

2004-02-25 Thread Bichillo
I am reading the User Manual( Labview 7) and  I don=B4t umderstando what
differences are between save one Vi as *.vit or *.vi?I would like to
know the differences beteween vi templates and vi!!!
Thank you!!



Can't control the HP3325b (error code:Hex:BFFA0010)

2004-02-25 Thread MusicIsLive
Dear all,
i am now writing a vi to control the HP335b,
when i run a simple driver's vi (like getting started.vi) i found that
the "ag3325b Configure Standard Waveform.vi" got a error and the error
code is Hex:BFFA0010
ag3325b Configure Standard Waveform.viDriver Status: (Hex
0xBFFA0010) Invalid value for parameter or property.
what should i do to recover the error?
p.s.i am now using LV6.1 with visa3.0 and IVI Compliance Package 2.1
installed.
Thanks all~~



setting a single button to do a task in different loops

2004-02-25 Thread dogbert03
I have two separate while loops and I want a single button to perform
the same task in both loops. Is there a way to configure this or am I
stuck with having 2 buttons?



How can I force the close of a third party ActiveX server.

2004-02-25 Thread codeman
We have a third party ActiveX executable that refuses to shut itself
down once in a while.  And when I say once in a while, I mean one out
of every 20-30 times it's attempted.  All termination commands are
being sent and recieved properly, and all refnums are being closed.
No errors are ever generated, all operations report successful, but
the thing just won't die.  Problem is of course, that if we attempt to
restart our software after the ActiveX app fails to terminate, it
generates server execution errors when trying to open a new instance.
We are not expecting a speedy resolution from the third party, but it
is becoming a great inconvenience for our customers.  I would like to
be able to kill the process through the OS as a last resort.  Problem
is, to do that I need a ProcID. Is there any way to retrieve a ProcID
for the ActiveX server through LabVIEW?  Alternatives and suggestions
are welcome.



Is the output from an auto power spectrum complex valued?

2004-02-25 Thread St Augustine
i want to display the fourier output of some ascii data that i saved
to a text file. however the input to the FFT block must be complex
valued.how am i to know what i see is actually the fourier
analysis?please help



I want to make a arrow picture blink when The Load cell is travelling down

2004-02-25 Thread Skegsy
I want to improve my app by putting some visual indicators in the form
of  2 pictures , an arrow up and down , and would like these to blink
according do wich way the numbers are going positive or negative when
the data values on the displacment channel are changing ,Cant seem to
find any vi to help manipulate the pictures , Blinking would be Ok or
even better one disapear and the other appear when the numbers return
negatively.??? any help appreciated
Kind regards
Brett Scott
[EMAIL PROTECTED]



Re: labview problem

2004-02-25 Thread Joe Guo
There are two VIs called "Wait" and "Wait Until Next Multiple" from
the "Time & Dialog" pallette which you can use to delay your each send
operation.

Joe



how can I put data in an array which will be used in SPC plotting

2004-02-25 Thread chrisboo
In my program, it will generate data continuously and I would like to
store these data time to time in an array. Could you suggest me a
method?
For example, 1.77,1.67,1.56,1.89,1.99... (these data generated
continuously)
1st second: 1.77 1.67,1.56,1.89,1.99( store in array)
After 1 second: 1.67,1.56,1.89,1.99,1.33 (remove the first one data in
the array and replace it with the following generated data)
How can I remove the data in the array and replace it with the other
data?
Could you give me some examples?
Thanks



Hitting Back Space in Remote Panel while entering character in string control

2004-02-25 Thread A. Senthilnathan
I am using Remote Panel in my application. I use string control where
user enters some information through remote panel to the software.
While entering the info in the string control in remote panel (using
IE 6), If i mistype any thing and hit back space, IE goes to previous
page. Instead I would like it to delete the last character i typed in
string control.

Is there any setting in the IE to disable the back space fucntion? Or
Is there way to set the LV RT engine to take the back space in remote
panel.

please help me solve this problem.

Thanks,
Senthilnathan A.



Re: email MS Excel file attachments

2004-02-25 Thread ER
I believe that there is an Email with Data.vi example that should help
you.

However, it should be pretty straight forward.  As an example:

1. Open SMTP Email Send File.vi
2. Fill out the recipient's email address in recipients
3. Fill in the subject
4. Fill in the message
5. Fill in the path to the Excel file in file path
6. Click the binary? boolean to be True.
7. Fill in your return address.
8. Fill in you mail server's address
9. Make sure the MIME content-type is set to application/octet-stream

Run the VI and everything should be fine.  I just did exactly that and
the xls was sent without a problem.

Hope this helps!



Re: Problem building a VI to test a dll.

2004-02-25 Thread Ajit
Hi Guys,

I could figure out the way to do this, Thanks a lot.

Ajit



Re: PID with 2 slider controls

2004-02-25 Thread Dr. Imad
If I understood you correctly, you are reading the two current
positions (1)-up-down  and (2) left-right,  and you have two set
points (one for the up-down and the other for the left-right position,
read by the master.  And the objective is to make the readout for the
positions as close as possible and ideally equal to the set points.
Assuming the up-down and left right positions are independent, you can
use two PID Loops to address this problem.  One for the up-down, and
the other to control the left right.
Normally, a PID loop takes two inputs:  The SetPoint, and the
corresponding readout of the system.  It calculates an output signal
(to the data acquistion system ) that moves the system in a way so
that
(The Set point =96 Readout ) becomes ideally zero  (no error).
The other parameters are the tuning parameters. They control the speed
and overshoot of the response, and they have to be properly selected.
A system that is poorly tuned may oscillate and can cause damage
(depending on the setup)
There is an example that ships with LabView and it has a basic PID
controller that you may want to look at first.
A good PID loop should have a mean of setting it in manual mode to
make it take any preset voltage (this is what you probably mean by
calibration).   The basic loop example that ships with LabView does
not have that.  You have to modify it (assuming you have the basic
understanding of the Pid Algorithm), or purchase a PID kit from some
vendors.  NI have a PID kit that also can autotune the parameters.  Or
you can get someone from your neighboring school to help you with the
algorithm



Re: Test

2004-02-25 Thread Kermitthefrog
John,
This seems to be working, let us know if you continue to have
problems.

Regards,
Sarah



Bring a Calling VI's front panel to the front of the desktop

2004-02-25 Thread NJG88_TG
My main VI calls sub vi's which open and close or sometimes not but
the main VI should come to the front when executing in its own domain
such as when it is time to select another choice.
The question is " How can I make my VI come to the front of the
desktop when needed?" IS there a foolproof way?
Thanks



Re: Open Access from Labview

2004-02-25 Thread Jeremy L
Hello,
The preferred method of database communication with LabVIEW is the
Database Connectivity Toolkit.  http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f763aa1d7cd3c83d862568e8007c51cd?OpenDocument";>Here
is a link that may help you find more information about this.  Also,
you may want to look into some examples that have shipped with
LabVIEW.  They are found under "..LabVIEW\examples\comm\access.llb"

Jeremy L
National Instruments



Re: how to create a help file for a VI

2004-02-25 Thread Enrique
Hi Mudda;

Assuming you are using Windows, with LabVIEW, you can create the
necessary files to create a help file, but you can't create the help
file. In order to create your help file, you need a WinHelp compiler.


Also, what LabVIEW allows you to do is to create a file that
correspond to the documentation of you VI, so you need to fully
document you VIs first.


To document you VI, go to File -> VI Properties and select
"Documentation" from the menu. You can access the VI Properties also
by Right-clicking the VI icon in the top-right corner of the Window.
To document the controls and indicators in your VI, Right-click the
control or indicator and select "Description and Tip...".


To create the documentation files, go to File -> Print. At some point,
you will have the option to select a Destination. Select "RTF File" to
generate the files a WinHelp compiler understand.


As you will see too, you can also create html files for your VIs. It
can be a good alternative for WinHelp files.


There are some nice Help editors outhere. I use HelpScribble. You can see a very simple help file I
created with HelpScribble in my small projects http://www.jyestudio.com/labsec/tools.shtml";>VI Background
Check and http://www.jyestudio.com/lview.shtml";>VIs for
DeployMaster.


Regards;
Enrique Vargas
www.visecurity.com



Re: using MS Databound grid in Labview

2004-02-25 Thread GrantM
Hello,

I am not familiar with the databound grid control you refer to or with
databases in general.  However, instead of recreating its
functionality, you could look into the LabVIEW Database Connectivity
Toolkit which simplifies database communication.  You can find out
more information about this toolkit by going to
http://www.ni.com
and clicking on "Products and Services."  Click on the LabVIEW picture
under the Software column.  Scroll down to "LabVIEW Add-Ons" and
select the "Database Connectivity Toolkit" from the drop-down box.  A
direct link is http://sine.ni.com/apps/we/nioc.vp?cid=6429&lang=US";>here.

I did look into using this control.  One reference I found (http://dbforums.com/arch/130/2003/10/358690";>here) says that
the DataGrid control has replaced the Databound Grid control.  The
Microsoft DataGrid control is available as an ActiveX object in
LabVIEW.  Can you elaborate on not being able to set the record
source?  I was able to put an ActiveX container on the front panel and
insert into it a "Microsoft ADO Data Control."  If you right click
this object, go to Adodc and then ADODC Properties, a properties
window pops up.  At the bottom you can set the connection string.
There is also a tab at the top labeled "RecordSource."  Will this
allow you to set the record source to what you require?

As for how to bind the ADO data control to the DataGrid control, you
will need to know the series of ActiveX commands to do this.  Once you
know this, you can execute these commands in LabVIEW using the ActiveX
palette which is located in the Communication palette.  You can also
browse the example finder for help in using ActiveX.  To open the
example finder, go to Help, Find Examples. The ActiveX examples are
located under the "Communicating with External Applications" folder.

If this does not answer your question, can you post some example code
illustrating what you are trying to do or perhaps elaborate more on
which parts are causing the problem?  Also, I did not understand your
comment about running out of screen space.

Happy coding,

Grant M.
National Instruments.



I pull fiftyfour bytes of data from MicroProcessor's EEPROM...

2004-02-25 Thread Deeply Annoyed
I pull fiftyfour bytes of data from MicroProcessor's EEPROM using
serial port.  It works fine. I then send a request for 512 bytes and
my "read" goes into loop condition, no bytes are delivered and system
is lost

I pull fiftyfour bytes of data from MicroProcessor's EEPROM using
serial port.  It works fine. I then send a request for 512 bytes and
my "read" goes into loop condition, no bytes are delivered and system
is lost



Re: Array from C function

2004-02-25 Thread pawel
Hello Helmut

Problems with arrays is that you must reserve some space in memory for
them. You can do it from CINs using the "memory manager" from CIN
tools, but the easier way is to build the array in LabVIEW and pass
the pointer top the dll. Inside DLL use this pointer to load the data
to it and return back. In this way dll does not have to make a memory
space for array.
The disadvantage of this is that you need to know what the size of the
array is in order to initialize the array before calling the dll.

If you need some more of it try looking into: "lvexcode.pdf"

hope it helps.
Pawel



Re: P4 Hyper-Threading and LabVIEW7Express

2004-02-25 Thread bboyce
I have similar problems with ActiveX VB DataSocket component and
DataSocket Server. I have a dual processor XEON machine and if I
enable either the second processor, or hyper threading then the
application in the auto-read mode (answering interrupts that are sent
from the server to a subscriber) will often miss interrupts.  After a
couple are missed then things seem to be all jammed up and no more
interrupts are answered.  However, this is only for transfers of large
data arrays and does not seem to affect transfers without interrupts
of boolean attributes.  Have not tried all other permutations of
varible types and attribute types, but I think it is clear from the
other comments (especially Elisabeths's) that hyper threading and/or
dual processors can not be relied on.

Brad Boyce



Re: Further Examples for the Picotech ADC200 Series

2004-02-25 Thread GrantM
Hello Wayne,

A good place to start for example code is the product manufacturer and
it seems like you have already done that.  National Instruments also
provides example code we have created as well as from other users.
You can search this library by going to
http://www.ni.com
and clicking on Support.  In Option 3, click "Example Code" and you
can search there.

Another option is to search the instrument driver network for your
hardware.  You can search the instrument drivers by clicking
"Instrument Drivers" from Option 3 of the support page.  Then either
click "Download" on the left hand side, or "Search Drivers" under "Top
Downloads."  Instrument drivers often come with an example VI which
shows how to use them.

Unfortunately, it looks like neither place has any examples for your
specific product.  We are unable to provide examples for every
product.  However, if you'd like, you can click the "Driver Request"
link on the instrument driver page.  If enough requests come in for a
particular product, we will create a driver for it.

Good luck in your application development.

Grant M.
National Instruments



Re: Communication with AOL Instant Messenger

2004-02-25 Thread Jeremy L
Hello,

LabVIEW does support ActiveX controls, which I believe would be the
way to access AOL Instant Messenger.  However, I do not know of any
current ActiveX controls that have been published by AOL for free
development purposes.  You may want to go browse through AOL's website
for this control.  Otherwise, I have seen some ActiveX Instant
Messenger applications that have already been created by other
third-party vendors.  You might want to take a look at those as well.
Let me know if you find anything!  Good Luck!

Jeremy L
National Instruments



Re: Memory error

2004-02-25 Thread GrantM
Hello,

Can you provide any additional information about this memory error
such as the error message?  Also, is this a LabVIEW memory error or a
Windows memory error?

Crashes in LabVIEW when working with CINs are frequently caused by
errors in the C code of the CIN.  Since a crash doesn't happen for
several hours, it might be a small memory leak which eventually
crashes your application.  A large amount of memory is being used by
this CIN and it is called frequently.  The likely cause of the crash
is that something is not being deallocated properly or perhaps the
parameters are incorrectly passed to the CIN.

For some information on using CINs, go to
http://www.ni.com
and click on Support.  In Option 3, enter "memory error CIN" (without
quotes) in the Keyword box.  The first link should be a KnowledgeBase
referencing memory errors.  A direct link is http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a4573dda218e5f0d862567a600666192?OpenDocument";>here.
This will give some information.  In the "Related Links" section at
the bottom, there is a reference to the Code Interface Reference
Manual.  If you follow that link and open the PDF (http://www.ni.com/pdf/manuals/320539d.pdf";>here), you will
find a lot of information on using CINs.  On page A-2 of Appendix A,
it talks about VIs containing CINs crashing LabVIEW.  However, this
reference is not the most up to date.  To find the current
information, open LabVIEW and go to Help, "Search the LabVIEW
Bookshelf."  Under "Concepts and Techniques," click the "Using
External Code in LabVIEW (PDF only)" link.

An easy way to test if the CIN is causing problems is to enclose the
CIN inside a case statement.  Make it the false case and wire a true
constant to  the case.  This will disable the CIN from being called.
In the true case, generate (randomly or statically) the same amount of
data that the CIN returns.  Try running your program this way for
several hours and observe if it still crashes.  If not, the problem is
with the CIN and you'll need the source code to debug it.  Also, if
this board is made by NI, try using the VIs rather than a CIN.

Happy coding,

Grant M.
National Instruments



Re: error -2147221480 occured at building dll stub

2004-02-25 Thread JDesRosier
Hello,

Thank you for contacting National Instruments.

I understand that you're experiencing issues when trying to build a
LabVIEW dll.

Fortunately, there is more information regarding this problem within
our online knowledge base. See the following link.

http://digital.ni.com/public.nsf/websearch/0DFFE3BA861E689686256CAA006BA7F1?OpenDocument

I hope this helps. Please don't hesitate to notify me if you need
further assistance. Have a great day!

Kind Regards,

Joe Des Rosier
National Instruments



Re: reading binary data

2004-02-25 Thread Dennis Knutson
For reading binary, there's one example called Read Binary File that
reads a file of DBLs. You can modify this to read whatever you want.
If your data is integers, wire an I32 constant to the byte stream type
input of the Read File function. If your data is floating point,
replace with a SGL constant. Both I32 and SGL are 32 bits so you'll
have to know what the files were saved as. There are also a couple of
functions on the File I/O>Binary File VIs palette that you should look
at. They are Read From I16 File and Read From SGL File. They can also
be modified and saved as different names. What you have to do is find
the subVI that has the File Read function in it and change the byte
stream type to match the format of your data.

Once you've read the data, then the easiest way to save it as text is
the Write to Spreadsheet File function on the File I/O palette.

If you have problems, it would help if you could attach a file with
sample data and details on how the file was created.



Re: where can i find additional DDE resources???

2004-02-25 Thread GrantM
Hello,

Dave has posted a couple of example programs which use DDE in LabVIEW.

You can find a tutorial by going to
http://www.ni.com
and clicking on "Support."  Under Option 3, search
"Tutorials/Application Notes" and enter "DDE LabVIEW" (without quotes)
into the keywords box.  One of the first links that will appear is
"Using DDE in LabVIEW (Windows Only)."  It is a tutorial which
introduces DDE and LabVIEW.  You can link directly to it http://zone.ni.com/devzone/conceptd.nsf/webmain/14134D7CE042EDBF86256A3A006BD87C?opendocument";>here.

LabVIEW also ships with a couple of DDE examples.  In LabVIEW 7.0, you
can find these by going to Help, Find Examples.  In the Browse tab,
select Task and navigate to "Communicating with External Applications"
and then to "Dynamic Data Exchange (DDE)."  If you are using a
different version of LabVIEW and unable to locate these examples,
please let me know.

The DDE functions are no longer in the palettes as of LabVIEW 6.0.
You can still find them in
Program Files\National Instruments\LabVIEW
7.0\vi.lib\platform\dde.llb.
However, we recommend that you use ActiveX instead of DDE.  There are
quite a few examples for using ActiveX in the Example Finder under
"Communicating with External Applications" and then "ActiveX."  You
can also find an introduction to ActiveX by searching the Tutorials
and Application Notes like above.  Searching for "ActiveX LabVIEW"
(without quotes) will return a link to a tutorial named "ActiveX and
LabVIEW."  A direct link to this document is http://zone.ni.com/devzone/conceptd.nsf/webmain/5401BE584FBAEECE862567C2006D36C7?opendocument";>here.

If you need to use DDE, see if these resources will provide the
background you require.  If you are flexible, try using ActiveX as it
is simpler.  Feel free to post again if you have additional questions.


Happy coding,

Grant M.
National Instruments



Re: Uninitialized array\cluster takes CPU power

2004-02-25 Thread Shea C
Hello tst,
Thank you for your inquiry regarding CPU usage when using an array
covered by a control. After running the VI I understand the problem
that you are having and this problem does exist in standard LabVIEW
7.0. It takes a lot of resources to update a front panel when
controls/indicators are layered on top of each other. I=92m not sure
exactly in what situation you might need to place controls on top of
each other and I assume that you need all of the features that you
mentioned resolve the problem. One possible solution would be to rid
the VI of the =93Array=94 local variable. This seems to speed up the
update rate and solve your problem. Typically variables and especially
global variables seem to slow down performance. The following link is
one resource when troubleshooting this behavior.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=3D101&RPAGEID=3D135&H=
OID=3D50650008002751&UCATEGORY_0=3D_49_%24_6_&UCATEGORY_S=3D0&U=
SEARCHCONTEXT_QUESTION_0=3DVertical+Slider+Control+%28Classic+Control%29+ta=
kes+50%25+of+CPU+Time+when+Loaded+in+Memory+Only&USEARCHCONTEXT_QUESTION_S=
=3D0

Other responses similar to this can be found on the ni.com website by
clicking the support tab at the top of the home page. Then search for
=93Memory and CPU usage=94 from Technical Resources at the top of the
page. I hope these resources help. Let me know if I can further assist
you.

Shea C.
Applications Engineering



Re: What happened to the Developer Exchange?

2004-02-25 Thread Kermitthefrog
Hi Ben,
I posted a full explanation to this question in the http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=304&HOID=5065000800F4C0&USEARCHCONTEXT_CATEGORY_0=_49_%24_6_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0>
LabVIEW General Insights .

As to your question about lost work, for many posts that were created
after the 17th, we lost the association with the user name.  A
question, like this one for example, was replicated back from our NNTP
newsgroups (comp.lang.labview) and we lost both the user name the post
ID.  So, we won't be able to record this in your stats, and you won't
receive an email notification of my response.

We back up the Developer Exchange nightly.  We decide to revert to a
backup from the 17th because our research indicated that this would be
the safest back-up to restore.

We're now working on ways to mitigate the risk of the error occurring
again.

I do apologize for any inconvenience or confusion this has caused.

Regards,
Sarah Patterson
Web Support & Operations Manager



Re: Run-time licenses

2004-02-25 Thread Robert Cole
I remember the 5.1 licensing. It used to be that you could distribute
an EXE that you made with LV5.1 to 6 (I remember the number 6) other
computers, but you could distribute the EXE to as many computers as
you had NI cards in (and only NI DAQ, GPIB, etc. cards - no other
vendors). We thought that was pretty bad. You had to purchase the
right to distribute wider.

LV7.0 (and 6.0 and 6.1) does not have that limitation. You can
distribute your EXE files as far as you want. Much more reasonable
policy. You just can not distribute LabVIEW itself (of course). But
since the LabVIEW run-time engine is free, that's not a problem.

 Rob



Re: why the output strings are error codes?

2004-02-25 Thread Dennis Knutson
What bit twiddling are you doing and what kind of error codes are you
getting? As one of your previous questions pointed you to the bit
twiddling challenge, it's certainly possible to do in LabVIEW but a
bit more information is required. Posting an example VI with help a
lot.



Re: Errors 410 and 420 with Agilent 34970A

2004-02-25 Thread Dennis Knutson
According to the manual, 410 is Query Interupted and 420 is Query
Unterminated. The first can happen when you send a query but there is
still data in the output buffer. If you've requested a certain number
of bytes during a read, you probably need to increase that number in
order to sure that all data is retrieved. A Device clear command will
clear the error. Query Unterminated happens when the instrument is
addressed to talk but there is no command pending that will place data
in the buffer. The example in the manual cites sending a CONFIG
command which doesn't generate data and then doing a read.

Are you using the drivr from NI or have you written your own?



Re: Why does a VI execute differently in step-by-step mode?

2004-02-25 Thread [EMAIL PROTECTED]
Hi germ,

I have some of these K2400 in use - wrote my own driver at a time,
when the "official" drivers were
not available - up to now without problems - in stepmode or fast.
Pls send your vi - or picture of Diagram for discussion ; maybe to me:
[EMAIL PROTECTED]

You can get sweep-programs - taylored for K2400

regards
Werner



Re: need hp4156a driver for labview 5.1

2004-02-25 Thread Jeremy L
Hello,

Go to http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650008009DC0&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>this
thread and take a look at the answer provided.  I think this is what
you want.

Jeremy L
National Instruments



Re: setting a single button to do a task in different loops

2004-02-25 Thread Robert Cole
This is usually not too much of a problem. You can create a local
variable from the button and use that to read in one of the loops. You
will not be able to use the mechanical action "Latch when..." for the
button, but have to change it to "Switch when...". This also means
that one of the loops will probably have to turn the button off again.
It's a little more programming, but it works.

For another method you could use a notifier (or an occurance, but I'm
not fond of those) for one loop to "tell" the other loop that the
button has been pressed.

 Rob



Re: I pull fiftyfour bytes of data from MicroProcessor's EEPROM...

2004-02-25 Thread Ben
Hi Deeply Annoyed,

Please post your code or an image of same.

We a pretty good about getting issues like this nailed if we have
visual aides.

Otherwise we have to continue the guessing.

Re: Timeout
I think Joe was talking about the "Timeout" for the serial read, not a
wait timer.

Like I said, post code.

Trying to help (without annoying you),

Ben


http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer 
www.DSAutomation.com



Re: Cannot call "mask and limit testing" inside a loop

2004-02-25 Thread JoeD
Dear Martin,

Thank you for contacting National Instruments. I would like to
apologize for the delay in responding to your support request.

>From the information you have provided, it sounds like you are running
your VI and experiences issues with the lower and upper mask
refreshing after subsequent iterations of the FOR loop.

The =93Mask and Limit Testing=94 Express VI is not intended to function
inside a loop; however, you can fortunately modify this Express VI to
perform the desired action. To do so, please follow these
instructions:

1)=09Open the Block Diagram for your =93test_limits_testing.vi=94 file
2)=09[Right Click] on the =93Mask and Limits Testing.vi=94 Express VI
a.=09Select [Open Front Panel]
b.=09When prompted to convert to a standart subVI, choose [Convert]
3)=09[Right Click] on the =93subMaskLimitTesting.vi=94 Express VI
a.=09Select [Open Front Panel]
4)=09From the toolbar, select [Window] >> [Show Block Diagram]
5)=09You should see two subVI=92s named =93MatchDT=94 (white icons with
black text)
a.=09Wire a [True] Constant to the =93Reset 2=94 input terminal for
each of the =93MatchDT=94 subVI=92s
i.=09To do this, right click each input terminal and select
[Create]>>[Constant]
ii.=09Make sure the constant value is set to [T] for =93true=94
6)=09Save and Close the subVI=92s
7)=09Re-run your =93test_limits_testing.vi=94 file, and the masking
limits should re-initialize upon each loop iteration

You have successfully customized the VI to function within a loop.

I hope this helps! Please don=92t hesitate to let me know if there=92s
anything else I can help with or clarify. Have a great day!

Kind Regards,
Joe Des Rosier
National Instruments



Re: Can't control the HP3325b (error code:Hex:BFFA0010)

2004-02-25 Thread Jason Hobbs
It sounds like you are getting this error because one of your
parameters is out of range.  Range Checking is an advanced feature of
IVI drivers.  Try changing the values on the front panel controls (or
running the Getting Started VI with its default values) until the
error goes away.  Also, there should be an elaboration for the error
which should tell you exactly which parameter is out of range.

Jason



Re: Instrument I/O Assistant on Target Machine error

2004-02-25 Thread BeckyB
Hello  =96

It appears that your LabVIEW executable is causing a VISA timeout
error on the target machine.

Please verify that the current NI-VISA runtime engine is installed.
It can be downloaded http://digital.ni.com/softlib.nsf/webcategories/85256410006C05558=
6256BAC002C51FA?opendocument&node=3D132070_US=94>here.

See http://digital.ni.com/public.nsf/websearch/DB5E81EAFC9A463886256A=
A8005EA2B1?OpenDocument=94>this
KnowledgeBase for more information about VISA executables not
running on non-development machines.

If these suggestions do not solve your problem, please be more
specific about the error.  A screenshot of the error or the exact
error code would be helpful in finding a solution to your problem.
Have a great day!

Becky B.
Applications Engineer
National Instruments



Re: How can I use Voip to communicat with my voice in Labview

2004-02-25 Thread JoeD
Hello,

Thank you for contacting National Instruments. I would like to
apologize for the delay in responding to your support request. I
understand that you would like to use Voip capabilities to access your
computer remotely and then communicate with LabVIEW using speech
recognition.

I know of a LabVIEW example file that describes the voice recognition
capabilities of LabVIEW. Also, there is a link to example programs
within this database entry. To access the entry, go to the National
Instruments support portal: http://niweb2.natinst.com/ae/portal.htm
and search for =93voice recognition LabView.=94 Click the first entry in
the list: =93Voice Recognition in LabVIEW - Example - Development
Library - National Instruments.=94 You will be able to find helpful
information here.

I hope this helps! Please let me know if I can help you further. Have
a great day!

Kind Regards,

Joe Des Rosier
National Instruments



Re: I pull fiftyfour bytes of data from MicroProcessor's EEPROM...

2004-02-25 Thread GrantM
Hello,

Can you elaborate what you mean by the system is lost?

Ben has suggested a good idea of posting the code in question.  It
would also be helpful to know which version of LabVIEW you are using
and which serial VIs you are using.  His clarification of the timeout
for the serial read is also a good suggestion.

You mention that you have a 100ms wait statement.  Is this in-between
when you write the command and read the response?  Sometimes the
hardware needs a small amount of time to respond to the command.
Putting a small delay between writing the command and reading the
response allows the instrument to respond.  If you have this wait
statement here already, try increasing the wait time.

Another option is to add a call to the "VISA Bytes at Serial Port"
property node.  This will allow you to check if data has been returned
from the device yet or if there is an error with the command you sent.

Try incrementing the wait time before reading a response and checking
how many bytes are at the serial port.  If they do not fix the
problem, please post all or a portion of your code so we can get a
better idea of the problem.

Grant M.
National Instruments



Re: I need to connect these to programs and am unsure how to do it

2004-02-25 Thread Craig H.
Let me see if I understand you correctly.  Basically you are trying to
include data acquired from one VI and include it in another. By making
your continuous data acquisition VI a sub-VI and placing it on the
block diagram of wed.vi you can read data directly from the
spreadsheet file. You will want to use the File I/O VIs to read data
from the spreadsheet file. These VI can be found in the File I/O
function panel by right-clicking on the block diagram and following
Functions->All Functions->File I/O. Here is an example that may or may
not help:


http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EE8D56A4E034080020E74861&p_node=DZ52303&p_source=External";>Continuous
Acquire and Chart to Spreadsheet

If this fails to help you please post again with further questions.
Thanks!

Craig H.

ps. Array manipulation may  be needed to get the data from each of the
four channels to display as desired on the intensity chart. Post again
if you have questions about that as well.



Re: Bring a Calling VI's front panel to the front of the desktop

2004-02-25 Thread Photon Dan
You can use a VI Server Property node to bring a VI's front panel to
the front.

1. Drop a Property Node from the Application Control sub-palette on
your diagram.

2.  Right-click on it to Select Class >> VI Server >> VI

3.  Now select the Front Panel Window >> Is Frontmost property.

4.  Change the property to Write (right click to bring up the pop-up)

5.  Wire a TRUE to bring the VI's front panel to the front.

You can use the property node any time you reach a point in your code
that requires user input on that panel.

Daniel L. Press
PrimeTest Corp.
www.primetest.com



Re: How to sample a random signal generated by random generator?

2004-02-25 Thread Matthew C
Hello,

I apologize for the delayed response.

I took a look at your VI.  In its current state, you will not be able
to extract Y values for X values in-between those that you plotted.
The XY graph is simply connecting your points to provide a visual
representation.  No real data exists between the points that you
plotted.

What you will need to do is first use one of LabVIEW's built-in curve
fitting functions to fit a curve to your randomized data.  These
functions are located on the Analyze >> Mathematics >> Curve Fitting
palette.

Once you fit a curve to your data, you will be able to trace the curve
with your cursor.  You can observe the XY-values that the cursor
passes over by displaying the cursor legend.  Right click the XY-graph
and select Visible Items >> Cursor Legend.

You may also want to consider using LabVIEW's mathematics functions to
evaluate the x-values you are interested in.  One solution would be to
vertically shift your best-fit curve by the threshold value and
evaluate the zeros of the curve using LabVIEW's built-in functions.
These functions can be found on the Analyze >> Mathematics >> Zeros
palette.

I hope this helps!  If you have further questions, let me know.

Matthew C
Applications Engineer
National Instruments



Creating/linking compiled shell vi and user vi code -How?

2004-02-25 Thread Spearing
I am looking for an example of how to create a shell vi that gets
compiled once and a user vi that can be modified and ultimately linked
in some way to the previously compiled shell to create a
user-customized vi.

In essence, the shell vi does a lot of processing that the user
doesn't need to worry about -- the user must be entirely isolated from
the source code.  The user needs to customize the processing that goes
on in the shell -- for example, taking raw data acquired from a DAQ
and processing it into some meaningful data -- say, multiplying two
channels and adding a third to get some useful info.  The shell
handles display, logging, etc. of the data before and after being
processed, but the intermediate processing is the user vi
responsibility.

How can I create and link the two components?  Is there an example of
this I've missed?

Thanks.



Re: /drivers/daq/setup/ni_rundll or one of its components not foun

2004-02-25 Thread JDesRosier
Hello,

Thank you for contacting National Instruments.

I may have found a knowledge base entry that accurately addresses your
problem. Following these instructions will, hopefully, resolve your
Dll problem.

To access the knowledge base entry, please do the following:

1) Go to http://www.ni.com
2) Scroll down and click [KnowledgeBase] under "Technical Support"
3) Click [Search all entries]
4) Search for "daq rundll"
5) Click the first link "Partially Complete NI-DAQ 6.1 Installation
Gives Error about a Missing RUNDLL"
6) Follow the on-screen instructions

I hope this helps. Please feel free to notify me if you need more
assistance. Have a great day!

Kind Regards,

Joe Des Rosier
National Instruments



Re: Connecting a dll to labview

2004-02-25 Thread Ajit
Hi Wiebe,

Thanks a lot for your response.
I shall go through the vi u sent me , study it step by step and will
get back to you if I have further problems.

Thanks a lot,
Ajit



Re: How can I login to a website from LabVIEW, for example to Hotmail ?

2004-02-25 Thread Shea C
Hello,
Thank you for your inquiry regarding website login. I understand that
you would like to logon to Hotmail using LabVIEW 6.i. DataSocket
however, is used to send and receive data between computers running
LabVIEW. One possible solution is to use ActiveX events to run an
internet browser window on the front panel of your VI. I assume
however, that you would like LabVIEW to automate this task.
Unfortunately Hotmail is a secure site using Microsoft Passport .NET.
NET is supported by LabVIEW 7.0 but the .NET control of Passport
would have to be provided by Microsoft. The following link is a great
resource to learn more about the .NET single-login system.

http://msdn.microsoft.com/msdnmag/issues/02/09/Passport/

I hope this resource helps. Let me know if you would like more help
using a browser window on your front panel using ActiveX.

Shea C.
Applications Engineering



Re: Turn off a single plot of a multiple plot waveform graph

2004-02-25 Thread Process Systems
I believe you can do this with a 2-segment property node. IN the first
segment, select the "Active Plot" property, In the second segment,
select the "Plot/visible" property.

Hope this helps.

Dave



Re: How can I programmatically change the number displayed on a digital control?

2004-02-25 Thread Joe Guo
Right click on the digital control and select "Create Local Variable",
write to a default value if the user input is invalid.

or, right click on the control and select property "Data Range", you
can change the data range which will be forced upon when user enter
data.

Joe



Re: Hitting Back Space in Remote Panel while entering character in string control

2004-02-25 Thread Shea C
Hello A. Senthilnathan,
Thank you for your inquiry regarding Remote Panels. After building an
application using Remote Panels I understand the problem that you are
having. However, the Backspace keystroke is assigned to IE and can
only be reassigned by possibly modifying the IE registry. One possible
solution if the string to be typed is not long is to use
CTRL+BACKSPACE in the text field. This will reset the text field and
allow you to retype the desired text. Another solution is to use IE
4.0. More information on this topic can be found at the following site

http://support.microsoft.com/default.aspx?scid=kb;en-us;191931

I hope these resources help. Let me know if I can further assist you.

Shea C.
Applications Engineering



Re: Stanford SR830 Driver

2004-02-25 Thread Brian Powell
I don't know much about the 830 lock-in amplifier, but most
instruments use the same commands regardless of whether you use GPIB
or RS232.

So, I suggest that you download the LabVIEW driver from
http://ni.com/idnet/, and modify it to work with the serial port.

It may work with no changes.  Or, you may have to modify the
Initialize VI by adding "VISA Configure Serial Port" to set the baud
rate, parity, handshaking and other RS232 settings.

Let us know if this works.  I hope this helps.

Brian



How can I programmatically change the number displayed on a digital control?

2004-02-25 Thread RugbyFan
In my application, there are two while loops.  The inner loop has a
digital control where the user can enter a number. If he enters an
invalid number, I want to clear his input.



/drivers/daq/setup/ni_rundll or one of its components not foun

2004-02-25 Thread niels_akh
I cannot install daq because of this message. Where is the component?
thanks



Re: How can I send an Email automatically?

2004-02-25 Thread ctthang
Hi Mike, I would like to send you an email directly to ask you for the
LabView drivers for Watlow 942. I tried their website and find
nothing. I am a beginner in the forum and looking for the way send you
an email directly (just for some private questions) if it is possible
and legitimate. My email is [EMAIL PROTECTED] Thank you very much.
Thang



I would like to know how to download the fieldpoint software for fp-1000/1001.

2004-02-25 Thread Happy Guy
I can't find any ways to download the fieldpoint software in "ni.com"
and also "ftp.ni.com/support/fieldpoint/Server



Re: I would like to know how to download the fieldpoint software for fp-1000/1001.

2004-02-25 Thread ChristerLj
You will find the Fieldpoint Software, both firmware and drivers, in
the Drivers and Updates section.  Simplest way to navigate there is to
follow the steps below.  I also attached the URL at the end of this
responce.

1. goto http://www.ni.com/
2. Under the Support category select the link to Drivers and Updates
3. In the Browse Option Select 'Current Software Versions'
4. Follow the first link for 'Distributed I/O - Fieldpoint'
5. You should now be able to download both the Firmware and the
Hardware Driver for the FP-1000/1001.

Alternatively the direct URL is:
http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E29?opendocument&node=132060_US

This should get you what you are looking for.

Regards,

-Christer



Re: Problem building a VI to test a dll.

2004-02-25 Thread Ben
Hi Ajit,

I will generally give 4 start rating to self-answered Q's but you have
not provided any information!

What was the problem you had?

How did you over-come it?

By providing this info, your question and answer becomes a resource
that may help others in the future.

Ben



Re: Grant/reject access to USB thumb drive

2004-02-25 Thread Belur
Thanks. This partially answers my question. What exactly I want is USB
port access control via LabVIEW either directly or through dlls. I am
using LabVIEW 6.1 currently but will soon be upgarding to 7.0.

Sheela



Re: Where can I find the virtual thermometer in the LabVIEW 7 express evaluation?

2004-02-25 Thread JDesRosier
Hello,

Thank you for contacting National Instruments.

It is my understanding that you are trying to find a VI that mimics a
thermometer within LabVIEW 7.0.

Fortunately, LabVIEW 7.0 has a library of built-in example VIs,
several of which deal with temperature analysis. First, open LabVIEW
7.0 and select [Help]>>[Find Examples]. Search for "temperature." Six
example VIs will appear. I think the "Temperature System Demo" VI will
best suit your needs. Please keep in mind that you can save any of the
example VIs under a new name and proceed to customize them for your
desired functionality.

I hope this helps. Please let me know if I can further assist you.
Have a great day!

Kind Regards,

Joe Des Rosier
National Instruments



Why doesn't LabView scale my objects properly in the front panel?

2004-02-25 Thread Gustav
In LabView 6.02 (Windows 2000) I have experienced problems when using
the "Scale all objects on panel as the window resizes" option under VI
properties. Try the following example: Go to the front panel and draw
two arrows (from Decorations), one vertical and one horizontal (make
sure they are perfectly straight). Now, resize the window, using the
bottom right corner several times. You will soon find that the two
arrows become increasingly missaligned and are not perpendicular to
each other anymore. The problem gets worse the more you play around
with the window size and they will never return to their original
state. Installing the 6.02 patch did not seem to help at all.



Re: Memory leak only when compiled

2004-02-25 Thread [EMAIL PROTECTED]
Thanks Randall, the problem was related to file I/O.  I found a subVI
that was using converted LabVIEW 5.1 versions of the configuration
file VIs with references opened with the LabVIEW 6 Open.vi.  The
reference was passed back out and closed with with the LabVIEW 6
close, but apparently there is some incompatibility here that only
shows up when the application is compiled.

Matt



Re: Utility VI for searching for the occurance of a string in all files in a directory

2004-02-25 Thread Joe Guo
It should be very simple to build it.  The first step is to list all
the files in a directory, then for each file, read the file (use the
Read Characters From File.vi, depends the file size, you might want to
break up the read operation), then use the "Match Pattern" vi from the
string pallette to find what you need.  Following is a simple psuedo
code.

Get a list of all files in a directory
For each file
  read the file in as binary string or character
  search the string using "Match Pattern" or "Search N Replace"
  do whatever you need with the result
Next file

Joe



Re: unable to read the freq and amplitude

2004-02-25 Thread dancrilly
thanks for the intrest got the problem sorted



Re: Turn off a single plot of a multiple plot waveform graph

2004-02-25 Thread Jeremy L
Hi Wayne,

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBC3E111EE034080020E74861&p_node=DZ52038&p_source=External";>Here
is a link to an example vi that shows you how to do it.  Basically, it
uses the Active Plot property and transparent plot colors to
"enable/disable" certain plots.

Hope this helps! Let me know if you have any other questions!

Jeremy L.
National Instruments



Re: Type descriptors of controls and indicators

2004-02-25 Thread Heinrich-Hans
Hello Jim,

thank you for your answer. It is no big problem.
The reason is I want to use different front panels with different
controls (placing as a subpanel), but the main program in the
background is always the same.
Due to your answer I have to lock the registration to the controls
names now and I'm not very flexible. It would be more comfortable to
use only "mechanical action" instead of names. Therefore I'm very
interrested in your workaround.

Regards
Heinrich



Re: P4 Hyper-Threading and LabVIEW7Express

2004-02-25 Thread bboyce
Elizabeth,

I agree with Bruce, it is frustrating trying to use the NI site to
answer questions about compatibility.  Or what is the latest version.
For instance, see if you can find the answer to the question does
DataSocket server work with XPpro? With Hyperthreading? With XEON
processors?  With dual processors?  What is the latest version number
for Measurement Studio for Visual Basic?  How do I check to see if I
have the latest?  I have found the answer to these questions only
after hours of searching!

That said, on the balance the NI product is super.

Brad Boyce



Re: /drivers/daq/setup/ni_rundll or one of its components not foun

2004-02-25 Thread niels_akh
I had already tried this, the problem is that the path that
autoinstall is looking for is inside the codes on the CD and I cant
access that to change it, it does not give a browse option, it is
hardwired.

The problem is that ni_rundll exist on the CD in
drivers/DAQ/cabs/setup/ but it is listed as ni_run~1 as are several
other files.



Re: After reconfiguring a 6534 from output to burst input, I get error 10614.

2004-02-25 Thread GrantM
Hello John,

It sounds like you've figured out the answer to your problem.  For a
bit more information on programming DIO boards, check out the product
manual.  The manual can be located by going to

http://www.ni.com
and clicking on support.  In Option 3, select "Product Manuals" and in
the keywords box enter the specific board you have (e.g. 6534).  There
is a "Creating a Program" section in Chapter 2 which gives various
flowcharts for performing handshaking.

Happy coding,

Grant M.
National Instruments



Re: Problem with linking dll.

2004-02-25 Thread Ajit
Hi Becky,

I could figure out the way to do this,
I will get back to you if I have further doubts.

Thanks a lot for your help,
Ajit.



Re: Run-time licenses

2004-02-25 Thread Dennis Knutson
This is from the LV 5.1 license agreement:

"7. DISTRIBUTION RIGHTS.

(A) Generally. For SOFTWARE not listed in 7(B) below, you may
distribute your application (.exe, .dll, html, .alx, etc.) created
with such SOFTWARE and/or utilizing relevant configuration utility
executables (i.e., NI-DAQ Utility, VXIEdit, VXItedit, etc.) that are
part of such SOFTWARE without royalties or fees to NI, provided that:

(1) your application is not itself a general-purpose development tool,
function library, or component for data acquisition or instrument
control operations, user interface operations (graphs, strip charts,
gauges, meters, etc.), analysis routines, or National Instruments
TestStand( sequence files;

(2) you include the following copyright notice, either on-screen in
your application's About Box or in your application's written
documentation, with each distributed copy of your application:
"Copyright (c)[yr] National Instruments Corporation.  All Rights
Reserved";

(3) you do not use NI's name, logo, or trademarks to market your
software program without NI's express prior written permission;

(4) you agree to indemnify, hold harmless, and defend NI (including
its officers, directors, employees, and agents) and its suppliers from
and against any claims or lawsuits, including attorney's fees, that
arise or result from the use or distribution of your application; and

(5) if you are using Microsoft SDK files or other third party
files, you must conform to the requirements described in the
SDKLIC.TXT or the other applicable files.

(B) Run-Time License Required. If the SOFTWARE is National
Instruments SQL Toolkit, National Instruments IMAQ(TM) Vision,
National Instruments TestStand(TM), National Instruments Test
Executive, National Instruments Lookout(TM), or such other software
product as NI may from time to time designate as requiring a separate
run-time license for application execution, you may not distribute
applications (.exe, .dll, html, .alx, etc.) created with (or if
applicable, utilizing) such SOFTWARE unless: (1) the end-user of the
application has acquired a separate run-time license from National
Instruments for the applicable SOFTWARE for each computer on which the
application is used and (2) you comply with the provisions of 7(A)(1),
(2), (3), (4) and (5) above. Please contact NI or, if applicable, the
NI subsidiary serving your country for more information regarding the
current list of software requiring separate run-time licenses for
application distribution and obtaining applicable run-time licenses."

It was my belief that the only restriction on distribution was the
run-time licenses mentioned in 5B above and not for the LabVIEW
run-time. I certainly distributed a lot of different executables with
my single LV license. The LV 5.1 run-time engine is available for
download so I don't see where there are any restrictions but then I'm
not a lawyer. There was a rather lengthy discussion on http://www.info-labview.org/";>info-labview a couple of
months back regarding the licensing of LV 7 executables and VISA so
you might want to check that out.



Re: setting a single button to do a task in different loops

2004-02-25 Thread dogbert03
Hi Rob, thanks for the reply,

My program requires the button to have the "Latch until released"
property, so I was wondering if you could tell me a little more about
using a notifier

Thanks,

Dogbert



  1   2   >