I am going to study how to make anavigation using kinect with labview any help to start up ?
Navigation
Multi-plot cursor in Mixed signal graph returns only one cursor Y position value
Hi, I am trying to read out multiple cursor Y positions at a given cursor x position from a cursor list of a multi-plot mixed signal graph. Only the first cursor Y value is returned. I have seen an apparent solution here that "adds a cursor reference to the cursor plot ", but this does not work for me. The Mixed graph shows up all Y values but when I try to read the Y values out for use else where, I only get the first y value.
Starting user programming on a work related project
Hi All!
First things first, I am super new to LabVIEW although I would consider myself knowledgeable on some parts of what LV is used for. My issue still is how novice I am at programming in LV.
Background:
I work for an automotive electro-mechanical switch maunfacturer and we are developing a portable device that is to be used as a tester for switches that are ready for final testing. Currently, our test engineers utilize NI PXI Systems which means they use much of the NI-DAQ library and TestStand to sequence through their test plans.
Situation:
What we are trying to accomplish is creating our own interfacing with the device under test whether it is CAN/LIN or whatever. Essentially we want to be able to replace the PXI System and run the same test sequences that are already being used.
Question:
Is this feasible? I understand the vastness of the types of PXI modules that are available but I am trying to minimize what we use already into one system or library if you will. Please feel free to let me know how you all feel I am trying to wrap my head around a topic that is very new to me so bear with me!
Dennis
Error 1 occurred at Scan From String (arg 1)
Hello all, I am pretty new to labview coding, and still learning. I keep getting this error (Error 1 occurred at Scan From String (arg 1)). I have no idea why I am getting it, I checked the connections to the Vector network analyzer and they are all fine, my goal is to read frequency data from the analyzer. The code stops at the scan from string node.
Looking forward to hearing from you!
aas552
Temperature Control hold case structure value
Hi All,
I am new to Labview and have been given the following assignment
Create a temperature control system. Temp reaches a high set point (30c) and heater switches off. Temp reaches a low set point (20c) and heater turns on
My problem is getting the case structure to reach the high set point and turn to false (heater off) and stay in false until reaching the low set point
The attached picture is where I am at now. If the temp is below the high set point it will add 0.5 to the temp reading every cycle. once it reaches the set point it will turn to false and subtract 0.5 before turning back to true, thus not allowing it to return to low set point before becoming true again
Hope this makes sense
Does vision assistant 2011 and 2012 provide normalized cross correlation?
Hi,
Does anybody know whether 2011 or 2012 version of vision assistant is with normalized cross correlation function?
I would like to get the normalized cross correlation of two images. Somehow I couldnt find it. I think it should be in "filter". But I can only see smoothing, edge detection and convolution there.
I have read a manual like file which says it is located in "filter" but somehow I just couldnt find it. If someone is sure that this function is coming with newer version of vision assistant please let me know.
Thanks and happy new year!
LabVIEW in Industry
Hello,
I understand that LabVIEW is widley used in academica, but could someone please provide some specific examples of its use in well-known businesses or applicaitons?
Thank you!
Mark
Subtraction between the current sample value and the one several sampling times before
Hello everyone,
I have a device which generates a series of numbers at sampling times, let's say every 1s.
The series of numbers is denoted as x0, x1, x2, ..., xk. I want to get the result at each sampling time Res = xk - x(k-n). If n=4, that is Res4 = x4 - x0, Res5 = x5 - x1....For the first 4 numbers, Res3 = x3 - x0, Res2 = x2 - x0, and Res1 = x1 - x0.
My codeing idea is that
Res1 = (x1 - x0) + 0 + 0 + 0;
Res2 = (x2 - x1) + (x1 - x0) +0 + 0;
Res3 = (x3 - x2) + (x2 - x1) + (x1 - x0) + 0;
Res4 = (x4 - x3) + (x3 - x2) + (x2 - x1) + (x1 - x0);
Res5 = (x5 - x4) + (x4 - x3) + (x3 - x2) + (x2 - x1);
...
Because n is supposed to be a variable, I can not use shifters directly. I try to use the for loop with the loop count N being variable n. The attached file is a test vi.
Can you help me please? Thank you.
Happy New Year!
Qun
Receive data from the serial port and save it in excel with time and date
Hello, I am doing a program in labview that receives arduino data and saves them in excel along with the time and date.
The program is to save the events of the user inputs for an access control system. When the user enters the place, save the user ID along with the time and date in an excel sheet.
If a user does not enter the place does not save anything.
I have already done the program and it works well. The problem is that the program saves every millisecond of time (without the user having entered the site) (see Labview Excel image) . And consequently saves a lot of data (time and date) that is useless.
I need to make a condition that saves the time and date every time I receive a data from the serial port, if the program does not receive any data does not save anything.
I did 2 labview programs. In labview 1.0 (see labview 1.0 image) add a case in order to know if I received a serial port data. In case of receiving a data from the serial port "save" in excel the data together with the time and date. In case you do not receive any information "Do not keep anything." But I did not know how to make that condition so I put a boolean.
In labview 2.0 I did the same thing only that I put the structure case outside of the while and the condition put an error state. I get the same result as the previous one. I keep saving the time and date without having received a data by the serial port.
Someone can kindly help me, I'm new and I've been learning labview for 1 week.
Thank you very much
Merry Christmas and Happy New Year
(Translate by: translate google)
Create a 2D color map from an array of numbers
Hi,
I have achieved this same task using the color ramp property of a surface graph, but I think there might be an easier way to do this without using a graph, like creating a color array from the array of numbers and simply wiring that color array to a picture indicator. (I dont need to have a shape created- just a color map)
Thankfully, each row of the 2D array of numbers has a fixed pair of min /max values which can be mapped to the min/max of a color scale. What is not clear to me is how to map that to a color scale such that i get to choose what the min/max color would be, just like a color ramp property node provides the means of doing so. I would also like suggestions on how best to continously read images of a front panel control to a picture indicator and get the best image quality possible considering that the image will be zoomed by a factor of atleast 1.5. I am currently using 24-bit on the pixmap.
Also I would be glad to know how to modify the size of an image (not the indicator) such that the height is changed but the width is unchanged. In order words such that I can choose any "aspect ratio" of my choice. The zoom factor property affects both dimensions
Train OCR programmatically ?
Hi to all.
I would like to create an application where usar can train an OCR programmatically.
So do the same that vission assistant when user trains OCR but in an application.
So, take picture from a camera (I have already done this) then click button, select area to train and put the train (for example type "9" if the image is a number 9). And save it. And if for any reason PC is shutting down, application can remember the train.
That is possible?'
Thanks a lot!
Error 7 - TDMS open error
Hi,
I am trying to develop a simple data logging using FPGA in compact rio system. I am just following the getting started tutorial in the net. The web address is below
http://www.ni.com/tutorial/11198/en/
I am using Labview 2014, cRIO-9004 and chassis 9104.
I had compiled the FPGA project and built RT project as per the example. Now when I run the RT vi, I am getting an error "error code 7 - tdms open in RT.vi".
One more additional input is that, I am not able to configure read/write control to "count(uSec)" as per the example, it can be only configured to "overflow".
Could some one help me troubleshooting this error.
Regards,
Ignatius
VISA Error -1073807298 - SDI-12 to USB Converter
Happy new year all!
I'm trying to use the TekBox TBS03 converter seen here: https://www.tekbox.net/converters/sdi-12-converters/tbs03-sdi-12-to-usb-converter-and-tester and the manual https://www.tekbox.net/images/documents/converters/tbs03/TBS03_SDI-12_USBConverterManual.pdf
I'm receiving the correct response to the command "run sdi recorder", but I'm receiving the error "Error -1073807298 occurred at VISA Read. VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error."
I've tried this article http://digital.ni.com/public.nsf/allkb/0C2ABA463217342686256E2E006DF187 as well as this article http://digital.ni.com/public.nsf/websearch/0C2ABA463217342686256E2E006DF187?OpenDocument but I'm still receiving the error.
The manual states the responses will end in <CR><LF>, so I'm trying to terminate the response on the line feed.
In this VI, I copied the read buffer and changed it to a constant so you could see the response:
In this VI, I tried skipping the "VISA Configure Serial Port" VI, to no avail:
I don't have any timing between the write and read functions because I'm using highlight execution.
Any help is greatly appreciated. I'm out of ideas.
Thanks!
Problem with INF
Hello,
I am with a problem regarding the calculation of capacitator reactance (XC=1/WC), i have a problem when my capacitator is 0 ( i can adjust the value with a knob) the display number will be INF, because i am dividing for 0.
Is there a way to display 0 when this happens?
When capacitator is 0 i want to display that my XC is also 0 and it keeps displaying INF.
Thanks in advance,
Montjack
Incremental encoder and analog input synchronization
Hi, I have incremental encoder with 360 pulses per revolution (max. 3000 rpm) attached to NI9401 and analog input connected to NI9212 (both in cDAQ-9172).My goal is measure combustion engine pV diagram. I found this document
(http://www.ni.com/pdf/csma/us/361574a1.pdf) but unfortunately there is no example how to....
How to synchronize and connect Position and Voltage together and get array with Voltage coresponding with each degree (Position 0-360°) ?
Thank for your help and your patience
NI 9233 and electret microphone
Dear All
Recently I buy this electrect microphone with amplifier
http://www.ebay.com/itm/381845584916?_trksid=p2060353.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT
I work with it in ni usb 6009 because the amplifier board has a DC output.
The manufactur saise
"If the audio equipment you're using requires AC coupled audio, place a 100uF capacitor between the output pin and the input of your device. If you're connecting to an audio amplifier that has differential inputs or includes decoupling capacitors, the 100uF cap is not required."
I think the Ni 9233 uses AC.
How can I use a electret micro with NI9233, can I use this micro with amplifier max4466, conect it directly to the bnc port from ni 9233 and place a 100uF between + and -???
Or is not so simple??
I have another micro with amplifier MAX9812L, this is better? But it has DC out too.
Thanks in advance
cpalka
Yokogawa WT3000E how to read user defined Functions in LABVIEW?
Hi everybody,
is it possible to read the values of user defined functions from WT3000E in LabVIEW?
I tried to find any command for that but without success!
Can anybody help me please?
Resource not found imaqdx in executable
Hello to all.
First of all thanks a lot for reading this post and being able to help.
I have an application which uses Imaqdx pallete. It works fine in development environment.
Now I would like to create an installer.
First I create a .EXE and then I create an installer succesfully.
in additional installer I check this:
So apparently libs of imaqdx are included.
Now when I deploy the installer in target machine the application is installed correctly.
But when I run the application it gives these error, one per VI imaqdx used:
"resource not found xx.lvlib imaqdx"
What´s going on?
Have I to install something more to run my application in target machine?
Thanks a lot!
Blocks
What do you call these blocks? Thanks
LabVIEW OOP name collision during build
Hi everyone,
we are testing OOP in LabVIEW. I made a camera class and get this warning during build:
"LabVIEW prevented a file name collision during the build. Duplicate file names cannot be copied to the same destination. You can rename files as part of the build process to avoid name conflicts.
The following files were moved to a unique location:
C:\CTT\CTS\Hardware\Camera\IMAQ-Cam\checkimagerdy.vi
C:\CTT\CTS\Hardware\Camera\checkimagerdy.vi
C:\CTT\CTS\Hardware\Camera\configure.vi
C:\CTT\CTS\Hardware\Camera\IMAQ-Cam\configure.vi
..lots more....
"
'Use LV 8.x file layout' is not checked.
The VIs seem to work in the exe.
Any ideas?
Thx in advance