Is the problem that you can not ever change the address, or that your
changes are lost when you reload the program?
[EMAIL PROTECTED]
> At the moment, i am connecting it to a general oscilloscope...
The scope needs a connection to the computer - GPIB, USB, RS-232 ...
Have you made this connection?
The scope manufacturer should supply a command syntax. Do you know
what this is?
Of course, this assumes that the scope is capable o
Are you wanting two U8 for every U16 or just one?
Les
What are you using for these external devices?
NI I/O card, speaker/microphone, ???
Les Hammer
What hardware are you using?
What are you using to set a time interval? If you just say "wait 10
minutes" it may need the 10 minutes before it wakes up and responds to
any new clicks. OTOH if you have a loop with say, a 0.1 second loop
time and a "are we there yet?" to trigger the next recording,
> Are you trying to recognize ANY voice (someone said "hello")
> I think you would have better luck with calling a commercial
package.
Especially when it comes to accents - the extreme being when "hello"
is pronounced "howdy" :-)
Les
> I am still getting a weird reading error though were for some reason
the gpib card
> will return a string of "++6.17345E-10" instead of "+6.17345E-10"
could this have
> something to do with me using a PCI GPIB card I bought a long time
back from
> a 3rd party vendor? (MeasurementComputing.com)?"
parallel?
2) The INIT:CONT 0 in the "0" sequence doesn't have a
"line-feed/cr" in it like sequence "1". Is that
OK?
3) Does the instrument error queue (SYST:ERR? query)
tell you anything - like bad command?
Les Hammer
Under LabVIEW "Help", click "Find Examples", then search for "XY
Graph." It shows examples of different types of plots.
Les
> We only have the base LabView package; maybe that is why.
Correct. The Help File says "Not in Basic Package."
Les Hammer
What do you mean by "programmed vehicle ignition switch"?
Do you want LabVIEW to respond when a real switch is turned, a graphic
that looks like an ignition switch, or any switch that gives an "On"
value while it is being clicked but "Off" otherwise, or an
"Accessories, Off, Acc+ignition, ignition
If I understand your question correctly, probably the easiest thing to
do would be to get a LAN-GPIB converter (both NI and Agilent make one,
so choose one that matches your VISA). Connect this to the
instruments. Then each computer can talk LAN to the converter. The
computers can also use LAN t
Use the Get Date/Time in Seconds widget.
Connect it to a "To Double Precision Float" conversion to get the time
(since 1904) in seconds.
Les Hammer
hone port as an input and displays the signal on
a scope-like display. It is written in LabVIEW 7.0. You can use it
free for 10 days.
Les Hammer
Complete Test
The problem with wires is that in big programs you can get a jumbled
mess - many wires tangled throughout the program. One attempt to
overcome this is to use the dummy indicator and property node (value).
I'm assuming the cleaner solution is to create a cluster (with all the
initial values), pass
The VI's installers could install runtime versions of LabVIEW - with
different options. Some may be just basic, others may have the 3-D
graphs, etc.
If these computers do not have full LabVIEW development systems on
them, then they need the runtime libraries. They could be confused.
I don't know
e details as it has proprietary
code in it. But hopefully it gives you a place to start.
Les Hammer
one equation with
one "t", but rather a series of equations.
Les Hammer
(Adjunct Instructor hat on for this one.)
Post any time you want. There are probably 20 lurkers out there who
would like to know the answer too, but are too shy to ask.
Les
That depends upon how your LabVIEW program is written.
Some of mine run in loops:
Check the inputs / do something / wait 250ms / repeat
I can easily put a counter in that: 4 loops/sec * 60 sec/minute * 5
minutes.
Reset the counter if a change (input) occurs.
Run lock/login if counter hits the 5
e timeout value being set?
Thanks
Les Hammer
ct one of the "Read File" that matches what your file looks like.
Right-click and select help for details on using it.
Read the strings, and use the string compare items to parse them.
Generate a boolean to indicate show/hide and connect it to "visible"
above.
Les Hammer
You need to install Agilent VISA in order to use the 82350 GPIB card.
Keep NI-VISA as your primary VISA.
Install Agilent VISA in the side-by-side mode.
Configure the 82350 with Agilent VISA (Agilent IO Libraries - IO
Config).
Turn on the NiVisaTulip Passport in NI-MAX (under Tools).
[EMAIL PROTEC
I would think all you would need to know is:
Minimum
Maximum
Average
NumberOfSamples
Then, on the next iteration:
If NewValueMaximum, set Maximum=NewValue
Average(new) =
[Average(old)*NumberOfSamples+NewValue]/(NumberOfSamples+1)
Increment NumberOfSamples
r(new)=Maximum
It should work. Post some code so we can look for an error.
Les
Does that "Instrument Model" listing in the top center refer to a slot
#3? Is there physically that instrument in slot 3? Configuration
error would seem that the instrument disagrees with what the software
is trying to program it to.
Les Hammer
OK, thanks. I thought that might be the case.
Hey, NI: Any chance for a product enhancement?
Thanks,
[EMAIL PROTECTED]
. If it isn't there, it
copies standardFile to modifiedFile.
Les Hammer
> all of the data files that have been created
> underneath my main installation folder are wiped out.
All the files, or just ones in the directories created by the install?
When I uninstall, app\data gets deleted, but app\myStuff doesn't.
Les Hammer
this information to a LabVIEW application?
Thanks,
Les Hammer
Did you install NI VISA first?
Then install Agilent VISA in the side-by-side mode.
Then istall the gpib hardware.
Then use NI-MAX to turn on the NiVisaTulip.dll.
If you use the latest Agilent and NI VISA they play well together
quite nicely. But you have to do all those steps (in the proper
order)
> Do you know how serial port is addressed?
Ahh, now you are asking for something that wasn't in the E2050. (The
E2050 serial port was just used as a link into the firmware, not for
instruments.)
In Windows with updated IO Libs you just need to configure an ASRL
VISA LAN Client. I don't think t
> I am running an HP 4284A precision capcitance voltage meter
Some of the HP/Agilent instrument GPIB parsers had a defect - they
would set the "done" bit before they cleared the buffer. With slow
computers it wasn't a problem - the computer couldn't send the next
message that fast anyway.
Try:s
As long as you find the right people. :-)
I did the upgrade on the E2050B, and some firmware development on the
E5810 before leaving Agilent. My buddy down the hall at TAMS
(tamsinc.com) - which is the source of HPUX these days, was the E5810
project manager. So we have experience. :-)
You sho
If the checksum is a single byte, you can use build array to get an
array of 1 byte, then byte-array-to-string to get the desired string.
[EMAIL PROTECTED]
d write it back out.
Les Hammer
Go to the LabVIEW help section. Look up "sound". It gives several
examples that use the SI (Sound Input) VIs.
[EMAIL PROTECTED]
OK, Thanks. If anyone listening has one of these cards and likes it
or hates it, please let me know.
Thanks again.
Les
Hi Robert,
> What version of LabVIEW are you using?
7.0
> but it looks like you have more of a hardware issue/question.
Exactly. I'm looking for hardware recommendations for stereo
microphone input card hardware that works with the LabVIEW SI vi. I
have it working with my mono card, but I want
Also, check ... on the 34401 to make sure the IO Menu -
Interface is set to RS-232.
[EMAIL PROTECTED]
> Try the =93Sound Card Simple Spectrum Analyzer.vi=94 example.
> Search under =93sound=94 in the NI Example Finder, and it should show
up.
I don't see a vi by that title, but I'm not sure a vi example would
answer the question. I have an example vi already. The problem is
that my PC doesn't app
LabVIEW has a set of SI-Config/Read/etc VI's that take data from the
computer's microphone input. A configuration option is
Mono-versus-Stereo. Does anybody have a list (or even one example) of
Stereo sound input cards that work with these LabVIEW SI VIs?
(Including information such as: Microphon
Address 21 is the address of your computer's GPIB card. This is your
"phantom" device. Apparently your other devices are making it look
like a real address.
[EMAIL PROTECTED]
That would depend upon the particular piece of test equipment. How
are you talking to the instrument
(IVI, Plug&Play, SCPI commands through LabVIEW VISA calls)?
Look in whatever instrument documentation you have for status register
information. You should be able to set it up so that a status bi
on't know if it's "clean", but it should work. :-)
Les Hammer
I asked my scope expert. His advice was:
1) measure the period of the signal T1
2) Measure the time between the rising edges of the two signals T2
3) calculate the phase in degrees as (T2/T1) * 360
He was not certain whether or not these were automatic measurements on
the 54201.
But many Agile
Query unterminated, along with Query interrupted, indicate a problem
with either the string you are sending (syntax), or with timing.
Since you have this working with NI-MAX make sure the strings in your
program match those you used in NI-MAX. If that's not the problem,
try putting delays in the p
MAX may be more forgiving on GPIB interface numbers - since it has a
list for you to choose from. On the other hand, programs don't assume
default interfaces so you need to be more precise.
Les
Try some simple communication to the instrument, such as query the
response to "*IDN?". (It should give a response string identifying
the instrument.)
This should be a very simple vi - but it does check the communication
path. Can you get this to work?
If you can, the address and GPIB card are go
The error code means "VI_ERROR_INTF_NUM_NCONFIG - The interface type
is valid but the specified interface number is not configured." The
program doesn't like the number (or lack thereof) of the GPIB
interface.
Les
Do you have a code snippet? Perhaps there is something in it that we
can check for errors. Things like an extra space in an address are
difficult to see, but they can kill a program.
[EMAIL PROTECTED]
The plain 488 just defines the hardware.
The 488.2 standard defines the software.
Or more correctly, a set of standard command strings that compatible
instruments will accept.
[EMAIL PROTECTED]
Please add Complete Test (www.CompleteTest.com) to your list of
suppliers.
Not only are we familiar with LabView, we also have extensive
experience in the development of test instruments.
[EMAIL PROTECTED]
Partner - VP of Engineering
The Rosette strain gauge arrangement consists of separate bridges -
one for each direction that you are measuring. I found an Agilent
manual that describes this for a 3-element Rosette:
http://we.home.agilent.com/upload/cmc_upload/tmo/downloads/manuals/pdf/1355A_manual.pdf
As Matt stated, that particular module has .5 Volts tied to it to give
open circuit detection. In that case I would not attempt to measure
its resistance. I'm more familiar with DMM & switchboxes. For those, the configuration is all in
the programatic commands sent to the DMM - so changing from
Look under:
Functions
All Functions
String
String/Number Conversion
[EMAIL PROTECTED]
56 matches
Mail list logo