Re: multithread

2004-06-16 Thread Jeremy Braden
Can you please explain what you want LabVIEW to do?  The structure in
the excel sheet can be most closely implemented with a tree.  Or do
you want LabVIEW to control the excel worksheet? Or do you want help
with writing a multithreaded app in LabVIEW. (It is automatic by the
way)?



Re: How can I easily step through Matrix Combinations in Labview 7.1?

2004-06-16 Thread Jeremy Braden
I agree.  I cannot find a combination or permuation way to manipulate
the matrix to get the expected outcomes. An example will be exreemly
helpful.



Re: UDP problems when building executables

2004-06-15 Thread Jeremy Braden
There could be a number of reasons for this behavior.  It may be that
the function is not working properly on the run time engine (RTE).
The best fix for this is to see if the problem persists in LV 7.1.  It
is the best version of LabVIEW to date.  If you can post code that
shows the problem then it can be tested in other versions.

Your executable may not have all the settings that are in the
development environment.  The follow KB discusses a solution:
http://digital.ni.com/public.nsf/websearch/65F76F247012DF68862562C70073BE06?OpenDocument";>Setting
LabVIEW Preferences For a Windows Executable

Lastly, UDP is a lossy protocol by definition.  Consider using TCP
instead if the losses are unacceptable.



Re: Cannot open Labview 7 without "not enough memory" error

2004-06-15 Thread Jeremy Braden
I figure there are two possiblities.  LabVIEW is poorly installed on
your system causing the error or your VIs are corrupted.   You can
test the former by installing LabVIEW on another computer.  If you can
open the VIs there, consider contacting NI for ways to more throughly
remove NI products from your machine.  To test the latter, see if you
can create new VIs in 7, save, close, and reopen them.  You can also
see if other VIs on your machine open.  If your VIs are corrupted,
then try to open them in your older LV, copy the Block Diagram over to
a new VI, save, and open in LV 7.0.  At the very least, you can get a
screen shot of the diagram.

Good luck!!



Re: Is the SVT Zoom FFT really more accurate than a regular full FFT with a large sample?

2004-06-15 Thread Jeremy Braden
What are the basic differences
between Baseband, Subset, and Zoom FFTs and when should I use
each?

Enjoy!!



Re: How do I fit a curve with two independant variables

2004-06-15 Thread Jeremy Braden
Your code is awesome.  I have taken a number of informal cracks at
making a 2d lev mar function and have given up.  I also want to
complement you on your nice UI in the toplevel VI.  It is clean and
intuitive (plus it has directions if it is not so intutive for
someone).  Great Example!



Re: 0X1D8 error

2004-06-08 Thread Jeremy Braden
You can check this in the bios when your computer boots.  You can also
check it in Windows XP by going to start >> settings >> control panel
>> system >> hardware (tab) >> device manager (button) >> ports (tree)
>> double click on printer port >> resources (tab).  The memory
address will be something like 378h, 278h, or something else.



Re: Open Independent Mulitple sessions with oracle in a LabVIEW exe

2004-06-07 Thread Jeremy Braden
Your two other postings:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800BFD8&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>"Parsing
an SQL statement coming in the way of reentrancy." 
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800C2D8&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>"NEW!!
Parsing an SQL statement coming in the way of reentrancy." 

I put a link to all your postings here to help others on the
discussion forum to follow your questions.

The problem may be that your server has a single CPU and that it can
only do one thing at a time.  Another limitation may be the
abstraction layer for your database.   What version of the Oracle db
are you using? Do you have this problem across computers or just on a
single machine?



Re: NEW!! Parsing an SQL statement coming in the way of reentrancy.

2004-06-07 Thread Jeremy Braden
Your other posting:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080022D9&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>"Open
Independent Mulitple sessions with oracle in a LabVIEW exe" 



Re: Parsing an SQL statement coming in the way of reentrancy.

2004-06-07 Thread Jeremy Braden
Your other posting:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080022D9&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>"Open
Independent Mulitple sessions with oracle in a LabVIEW exe" 



Re: BREATHING TRAINER stimuli program to maintain constant etco2?

2004-06-07 Thread Jeremy Braden
I am not sure how much of the program you need help with.  There are
several shipping examples for function generators. (open LabVIEW >>
help >> find examples).  These can be used to create sine waves so
that you subjects can follow for breathing.

Is this want you need?  There are many people on the forum that are
glad to help if postings contain sufficient information to generate an
answer.

I did not include any code because you did not list your version of
LabVIEW.



Re: formatting of a chart works on a vi in labview but not with the same program as a .exe

2004-06-07 Thread Jeremy Braden
I have not tested your code in 6.0 to verify the behavior.

You are right about some properties not working in the Run Time Engine
(RTE) but those properties work in the development environment.  You
can find out which ones by right clicking on the property >> help for
(whatever the property name is).  This should launch the online help
which has a table decribing where the property will work.  This table
is reformated and more extensive in later versions of LabVIEW.



Re: Storing Data

2004-06-07 Thread Jeremy Braden
There is not one document that describes the pros and cons of the
different methods.

Spreadsheets--cheap but usually limted in size if you intend to use
with excel.  No limit with diadem.
Database connetivity toolkit--used with your own database.  (it is the
pros of the database but with the toolkits ease of use)
DSC--slow (because it typically handles large volumes of data) but can
automatically record thousands of datapoints.

Your best bet is to give NI sales a call and have them help with the
decision making.

Based on your sentence description, I think you would be best off with
creating a text file for your data. (Write strings to file).  If you
are worried about space, you can do a binary file instead.



Re: formatting of a chart works on a vi in labview but not with the same program as a .exe

2004-06-07 Thread Jeremy Braden
I read your thread, followed the directions and I was able to create a
LV71 executable that allows the user to select from the menu ring,
rerun the VI, and the multicolumn listbox is resized.

Is this not what you intend or do you want the program to run
continiously?  This way you start it once, it runs, you select from
the menu, the multicolumn listbox changes, you select again, the
multicolum listbox changes, ... .  Finally you chose to stop your
program, and the behavior ends.  Are you using the continious run
arrows?  It is the icon with two arrows shaped in a circle.

I wonder if the problem is with LabVIEW itself.  What version of
LabVIEW are you using?



Re: Step function generator

2004-06-07 Thread Jeremy Braden
To elaborate.

The function generators can be found on the functions >> waveform >>
analog waveform >> waveform generation palette.  There are shipping
examples that show how to control the analog output of DAC cards.
Open LabVIEW 7.1 >> help >> find examples >> Choose "Hardware Input
and Output".  You will have to navigate from here to what applies to
your system.  I suspect it will be something like DAQmx >> Analog
Generation >> Voltage.



Re: Application Builder for labVIEW 7 Doesn't support any report generation function

2004-06-07 Thread Jeremy Braden
The following KB discusses the error with having two different
versions of Office when building executables.  Ignore the 214... error
number.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/83211e3a088d0c3786256db700621fe8?OpenDocument";>Error
2146959355 When Running Exe on Machine With Different Version of
Office

After you install the new version of office on your development
machine, you will need to uninstall and reinstall the report
generation toolkit so that the toolkit installer will install the
version of the VIs that work with your newer office.



Re: Upgrading from LabVIEW 6.1 to 7.1, get a MS C++ Runtime Error

2004-06-03 Thread Jeremy Braden
I assume you get this error message everytime LabVIEW starts.  This is
not normal behavior.  It is not even a common error.  Have you tried
reinstalling?



Re: dstp Hlp(refering to Messenger vi in the tutorial provided by ni: TCP ip intro

2004-05-28 Thread Jeremy Braden
You can find the VI by opening LabVIEW 6.0 >> help >> examples >>
communication >> datasocket >> ds writer.vi.  You can also just remove
it as I mentioned in the last posting and launch datasocket server
manually.

I chose to read the file as characters out of convienice.  This does
not mean that the VI is limited to text files.  You should be able to
open any file, interpreted the data as characters, send the
characters, receive the characters, write the data to file, and have
the identical file on the receiving side.  If you perfer, you can
change the method of reading the file to read it as an array of u8s or
i8s--it does not matter because you are not interpreting the data in
LabVIEW.  All you need is a data type that will hold your file data
for transmission.



Re: dstp Hlp(refering to Messenger vi in the tutorial provided by ni: TCP ip intro

2004-05-26 Thread Jeremy Braden
It would be helpful if you could give the URL to the tutorial.  I have
not been successful in finding "TCP ip intro".

Datasocket works like a bulletin board you would see if you were
driving down the road.  If something writes to the bulletin board (an
advertiser), then your datasocket reader(you sitting in a car) can see
the data.  If your datasocket reader is doing something else like
watching other traffic and several writes have taken place, only the
most recent data is seen by the reader.  This is because datasocket
was lossy before buffered datasocket in LabVIEW 7.0 was introduced.

Before you can do any communication with datasocket, you have to start
the datasocket server.  If you think about it, how would datasocket
read receive data if no bulletin board exists.  (if you missed it, the
bulletin board is the datasocket server).

There are two ways to create items (specifically called datasocket
data items) on the datasocket server.  Think of the the items as
specific ads on a multiad bulletin board. You can create static items.
This is rarely done and requires the use of Datasocket Server Manager.
The other method is to dynamically create datasocket data items.  I
suspect this is what you are doing.  When you first starting writing
to the datasocket server the datasocket data item is created.  At this
point the reader will have something to read.  The datasocket data
item remains valid while all readers and writers to the datasocket
server are active.  When nothing is reading or writing (it could be
just writing), the datasocket data item is removed.  You can see this
in action by going to the diagnostic page on the datasocket server.

I suspect the behavior you are seeing in 1 is related to the behavior
described in the above paragraph.  I cannot say for sure because I do
not have your code.  I recommend using a shipping example for
datasocket.  They are found by going to the help menu of LabVIEW.
These examples work.



Re: dstp Hlp pls

2004-05-26 Thread Jeremy Braden
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080092D6&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0?";>Your
other posting



Re: dstp Hlp pls

2004-05-26 Thread Jeremy Braden
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500080092D6&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0?";>Your
other posting



Re: Cannot locate menu for the PID Toolkit

2004-05-19 Thread Jeremy Braden
Sorry for the delay.

It bothers me that your palettes do not show the proper VIs.  You can
however edit them by hand.  http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2d38006f8672194e86256b5200545d1c?OpenDocument";>How
Do I Create a Custom Sub-Palette in the Functions Palette in LabVIEW
6.0 and Above?

There are a whole bunch of Knowledgebase articles on the issue of
palette customization.  Go to http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>Advanced
Search and look for   edit custom palette.



Re: Datalogging and multiplot graphs/

2004-05-19 Thread Jeremy Braden
There exists no LV7.1 eval.



Re: Datalogging and multiplot graphs/

2004-05-19 Thread Jeremy Braden
LabVIEW 5.1 is pretty old.  If you want to review LabVIEW 7.0, you can
download the eval http://sine.ni.com/apps/we/nioc.vp?pc=res&cid=10440&lang=US&p_0=eval";>here.



Re: extfunc.cpp

2004-05-17 Thread Jeremy Braden
There is no telling.  I suspect you got this from a message in
LabVIEW.  I recommend chosing to send the error message to NI with the
automated submissions.  Chances are the error is random an there is
nothing they will be able to do.  Occassionally  the errors are
systematic with LabVIEW and they will have a resolution.



Re: Triggering Elapsed time measurements

2004-05-17 Thread Jeremy Braden
See your other http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000800A7D4&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>post



Re: I have a problem when using LabView6i and Office 2000.

2004-05-13 Thread Jeremy Braden
Which object you can select depends on the kind of control you are
creating.  If you intend to launch and run Excel, drop an automation
reference.  If you want excel in a container, consider using an
activeX document.  You can also instert IE in the container and point
it to an excel file.

Take a look in the shipping examples for   excel   for a working
example of how to make the activex calls.  Excel programs are very
numerous on the web.  Go tohttp://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>Advanced
Search and search just the example programs.



Re: Microsoft Excel 9.0 Object Library

2004-05-13 Thread Jeremy Braden
Look at the LabVIEW shipping examples.  There are excel examples that
you can inspect and use.



Re: How to show only 10 channels at a time in a Chart

2004-05-13 Thread Jeremy Braden
I think what you are going to have to do is use three overlayed plots
each with its own data.  When you move the slider you make the chart
you want to see visible and the other invisible.  It takes a little
bit of coding and a lot of alligning of controls but you can pull the
illusion off.



Re: Install directory

2004-05-13 Thread Jeremy Braden
This is not possible with the LabVIEW built installer.



Re: LabVIEW crashes when I paste to the diagram

2004-05-13 Thread Jeremy Braden
Does this happen for a particular VI or for any VI?  If it is for any
VI, you should consider reinstalling LabVIEW, update your OS to the
latest service pack, and updating your video drivers.  If this is for
a particular VI, then it is probably corrupted.  Take a screen shot of
your diagram (just in case) and rebuild the code.



Re: Block diagram expansion criteria

2004-05-13 Thread Jeremy Braden
Sometimes I have to do it 4 or 5 times before I can get the expansion
to work(that is repeatedly pressing the control and drawing a new
rectagle).  I have come to expect this behavior.  I do not know how to
fix it or whether it is a problem with the OS or LabVIEW.



Re: Can not set "Remove Panel" to "No" for dynamic VI

2004-05-13 Thread Jeremy Braden
I am in agreement with Dennis.  I am using LabVIEW 7.1 and I had to
trouble setting "VI Settings" on dynamic VIs.



Re: problems running version 5.1 vi's on version 6i, the computer freezes after loading all vi's.

2004-05-13 Thread Jeremy Braden
Try upgrading LabVIEW 6i to 6.0.2.  You can also see if LabVIEW 7.0
evaluation has the problem.  Finally, you may need to isolate the VI
that is causing the problem.  It may be corrupted and require copying
its block diagram to a new VI to fix the problem with upgrading.



Re: PLOT THE OUTPUT VOLTAGE WITH RESPECT TO TIME

2004-05-13 Thread Jeremy Braden
I cannot tell you any specific information about your device but if
you want to plot your data in LabVIEW, I recommend using an XY Graph.
This graph allows you to associate a specific y with a specific x.
Consequently you can plot data where the time between the sample
changes.  Look in the LabVIEW shipping examples for an XY Graph
example.



Re: LabView 6.1 crashes now and then when I try to get rid of an...

2004-05-13 Thread Jeremy Braden
This is strange behavior and I have can't find anything on it.  Do you
get an error message?  Do you see this problem on another computer?
You might try reinstalling LabVIEW or seeing if LabVIEW 7.0 Evaluation
resolves the issue.



Re: is symbol computation possible if I use string variable?

2004-05-11 Thread Jeremy Braden
LabVIEW does not allow for a variable to be placed in a matrix.

For a workaround, consider writing out all the math in LabVIEW.  It is
very ugly for high dimensions.  For instance,
|2 4|
|3 a|= 2a -12

The right hand side of the equation would be easy to code in LabVIEW
and it allows for altering the variable a.



Re: Horizantal Scroll

2004-05-11 Thread Jeremy Braden
There is no setting that I have seen that will work for horizonally
scrolling mice.  I think this might be because if you hover your mouse
over the horizontal scroll bar, scrolling on a regular wheel makes it
scoll horizontally.



Re: Cannot locate menu for the PID Toolkit

2004-05-11 Thread Jeremy Braden
If you have multiple copies of LabVIEW on your computer, see if it was
installed to another version.  If so, you can uninstall and then
reinstall making sure that the installer is pointed to the correct
LabVIEW folder.



Re: smtp send message.vi has a wrong send time

2004-05-11 Thread Jeremy Braden
There is a bug in the way the LabVIEW treats daylight savings time in
LabVIEW 7.0. Date/Time To Seconds primitive currently ignores it and
that is the function used in the email VI.



Re: Customized button changes size on win98

2004-05-07 Thread Jeremy Braden
Hi Joe,

I have not been able to find a working 98 box.  I still have no idea
what could be the problem.



Re: How do I optimize the design/test cycle?

2004-05-05 Thread Jeremy Braden
I have dug through all the corners I could find on the web and there
is no documentation on this subject.  I do not like posting a negative
answer but you have been waiting for a week and I spent 2 hours on
looking.



Re: Error:The specified network address is currently in use when exe file is run

2004-05-05 Thread Jeremy Braden
I am not sure what you are doing but I think this is the information
you are looking for:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/4d966061ee84df5386256de1005808ca?OpenDocument";>Can
I Make My LabVIEW 7.0 Executable Use Remote Front Panels?

There are several other simmlar pages on the web.  I went to http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>Advanced
Search and looked for   executable remote front panel  .



Re: remote control

2004-05-05 Thread Jeremy Braden
Here is something you might find useful

http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/2ad405a06ebed71586256c4e00621c73?OpenDocument";>Remote
Front Panel Tutorial

If you want to search NI's site, I recommend the http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>Advanced
Search.



Re: LV exe doesn't see support files

2004-05-05 Thread Jeremy Braden
This is really strange.  Have you been able to isolate the problem
any?  Have you tried building an installer for distribution?



Re: Customized button changes size on win98

2004-05-04 Thread Jeremy Braden
Are you using a strict type defn? Can you post one of your controls?



Re: password protection on a control

2004-05-04 Thread Jeremy Braden
Be careful with the mouse down? event and the dialog message box.  You
can get really strange behavior if you postion the front panel so that
the message box appears over the numeric control.  What happens is
that you mouse down, this fires the even, the dialog box appears, you
mouse up (but this message is never sent to the control), you click
ok, and the numeric control continues to increment.This behavior
is outlined in the online help (open LabVIEW >> help >> VI, Funtion
and How-to help) under  Caveats and Recommendations when Using Events
in LabVIEW .



Re: How to apply 1/3 octave bandpass filter of about 10Khz on a signal

2004-04-18 Thread Jeremy Braden
There is a toolkit for octave analysis. http://sine.ni.com/apps/we/nioc.vp?cid=3122&lang=US";>NI LabVIEW
Sound and Vibration Toolset



Re: Is it possible to programmatically set the size and names of...

2004-04-18 Thread Jeremy Braden
What you are asking to do is not possible with the present release of
LabVIEW.  As Dennis points out, there are some unreleased features
that might do what you want.  You can learn about them on the LAVA
forum but to find exactly what you need may require a lot of patience
if it even exists.



Re: How to apply 1/3 octave bandpass filter of about 10Khz on a signal

2004-04-18 Thread Jeremy Braden
Can you post a simple example program?



Re: Graph Xscale properties don't work well with multipliers

2004-04-15 Thread Jeremy Braden
The deal is that the image you see is not the image stored in memory.
For sample sets with points larger than the pixels on your screen,
LabVIEW will truncate/interpolate/labview magic the dataset to create
an representation of your data for display.  Setting your mouse to a
specific data location will often result in a little movement to get
to the closest point that is displayed.  Workarounds include using a
HUGE monitor or displaying fewer points at a time.



Re: unload dll

2004-04-15 Thread Jeremy Braden
You cannot programatically unload dlls.  You have to either shut down
your VI or close LabVIEW.



Re: Trying to control a car using the Digital Control Unit

2004-04-14 Thread Jeremy Braden
You may want to post to the daq forum and include information about
your hardware.  Are you using any hardware?  Do you have drivers?

The speed of dc motors depends on the voltage applied to them but the
problem is that motors can require lots of current.  If you are just
using a daq card to supply voltage, you will need a current amplifier
to drive the motor.  If you want fancy control of the motor speed, you
will need some method of feedback like an optical encoder.



Re: FIR Windowed Filter Coefficients

2004-04-14 Thread Jeremy Braden
NI's coeficients are not normalized.



Re: asynchronus functions and Active X

2004-04-13 Thread Jeremy Braden
Creating Call Back VIs without using the utility is very, very
difficult.  It did not even occur to me that you were not doing it
this way.  As a note, you can pass data into the callback by bundling
it together and sending it to the User Parameter terminal.  If you
decide to change the cluster later, you will need to recreate the
callback VI.  You can save time in this case by control-c on all
objects in the old VI and control-v in the new VI.

Have fun with the callbacks.  They are really cool.



Re: LabVIEW does not handle some .NET method calls correctly

2004-04-13 Thread Jeremy Braden
I do not believe that  LabVIEW can handle overloaded functions.  You
may need to dig through the class and find the exact function you want
to call.  If this not possible, you can always create a assembly that
handles the calls for you and then call that from LabVIEW.



Re: asynchronus functions and Active X

2004-04-13 Thread Jeremy Braden
I do not follow exactly what you are describing.  I do know that the
call back VI can be called at anytime by the ActiveX object.  It does
not matter what part of your VI is currently executing.  If the event
occurs, the callback VI will run.



Re: Trying to control a car using the Digital Control Unit

2004-04-13 Thread Jeremy Braden
I have no idea what you are asking and I suspect that I am not the
only poster in this situation.

I surmise that Vernier has software for their new digital control unit
and that it is written in vb.net.  They have not created LabVIEW VIs
for the new hardware yet.  Are their dlls you can access or an activeX
interface?  LabVIEW 7 has rudimentary support for .net constructors.
Look in the user manual for specific information on this.  You may
also want to search NI's advanced http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>search.
This is the best way to search NI's site.



Re: Has anybody been able to develop labview vi's for the...

2004-04-13 Thread Jeremy Braden
If you are going to write the LV code yourself, you should read "Using
External Code in LabVIEW."  You can find it by opening LabVIEW >> help
>> search the LabVIEW bookshelf.  This is the best source of
information concerning calling dlls.

You may also want to look at a LabVIEW 7 shipping example, call
dll.vi.  You can find it by opening LabVIEW >> help >> find examples
>> Communicating with External Applicaitons >> Using External Code>>
integrating dlls.  It is very helpful.



Re: I encountered a problem with Peak Detector.vi:

2004-04-09 Thread Jeremy Braden
Thank you very much.  I am glad to help.



Re: using the parallel / serial port to drive 7-seg display

2004-04-09 Thread Jeremy Braden
I am lurking the discussion forum so my posting here is independent of
whether you are on trial or not.  In response to your email that you
sent NI support, I activated your trial support period.  This gives
you 1 on 1 access to NI support engineers via email (like myself) or
phone.  The support I give here does not fall under the trial period
privledges--I would still answer your question whether you had a
subscription or not.   Anyway

You need to read up on the parallel port.  Search the web for a
tutorial.  The last time I looked this information was readily
avaliable.

There are 3 standard modes for the parallel port--ssp, epp, ecp.  SSP
is the original standard and is the easiest to use.  You can set the
mode of your parallel port in your computer's BIOS.  This is the
config page you get by pressing special keys when your computer is
starting.  You can also confirm the setting in the device manager of
Windows.  You also need to do this so that you can get the memory
address of the parallel port.  Chances are it will be at x278 or x378.
This is important so that you can know what memory address to have
output update.  There are 8 data lines in SSP mode and there are 8
bits (one byte) you can write to the memory address.  Each bit you set
will corespond to the port bring a line high.   The idea is that you
will be manipulating the bits of an 8 bit number and writing that
value to the memory address.  For your clock, you just write another
value to the port with the clock line you choose toggled.

Jeremy
NI



Re: I encountered a problem with Peak Detector.vi:

2004-04-08 Thread Jeremy Braden
When I set your threashold terminal to 0.0015 and a width of 3, I got
7 peaks with the appropriate corresponding amplitudes.  If you want
more peaks, then decrease the threashold.  When I set it to 0.4, I
got 23 peaks.

Since you are interested in getting all the peaks, I think you need a
different algorithm.  You should scan through the array and count
points larger than the two adjacent points.  This way, you know
exactly what is going on and you will get every single local maximum.



Re: error code no 6

2004-04-08 Thread Jeremy Braden
Here is a link to your other http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HFORCEKWTID=95035:5&HOID=506500080049CB&HExpertOnly=&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0";>posting.
Although I miss guessed your answer, it has info on finding this kind
of information on NI's website.



Re: what causes the problem no 6

2004-04-08 Thread Jeremy Braden
You can find answers by searching on the http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>advanced
search page.  Look forlabview error 6   .

You can also look up the error code in LabVIEW.  Open LabVIEW >> help
>> explain error >> enter 6 in the numeric field.

You should get:
LabVIEW:  Generic file I/O error.
---
NI-488:  I/O operation aborted.


I suspect the problem is that your file does not exist the the
location specified.



Re: Can I change the order plots are written to an XY graph...

2004-04-08 Thread Jeremy Braden
You cannot reorder the layering of the plots.  More percisely, the
ordering of the plots (like on the plot legend) is the ordering of the
layering.

Khalid is right on the money for a workaround. I give him 4 stars.



Re: How to enable Thread Local Storage in a DLL generated by application builder?

2004-04-08 Thread Jeremy Braden
You might try making the VIs renterant (vi properties >> execution
)before you build the application.



Re: lvrt.dll error on Windows XP

2004-04-08 Thread Jeremy Braden
Do you get the error everytime you run your program?  Since you cannot
edit your code, you might try reinstalling the drivers and the LabVIEW
RTE.  There is not really a whole lot to be done for troubleshooting
because of the lack of source code.  You might see if you can transfer
the application back to a 98 machine if nothing else helps.



Re: Reading characters in a buffer

2004-04-08 Thread Jeremy Braden
Thanks for attaching the dll and the headers.  It helped.

Take a look at a LabVIEW 7 shipping example calledCall dll.vi .
You can find it by opening LabVIEW >> help >> find example >>
Communicating with External Applications >> Using External Code >>
Integrating Dlls.  It has an example on using char*   from a dll in
LabVIEW.  It shows the C code and the VI.



Re: using the parallel / serial port to drive 7-seg display

2004-04-08 Thread Jeremy Braden
If you are using the parallel port in ssp mode, you have 8 digital
lines you can play with.  Just use on of the lines for your clock.

I believe the other modes (ecp ,epp) of the port use a clock, but use
it will be more trouble than it is worth.  Toggling a digital line of
an ssp port is very easy.



Re: Newbie: Debugging external code

2004-04-08 Thread Jeremy Braden
To add to Rolf...

Look in the "Using External Code in LabVIEW" manual for creating a
debugable CIN that allows you to step through the code. The directions
are not extensive but they are all that is avaliable.  You can find
the manual by opening LabVIEW >> help >> search the LabVIEW bookshelf.



Re: Exe with Application Builder

2004-04-08 Thread Jeremy Braden
I believe so.  What you will need to do is build just one application.
The deal is that you cannot share data across different applications
but different VIs within the same application is fine.



Re: I encountered a problem with Peak Detector.vi:

2004-04-08 Thread Jeremy Braden
I recommend this KB:http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2b685d5b2a919e2a8625654c006af03c?OpenDocument";>How
Does the Peak Detector VI Work?



Re: web conferencing in labview?

2004-04-08 Thread Jeremy Braden
LabVIEW RT is not going to help.  It is essentially a headless
deterministic computer.

LabVIEW can easily transmit data across the net but I do not know if
you will get the throughput you want especially if remote desktop is
considered slow.  You will have to experiment to see if LV's
performance is satisfactory.

There are various commerical products for web conferencing products.
They have been optimised for doing this sort of thing. Some have
activex interfaces so that you can have programatic control of the
software from LabVIEW.  This is the route I would take if performace
is a strong issue.



Re: An anolog signal will be received by my computer through the...

2004-04-08 Thread Jeremy Braden
If you have the frequency, you can find pulses per minute by
multiplying by a scalar.



Re: PCMCIA card communication with LabView

2004-04-08 Thread Jeremy Braden
Niko is right.  The functionality Vanessa is looking for is not
availiable from LabVIEW. The only people that would have implemented
this feature would be the hardware manufacturer, and they are likely
to have built the function into a dll that LabVIEW can call.  I
recommend contacting the manufacturer to see if they have some
suggestions.



Re: Motors - Code is getting messy... I'm not smart enough to use arrays and clusters.

2004-04-08 Thread Jeremy Braden
I agree with Satans Little Helper about the unitialized shift
registers.  There are a couple of docs online (http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>advanced
search) but http://zone.ni.com/devzone/conceptd.nsf/webmain/732CEC772AA4FBE586256A37005541D3?opendocument";>LabVIEW
Performance and Memory Management covers this and explains how to
get better performance out of your code.



Re: Best way to pass an array of waveforms inbetween VIs

2004-04-08 Thread Jeremy Braden
If you think Coastal Marine Bird rules, be sure to give him 4 stars.
The rating shows up on his profile.



Re: why my labview 7.0 shut off automaticlly?

2004-04-08 Thread Jeremy Braden
This is not normal behavior.  I recommend reinstalling LabVIEW to see
if that resolves the problem.  You might also see if you can install
LabVIEW on another machine.  This way you can see LabVIEW work and can
use that machine as the "correct" machine for troubleshooting.



Re: Adjusting Bitmap color range

2004-04-08 Thread Jeremy Braden
Take a look at Mask Example.vi.  It is a shipping example that shows
how to mask of areas of a picture control for coloring.

I am think that you can put your image in a picture control and then
overlay an image having custom color regions.  You can then adjust the
custom colors.



Re: Combobox pausing operation of other VIs

2004-04-08 Thread Jeremy Braden
I have been trying to reproduce the behavior and I cannot.  Can you
post a simplified version of your code.

I suspect what is happening is that your User Interace (UI) is being
locked by the combobox.  You might see if turning off multithreading
helps (open LabVIEW >> tools >> options >> performance and disk ,
toggle the setting for "run in multiple threads", shutdown LabVIEW and
restart.)



Re: Need to output time

2004-04-08 Thread Jeremy Braden
I believe the buffered counting could be the problem. You might
consider posting to the daq forum for help on this aspect of your
code.

Were you able to learn anything when you auto indexed your wires?  I
was thinking over lunch that the default values for numerics is zero
and when you concatenate arrays of different lengths the shorter one
is increased in length with default values.  If your loop itterats
fewer times than you think, this would explain the column of zeros.



Re: VI loading times-out for 50 seconds when another networked PC is shut down

2004-04-08 Thread Jeremy Braden
I agree with Dennis.  I also want to point out that mass compiling
would solve the loading delay problem for all of your VIs.



Re: LabView 7 Express will not shutdown completely?

2004-03-30 Thread Jeremy Braden
Be sure to check your firewalls.  SP2 has the firewall turned on by
default.  Consider turning it off or allowing LabVIEW privledges.  It
may be that a LV process like the NI license manager cannot finish
behind the firewall.



Re: add support information

2004-03-30 Thread Jeremy Braden
I strongly suspect the "Click here for support information" is an
option with the microsoft installer or MSI.  Although LabVIEW uses the
MSI for its executables, this functionality is not exposed.

I have tried several times in the past to edit a MSI and it is
nontrivial.  There are software packages for sale that can help make
this easier.

As a workaround, you might consider adding a dynamic VI to your
application called   About.vi  .  This way if you go help >> about ,
your VI will pop up with any information you want it to show.



Re: Crash of LabVIEW executeable after some hours

2004-03-30 Thread Jeremy Braden
I normally suggest using the evaluation version of LabVIEW 7.0 to see
if errors like this have already been solved, but you mention the
problem does not occur in the developemnt environment.  LabVIEW
evaluation does not come with application builder.

There are a lot of things that multithread in LabVIEW--activex, dll,
etc.  It may not be LabVIEW itself.  Rather than pulling your hair out
tracking down the issue to modify the way the executable works.  You
can copy the line:
ESys.StdNParallel=0
into your executable's ini file.  This should make it run in a single
thread.  See http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/65f76f247012df68862562c70073be06?OpenDocument";>Setting
LabVIEW Preferences For a Windows Executable for more info on this
technique.



Re: want to convert an array to image in gray scale

2004-03-30 Thread Jeremy Braden
I am not sure what you are doing.  Can you post a simple example
program?



Re: want to convert an array to image in gray scale

2004-03-30 Thread Jeremy Braden
I am not sure what you are doing.  Can you post a simple example
program?



Re: second scale on xy graph not showing up

2004-03-30 Thread Jeremy Braden
Sometimes the charts and graphs become so customized that they stop
working properly.  This happens all the time and you will save
yourself hair loss and heartburn by just placing a new one and
starting over (like you suggested).

Good luck with your code.



Re: Stopwatch which can save split/ Laptimes to a file

2004-03-21 Thread Jeremy Braden
I am not really clear what code you need.  Here is an example program
for measuring split time.

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CB968111EE034080020E74861&p_node=DZ52034&p_submitted=N&p_rank=&p_answer=&p_source=External";>Using
LabVIEW as a Stop Watch to Track Total Time of an Event

You may want to look on NI's http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>advanced
search page for more hits.  It is better than NI's easy to find
search engine.



Re: HELP!!!What is TIME LIMIT parameter in triggered acquisition???

2004-03-21 Thread Jeremy Braden
I am a lot rusty on my daq.  I think this is what you need.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E4A156A4E034080020E74861&p_node=DZ52308&p_source=External";>Acquire
Analog Input Data Using a Software Analog Trigger 

You may want to post to the daq forum.  I highly recommend searching
NI's http://search.ni.com/?col=alldocs&layout=TechResources&ql=a";>advanced
search page for example programs.



Re: Invoking the Tools->Compare VI's functionality from my LV program

2004-03-21 Thread Jeremy Braden
The VI is called  procmpheir.llb\CMP compare two VIs.vi .  Its UI is
not the same as the one you get from the menu, but it looks to me like
NI wrote a pretty wrapper for this VI (which really does the work).
You can do the same in your application.



Re: while loop causing problems with sent commands?

2004-03-16 Thread Jeremy Braden
I cannot see anything wrong with the telnet side of your code, but I
am no telnet expert.

On the LV side of your code, you may want to move the boolean
terminals inside of the event that pertains to them.  This way your
buttons will pop up after the event is fired.



Re: Webserver with Direcway

2004-03-15 Thread Jeremy Braden
For those of you who do not know, Direcway is the satellite download
service for broadband internet access.

I searched the website and could find no references to anyone else
having problems with the LabVIEW webserver and Direcway.  This may be
due to few people having the system.

I suspect the problem has to do with the network dropping out.  You
may want to check this as well as seeing if other programs are
interfering with the webserver (virus scanners, etc).



Re: Invoking the Tools->Compare VI's functionality from my LV program

2004-03-15 Thread Jeremy Braden
Compare VIs is a VI.  You should be able to find it in
.\labview\project\procmpheir.llb. I did not check to see what was
password protected.  You will not be able to get the passwords from
NI, but you might be able to use the subVIs.



Re: pass complex array into matlab scrip

2004-03-15 Thread Jeremy Braden
The matlab script node does not take complex numbers.  You might try
passing two real arrays into the node--one for the real component and
one for the complex component.  Once inside you can try to merge the
arrays or just use the information separatly.  I do not have matlab so
I cannot offer example code.



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: 3D surface plots with intensity value to overlay at each point?

2004-02-25 Thread Jeremy Braden
I have some beta software on my machine for the 3d graph activex
control.  Just delete the plot, drop a new one, and hook it up.  I do
not think there are any settings in the plot properties, so it the
replacement should work like a champ.



Re: Controlling Khepera Robot 'Invalid page fault' errors using khepera gripper

2004-02-20 Thread Jeremy Braden
I had no idea what you were talking about until I searched Google.
The company K-Team manufactures the khepera robot.

I recommend contacting K-Team to see if they have seen the same
problem.  You can attempt a reinstall of LabVIEW and possibly the OS
if they have no information.  If you would consider an upgrade too
(LabVIEW is made better every release).  Go to
http://www.ni.com/labview/  and download the LabVIEW 7.0 evaluation.
This way you can see if the problem persists.



Re: how do i make a the black area of the graph transparent.

2004-02-20 Thread Jeremy Braden
You need to use the paint tool and right click in the black area.  A
window should pop up to select the color.  Choose the T in the upper
right corner.  This should make the black dissapear.  You will then
need to make the rectangle decoration of the waveform chart invisible
too.  It is done in a simmilar way.



Re: Is there a common or standard list of words to "ignore" or omit in the meta word search?

2004-02-19 Thread Jeremy Braden
You may want to post http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=205&HUSERSHADE=0&HOID=50650011003508&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=meta&USEARCHCONTEXT_QUESTION_S=0";>here.



  1   2   >