please help me rectifying the error 5003 from the vi 'init' of arduino palette.
Labview interface for Arduino for running a dc motor
How to programmatically tell if an 'optional' input is wired?
Here is what i want to do:
I have an optional input terminal whose type is cluster. I would like to do some operation on it if it is wired, otherwise I use an alternative solution. How can i do it programmatically?
Unlike array input we can check if it is empty, i guess there is no empty cluster. Any ideas?
Continous serial Reading In labVIEW
In the following VI at the last stage i am reading data continuously from the UUT. But while reading serial data continuously in while loop I am loosing few of the bytes.Please suggest me the way i can get all the data from the UUT without loosing.
Send data to other Windows application via WM_COPYDATA
Hello,
I need to send data (array of integers) from my LabView application to another non LabView Windows application by using WM_COPYDATA message. There are several posts in the forum discussing the same issue but none of them has the full solution.
As I see the main problem is not to call the SendMessage/PostMessage but to make a wrapper around this call and to ensure the data is valid when the message received in the other application. There is a example for such DLL wrapper (a DLL which will deal with sending of the message and holding the data array) but after compiling the example DLL I was not able to see it working properly.
In my projects I used several times WM_COPYDATA for data exchange between non LabView Windows applications and I never had problems.
My question is - does somebody have a working and tested example for using WM_COPYDATA to send data from LabView to another Windows applications? I'll really appreciate any help. Thank you!
implimante Header Row for array
Hi
I want to know how to insert Header Row to an array of double ?
Blue screen when closing scope visa resource
I am using a Agilent DSO-X 4024A and I am experimenting with automated capture for integration into an automated tester. I am setting up a trigger and then reading back the data once it is triggered, the problem is that if the scope does not trigger after the timeout time set by the read waveform vi in the driver, when closing the scope resource my computer blue screens. after some experimentation I have determined that it has to to with the time as if I set the timeout to 3000ms I have no issues but if it is 4000ms the blue screen occurs.
This Is the code i am using any Ideas or help would be appreciated.
Failed serial communication
Hi, I´m new in LABVIEW, so this error may seem stupid, but I'm trying to communicate with a laser via serial communication and it doesn´t work.
The communication consists in sending a command to the laser about a parameter and obtaining its value. According to de guide, the command must be written like ":H1↵" , being H1 a temperature of the laser. Once it is send, the laser should response with ":H1,xx", being xx the value of the temperature or ":H1!" if the command is not recognized by the laser of if it is not written correctly.
In the attached VI I try to establish the communication, which is based on the basic serial/write example in labview, adding some element as the conditions to stop the vi from running, which stops automatically when there is no bytes left to read at the port and it has already read a byte. The other addition are the arrays, which I inlcuded because I thought that the laser may be sending the bytes in different packages of bytes, so with the arrays I can see all of them, and the part outside the loop is to obtain the array in a clean format without the initial and final offset.
All of this explained, the error consists in that it not only does not receive the ":H1,xx" or ":H1!" as it should, but also every time I run the programm, I receive a different answer. Some examples are: "ec e7 e7" , "ec f7 e7 f7" , "ec f7 e7 e7" , " ec f7 f7 e7".
Any ideas of what could be going wrong? (The laser is from the continuum dls laser series, if it helps)
when the SNR is low, how to improve peak detect result
There are some points that missed by the peak detector, but if i lower the threshold or width, the higher signal counted double peaks. i guess that's due to the low SNR. cause in the picture below, the peak detector is well function. so how should i improve the peak detection?
How to transform a 2 bit signal into 1 byte
Hello,
I´m pretty new to LabVIEW and have a problem with it and hoped you coulde help me. I have to make a signal which is 2 bit long into a byte, but I´m not sure if this is posible or how i could do that.
Thanks to everybody for helping
wiring linear potentiometer
Hi, I'm new to NI and LabVIEW
I got a cDAQ-9185 with 4 modules:
- NI 9201
- NI 9219
- NI 9411
- NI 9472
I'm troubling with wiring and setting up a linear potentiometer in LabVIEW which goes from 0-8k ohm with 3 wires.
Any help?
Best regards,
Morten
NXG Web Module - Tag Values Are not getting updated (Using Sky Line API'S)
Hi This is a snippet of my Function.gvi . I am writing some random data in a tag.
Below is the image of my Web Vi where i am reading the tag and displaying it on an indicator called - Tank
Below is the image of the tag "mytag" which was automatically created by Skyline API.I opened it in Google chrome
This snippet below shows my Ni Web Configuration where my Server URL to be used is displayed and my server is running
My problem is that when i run my VI'S, "mytags" value does not get updated and my web vi does not show any value in my variable(Tank).
As you can see , the "current value" column in TagViewer image is blank.I think i have done all the steps correctly.But still i am not able to read mytag values in my web Vi.
(** What I think is that there is some issue in writing values to tag because , on google chrome in Tagviewer , there is no value shown for the tag "mytag", Also ,none of the error probes show any error in my Function.gvi when i am writing tag values)
Can someone help me out with this problem please.
connect lan device
I am trying to control a Hamilton Microlab ML600 syringe pump, which is connected to my pc via an ethernet-to-usb adapter.
The device is working, and the static ip configuration seems ok: I can ping the device, and using the included C# program I can control the pump.
However, the (also included) labview program is unable to connect to the device, even though it was able to do so on a different pc. Also, when I try to add the device via NI MAX, it cannot be found.
Hopefully someone has some idea to help me further.
Signal manipulation, cannot find express VI replacements
Hello,
For proprietary reasons, I can't post the VI I'm talking about here but I will attempt to describe it. I have a VI from an old LabVIEW program, this program used express VIs to manipulate signals (waveform data). One of the express VIs was "arithmetic" which would add two waveforms together mathematically. I don't see this anywhere in the express pallet of LabVIEW 2016.
Also, the same "amplitude and level" and "distortion" VIs exist in the current express pallet but "distortion" doesn't have an output for fundamental frequency (the original 'distortion' express VI outputted this value as a scalar DBL).
The use of the express VIs here just seems unnecessary, I'm also thinking about just scrapping this legacy VI and rewriting it using the standard DAQmx library.
Thanks
Compiled code complexity
Does anyone know how to reduce compiled code complexity of VI?
Yokogawa UP55A Temperature Controller help needed
Dear All,
Please find the attachment.
I am using Yokogawa UP55A for temperature controlling, On giving the input value of Set Value(SV), Minute (MM) and Second(SS). The process Value(PV) or (TC.a) after reaching the desire temperature of input SetValue(SV) for example of 600Degree temperature should be fall down by 20Degree per minute. On rising I got the desire value but on fall down its not falling by the rate of 20degree per minute. Anyone can help me in solving this problem. Thanks in Advance.
If there is any problem in understanding please let me know I will draw and attach the picture what I wanted to do.
Regards,
Taufeey
Continually prompted to save changes
I have a VI within a project that asks me to save changes every time I close the VI or project regardless if I've actually made any changes. The reasons are always "VI recompiled" and "Type Definition modified". If I save the changes, close the project, reopen the project, then close again, I will be prompted again to save changes. Any ideas where I begin to figure out what's going on?
my program creates a text file then on the second run i get error 8 trying to open it
The program purpose is to save a count in a file on the PC at a folder location specified to it.
If the file doesn't exist it creates it.
I want it to write the count to the first text line in the file, overwriting the line that was there previously.
After the initial run when it creates the file the text file will have a "0" on the first line.
On the second run there will be an error 8 opening the file and the first line will be blank in the file.
THanks
NI MAX not seeing Agilent 34970
Essence of the problem is that I'm having difficulties getting NI MAX to see an Agilent 34970.
I'm setting up a new computer to run a LabView runtime application. Thus far, I have done the following:
Install LabView runtime 15.0
NI-VISA runtime 15.0.0
NI-DAQmx runtime 15.0.1
NI-DAQmx 15.0.1
Keysight Connection Expert
I tried to download the agilent 34970 driver located here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014F4CD7EF78136AE0440003BA7CCD71, but the directory doesn't exist that I'm supposed to copy the files to.
In device manager the Agilent shows up as a CP2102 USB to UART Bridge Controller.
repere d'un objet par rapport à une camera
je suis entrain de reperer un objet par rapport a une camera pour que les coordonnées soit lisible par un bras je suis a la recherche des etapes a suivre coté labview et coté formule a calculer.
Merci d'avance
"Start Asynchronous Call" as it should be
I never liked having to do this:
I submitted an idea (here) to have it be like this:
But nothing happened. So I made my own. Drop this XNode on your block diagram and you have a nice asych call.