Hallo as,
Can you please tell me what exactly the error message is when it stop
the application. Which LabVIEW Version do you use and if the
application is not so big, you can attach it on your answer. Please
take a look if you really close these files which you don=B4t need
anymore.Thanks in adva
Hello Big-C.
I know I can sample (200kS/s/No.of Channels) per channel. I do not
have a problem here.
What I mean is I have a software triggering since 6025E does not
support hardware analog trigger. That means that I am running a
detection procedure each time I get a new block of data from memory.
wayne galbraith wrote:
> This is something that we have all had to put up with for many years
> and I don't see NI solving it in the future. Surely the most popular
> plotting technique is with an XY graph as we all don't simply plot
> against time. I am guessing there is a fundamental problem w
Hi, thanks for your help. I'm sure the subVI's you send me are the
solutions to my problem. The problem is, i cannot open it, because i'm
working with LabView 6.0 (you send me subVi's in version 7.0). Could
you please send those subVI's in 6.0 please? It is for me very
dificult to get version 7.0at
Craig
The only problem that I could see here is changing your X axis during
displaying of data. Does the Active X control keep any kind of buffer??
I'm guessing that, that is what most people are after and as such would
require a buffer of some description to be kept.
It is a bit of a pity
The serial interface is available in the device manager. MAX Version
2.0.3.17. NI-VISA Version 2.5.
Win2000.
An update from 2.5 to 2.6.1 failed. I can not deinstall the version
2.5.
wayne galbraith wrote:
> Craig
>
> The only problem that I could see here is changing your X axis during
> displaying of data. Does the Active X control keep any kind of
> buffer??
Yes, it definitely buffers because one of my (VB) apps pans, zooms and
scrolls without reloading the data.
The X ax
After installed BridgeVIEW 2.1, labview 6.1 DataAcquisition function
showing the Ordinal 2011 could not be located in the dynamic link
library nidaq32.dll
Hi,
thank you for your E-Mail. I have found the problem. In a SubVi I have
a reference as an Input. The Output of this SubVi was the Indicator,
where the reference is related to. After I have replaced the Indicator
with a Local Variable to this Indicator, I could build the executable.
But this pro
Hi,
There could be a problem of termination character there. Check if your
serial port config is allright when using it with LabVIEW.
Tell me a bit more about your problem, LV version, hardware and I'll
try to be more precise.
Hope this helps anyway !
Julien (French if that can help you)
Bonjour,
j'ai r=E9solu mon pb en le court-circuitant. Le serveur de licence ne
fonctionne plus car il ne d=E9marre pas, car le hostid de la machine a
chang=E9. Pour =EAtre tr=E8s exacte, il d=E9marre et s'arr=EAte aussit=F4t =
car il
y incompatibilit=E9 avec le n=B0 de hostid. j'ai essay=E9 de rec
Merci. Votre r=E9ponse m'a permis d'avancer. J'enverrais un autre
message si j'ai =E0 nouveau besoin d'aide
Sorry but i do not how to add a event to my stop button. I very green
horn to labview. Can u teach me how?
hello;
i just change my computer. i was used to use a laptop with windows XP
home. Now i have Windows XP PRO.
As i transfer my vi's an error occur. actually i am using system
exec.vi to open another vi. It seems there is a problem with cmd
(system32).
does somebody has an idea how to fix that?
t
Without seeing your program (attach it please), it's going to be hard
to determine where and how you've gotten an invalid reference. I would
suggest making a simple VI like I did with just a connect, get column
information, and a disconnect. Once that works, you can start to debug
the main VI and s
I=92ve had this happen two times.
Once turned out to be an intermittent Ctrl key. The other time I was
using a Keyboard, Video Mouse switchbox to run two PC=92s with one
keyboard, mouse and display. To switch between the two PCs, you could
hit the Ctrl key three times quickly. Somehow that interfe
I think you misused the driver if you keep sending all settings. There
are some high level examples included in the driver - Getting Started,
Acq Wvfm Edge Triggered. These use many of the subVIs that you can
also use when and if you want. The point of the high level examples is
to give the program
Merci
J' ai r=E9solue le probl=E9me et c'=E9tait bien un pb de config s=E9rie, bi=
en
vu!
Merci encore pour la r=E9ponse
salut
You can use the 'Make Current Values Default' invoke node, but as the
name implies (note =93Values=94), it will set the current values to
default for all controls on the front panel. There is no way to
use this on just a single control.
There are other problems when using this property. The VI tha
> 1) Could you elaborate on the statement "references [force] everything
> through the GUI thread?" This kind of makes sense to me, but I
> haven't found much info on the web besides "using references for
> non-GUI stuff is not recommended." I have personally noticed that
> sub-VI's that use refn
Could you please tell me if the answer given below solved your
problem? Bye.
> 1) It seems to me that allowing people to pass pointers to complex
> data structures would allow for more efficient memory management. I
> know about refnums, but Shane and others seem to imply that
> refnums/property nodes come with unnecessary GUI overhead. I hate
> pointers as much as anyone
>i shall explain my problem , i want to plot the SCR char with the
>gate current applied (without gate current applied is done n working
>fine) so , for a comparative study of the effect of gate current i
>want to plot multiple curves , at the moment i m prompting the user to
>e
Spot on - thanks!
Clue:
On this web-site under examples there is an example that demonstrates
how to rotate an image in a picture control.
Throw some grid line on top of that and you are there.
Ben
In my application I need to merged data from different devices hanging
to my computer via different interface types. Each data set in to be
specifically formatted in a file. Each data set comes a a rate of ~ 10
Hz.
As acquisition devices I do have
- 4 digitizers connected to the PCI bus and their
Be sure, when you build your application, that you check the checkbox
to include serial support. This will include the VISA serial support
in the resulting installer.
I suspect that you are getting an error somewhere in your application;
it's just not getting reported somehow.
Brian
Hallo,
this time I have two questions, I hope somebody can help:
1) I want to read a spreadsheat-file into an array, but WITHOUT the
first two lines. How can I do that? I know how to read the data, but
not how to ignore the first lines.
2) After the calculation I have two columns of data, x and
I wonder if the timeout on Write is because the handshaking isn't
working. Suppose the device isn't handshaking the same way, or your
cable is bad. In that case, Write may just give up.
Brian
I am using LabVIEW Express 7.0 and I can not find the event structure
inside functions pallete...
I have used it so many times before and I know it exists but where
exactly I can find it.
It is not at the same place where the rest of the structures are
(while, for, sequence etc).
Thanks,
P.C.
Labview only builds executables, right? Which can't be run on Mac OSX,
am I correct? So, would I have to have Labview for Mac to create
programs for a Mac? Thanks!
Lauren
If you use the "express palette view", it will not be under "execution
control" like some of the other structures. You need to go to "all
functions...Structures". There is also a second instance in
"application control...events".
Of course if you only have the base package, you won't have the
even
I'm not sure why you can't uninstall 2.5. But the version of NI-VISA
you want to upgrade to is 3.1. We've fixed a lot of serial bugs in
each release, and gotten rid of a lot of incorrect
VI_ERROR_SYSTEM_ERROR return values (some are fixed, others are
changed to more logical error codes).
Dan Mon
I have made a new VI. All it has in it is
VISA Configure Serial Port.vi
The only input wired is VISA resource name, which is
"ASRL2::INSTR". The only output wired is "error out".
When I run the VI, I get a green checkmark in the
error out status and 0 for the error out code.
When I build this
Well I double checked all the places and it is not there.
As the matter of fact, I copy-pasted the event structure from some
other vi that I have built before and when I went on help for the
event structure and then tried to find it by clicking the button that
finds it in the function pallete I rec
Thanks for pointing this out. I'm pretty sure however that it has
something to do with the position of the box or line in relation to
other LabVIEW code or something like that when you're trying to make
the diagram expand outward.
I have a USB to serial and it work as a serial port which means that I
can use the VISA drivers. Maybe it is the same for You. Look in
windows device manager if it shows up there.
TJ
Thanks. You have been of great help
If you continue to have upgrade and/or uninstall problems, our
installer guru suggests the following:
Go to Add/Remove Programs, select NI-VISA 2.5, and try Repair and then
Uninstall. After it is uninstalled, then you should try upgrading to
3.1.
For most folks reading this, these steps aren't n
Like I said, the driver has an example. Look in the VI called TKTDS
Read Waveform. It looks like there is a header being parsed out and
then subset of the returned string is converted by type casting it to
an array.
Maybe that, or the data byte configuration is wrong. The 7 data bits
seems a bit unusual. I have communicated with about 15 different
devices over the course of my LabVIEW programming and 8 data bits is
the only configuration that I have encountered. The stop bit is
probably 1.0.
Hung, double c
Yes I agree. I found nidaq.h to be very helpful and that is what I
ended up using. lvdaq.dll was very slow, like you said an additional
layer. Thank you very much for all the help everyone.
In regard to another application using the serial port, an application
that uses the serial port and is often loaded on system startup is PDA
synchronization software. This is such a common technical support
call for us that we have specific warnings in our manuals to instruct
users to make sure t
J utilise Labview 7,
j ai besoin d imprimer au format paysage comment faire en utilisant l
outil de g=E9n=E9ration de rapport?
merci beaucoup
LabVIEW does not create only executables. It creates VIs that can be
built into executables. A windows executable cannot run on a MAC but
the VIs (source code) created on Windows can run on LabVIEW for Mac.
So, yes, in order to run a LabVIEW program on a Mac, you need LabVIEW
for Mac but you can cr
If you sent the string out_sp_00, then the data stream was 10
bytes long, one byte per ASCII character, of which the character
is the last. This corresponds to 80 bits. At a baud rate of 4800,
this should take 80/4800 = 17 ms. Since your timeout value was set to
something larger than 1 second,
If you are looking for a way to do a "retriggerable" acquisition,
there is a shipping example called Acquire N - Multi-Analog Hardware
Trig.vi that accomplishes this. However, please note that this
example achieves this effect by reconfiguring the task for each
trigger in software. This means the
I have my vi, and I want to create the executable file. But I want to
run this program (vi) in a embebeded PC that works over Linux!!so , I
dont have screen and I dont want the panel up. How can I do this? Is
it an option when I compile my vi and build my aplication?
Thank you!!!
Graci
Is it possible to program using labview to output a 1MHz squareware
out from serial port of PC?
Hi,
To compute the sizes of text written using some font you can use
"Functions->Graphics & Sound->Picture Functions->Get Text Rect.vi". In
this function you can specify the font name, its size, and some
options (italic, bold, etc.).
Good luck.
Oleg Chutko.
Hello,
Using LabView 7.0:
I need to automatically wrap text inserted in a multicolumn listbox.
The size of the listbox is fixed and I don't know the legth of the
string that will be inserted. But the whole string must be visible,
because it's Information is important
I'm not allowed to use a fixed
I know that a number of NI programmers/employees are on this list and I
was wondering if any attempt has been made to make the chart control
more robust in LV 7.1. Chart options like the "sweep" "update mode" have
been prone to leave ghost sweep bars, changing the x scale will
sometimes cause the d
Lorsque que je mesure un signal ou que je le produit pas de probl=E8me
mais lorsque je fais les deux en meme temps il apparait cette erreur:
"L'erreur - 200251 s'est produite =E0 DAQmx Start Task.vi
Raison(s) possible(s):
No DMA channels are available.
Either shut down other task which may be us
I have both 5.1 and 6i on the same machine, 5.1 will run the vi's but
6i then freezes on the same vi's.
Hi Graci,
Currently LabVIEW for Linux requires an X server. You can accomplish
this by running a dummy X server on your embedded Linux PC. Or, you
can install only the X libraries and then set the display to another
networked X server.
You might be aware that NI has several Real Time products t
You Win!
There is another example near that one that shows how to draw a
pie-chart.
Parts of that example can be used to add your over-lay yur grid (i.e.
do not fill).
Ben
Thanks Chutla and Ben!
I found an example
NI Home > NI Developer Zone > Development Library > Measurement and
Automation Software > LabVIEW > Development System > Building User
Interfaces > Displaying Data > Pictures > Rotating Graphics (Pixmaps)
in LabVIEW
Ben, do you mean this one?
I'm really to new to LabView.
What do I select for IP address as a Input to "TCP Listen" or "TCP
Open". I have been using "Num" but that is a constant number format,
so where do I find "DOT-Format"?
i do this between several machines here in my department... on the TCP
Listen.vi i only wire the port (i use 3) and a timeout (50ms) and
leave the net address unwired. if you have more than 1 NIC you will
probably have to wire something to it. then on the other pc with the
TCP Open Connection i
Determine wheter or not you have a straight through serial cable or a
null modem cable. If it is null modem, your device will probably not
properly receive the commands because it will be "listening" to the
wrong wires in the cable.
I have VI that is controlling the Standford Research power supply
model PS350. I am using existing NI drivers for this instrument.
I wanted to know what would be the easiest/fastest way of taking the
multiple readings of the output voltage at the different point in time
and then plotting the voltag
I first want to thank Dennis Knutson for his answer to my previous
question about the ballbar and serial communication. I'm now able to
communicate with it using MAX. But when I try to use the Labview
"Basic_Serial_Write_and_Read" VI, I instantly get an error saying
"Error -1073807246 occurred at P
You should not wire the net address. You only need to do so if you
have more than one IP address.
Use "String to IP" to convert a hostname or IP address to a network
address, which is a simple U32 representation of the IP address, best
displayed in HEX. (e.g. 255.255.255.255 = 0x).
Hello Andrew,
Setting your buffer size to be the same size as your array is
typically what is done. The buffer size is not in bytes, but in
samples. Please take a look at some of the example programs that ship
with LabVIEW. Go to Help >> Find Examples >> Hardware Input and
Output >> Trad. DAQ(L
Thanks Dan for the response. As for the example, I have "TCP Listen"
side, I have "Port" assign to 3000 with 50ms time dealy with
"Indicator"? Is this correct? Would it be easier if can send you the
"LabView" file for "Listen" and "Open" and make the corrections from
there?
Thanks,
The above answer was for TCP Listen. For TCP open, you just wire a
string which can contain a hostname (e.g. www.ni.com or a dotted
decimal IP address (e.g. 192.168.1.100).
you can send it if you want and i'll take a quick look... or look at
the examples
Dan
what kind of error do you get ??? it works here
thanks for the notes jcrooke but unfortunately I have version 6 of
Labview so I can't open the file. Can you save it as an older
version? :)
I have test systems deployed using LV 6.02 and one system uses 6.1. I
don't want to upgrade all the systems but I need to support both
locally using one PC if possible.
I am reading a file that contains an array of information. Some of the
rows might contain no information (zeros) and I want to programicaly
delete those row(s) from the array and then restore that information
to file. How is the best way to do this?
This is what I got...
Error 63 occurred at TCP Open Connection in Open_To_Try_2.vi
Possible reason(s):
LabVIEW: Serial port receive buffer overflow.
---
LabVIEW: The network connection was refused by the server.
5000 on "Open side" and 5000 on "Listen side" as well.
it works here did you enter a value for the timeout ??
In the VI Settings tab of the Application Builder, has no row for my
dynamic VI. How to add this row for my dynamic VI.
I ran across an odd behavior with the Build Text Express VI
that wasn't there in 7.0.
When configuring the VI, if you select either Number or Boolean in the
Variable Properties before typing anything the Text with Variables
box, the first character you type will switch the Variable Properties
back
Philippe:
In this case it isn't really about arg1 at all. The resource you
passed into the Configure VI (presumably something like COM1 or
ASRL1::INSTR) is busy - the error is VI_ERROR_RSRC_BUSY. This means
that you most likely have some other application using the resource,
like Hyperterminal.
Glad I could help. When you get the error, do you have any other
program open that is accessing the serial port (i.e. hperterminal).
Windows doesn't allow different programs access to the same port.
Different version of LabVIEW can peacefully co-exist on a PC. The
different versions will get installed in their own directories under
the main National Instruments directory. You should also uninstall old
DAQ drivers and install the latest available for your newest version
of LabVIEW. That will co
At one point, I had 6.0.2, 6.1, and 7.0 on one pc. I had no problems.
The 6.1 installation will not overwrite anything except for hardware
drivers (GPIB, DAQ, etc) but shouldn't pose a problem.
If it's not too big, can you attach one of the .bin files you created?
I had a look at your modified data reader VI from a previous post and
didn't see anything obvious in the code but it's pretty hard to debug
anything without a file to input. When you run the reader, do you see
data displayed on
I figured it out thanks.
what i do on my server is save the connection id(s) from the tcp
listen and use them to communicate between the 2 programs on seperate
PC's
I work on an Apple machine, so the answer is no, but I will see if I
can find a Windows machine with 6.1.
does this work with both vi's on the same machine ??
Are you sure that you added the dynamic VI on the Source File tab? I
can't reproduce the problem where the dynamic VI doesn't show up in
the VI Settings but it is possible that you can't set Remove Panel
because of settings in VI Properties.
Ok, I think I am not making any connection here. Can you write up a
example with a TCP Open and TCP Listen and send a VI file to me? I
have been looking at the Simple Data Server.vi but I do not think I
need a client in my application?
Thanks...
what version of LV are you using ?
Thanks dan,
I'll try and see how it works-out.
7.0 or 7Express.
That's excellent work.
Well this tests most of the cable connections, you PC and the COM port
and the associated hardware and leaves only the trasmitted command.
This simple test that you have performed is one of the most basic but
important. Because it gives you a baseline to work from. From now
Greetings,
for the second time an XP machine crashed while saving a subvi of a library and
corrupted the whole library.
At one point I believed that a "llb" file was only a list to point to other subvi's
but it really seems that is not
the case. I was working on a new subvi that was saved into
Another thing,
when I try to open it with the Edit Library option the error message is:
"Generic file I/O error occured. Editing VI"
If that is any help
> -Original Message-
> From: Lewandowski, James R.
> Sent: Wednesday, May 12, 2004 2:15 PM
> To: [EMAIL PROTECTED]
> Sub
Hi,
I am working on a labview project. I have a continuous input data
which is updated every 100ms. I need to calculate the 15 minutes
average value, one hour average value of this input data and save this
average values into excel file continuously. I have problem about how
to calculate the 15
I have a boolean control (Start Button) inside a while loop that needs
to initiate TWO processes when it is activated. For the FIRST of these
processes, it is imperative that once the button is pressed, the
boolean control must remain in its switched state (switch when
pressed) for the remaining du
Open MAX (Measurement & Automation Explorer), expand Devices and
Interfaces>Ports and verify that Com1 is listed. The error code means
that the session or reference is invalid. The other way to check is to
click the little arrow on the right side of the VISA Resource Name.
All valid VISA resources
Please help me ,if anyone has this driver please email it to me
[EMAIL PROTECTED]
Is there any sample code or vi that makes use of Telnet Play Script?
jackolim wrote:
> Is it possible to program using labview to output a 1MHz squareware
> out from serial port of PC?
As I recall, if you continuously transmit the character 'U' with 8 data
bits, no parity and 1 stop bit, TxD will generate a square wave at the
baud rate frequency. If you can set y
Furthermore, could anyone tell me, the way to open vi in newer version
is to install the version since only earlier version in my PC?
1 - 100 of 105 matches
Mail list logo