Convert 17 to 16
Combining/Synchronizing Digital and Analog Data
Hi Everyone!
I am using a NI 9189 with the NI9205 and NI9425 to measure analog and digital data respectively.
What I want to do is create an array with both the analog value and digital data. The problem I am having is the I am doing NChannels NSamples for the Analog Read Task and NChannels 1Sample for the digital task. Due to this difference, when I concatenate the arrays it only shows the digital state once per loop iteration. I want them synchronized. Does anyone know how to fix this? I tried messing around with NChannels NSamples with the digital task, but I was having difficulty.
Any help would be appreciated!
How to time a case structure
Hi,
Im working on a project where I have programmed a machine cycle. I want to time (in seconds) the time it takes to complete a single cycle but I cant come up with a solution and im looking for some help.
The machine cycle is a mould closing from open (the true state of the case structure)
and then opening from closed (the false case of the case structure) .
The above is one complete cycle. The program will continue this cycle indefinitely and I need to display the time taken to complete every cycle.
As you can see from the pics basic arithmetic completes the transition from true to false and vice versa.
The slide visually represents the mould opening and closing.
Thanks in advance.
Change input while running VI
Dear all,
I have been developing a code to generate 2D image using intensity graph, where the user can control the scale of the graph by changing (user input X mm and user input Y mm).
I want the user to be able to control these inputs while the VI is running but it didn't work, I used event structure but its still not working, so what is the solution for such a problem?
( Please find attached the VI and SubVI)
waveform graph
In a waveform graph, if x axis is given timestamp values, how to find all the y axis values in between two particular timestamp values?
Build a tree thanks to a TDMS file with the same hierarchy
Hi everyone,
I am trying to build a tree with the same hierarchie than my tdms file. The "TDMS list content" VI provides me a 2D array with the groups names and channels names as you can see on the picture I am posting. I tried to split it into two 1D arrays but I really don't know how to respect the same hierarchy in my tree. I would like that it works even if I change the groups and channels of my TDMS.
You can find my current VI and pictures of the tree I would like to build thanks to the 2D array provided by the "TDMS list content" VI...
Thank you very much !
Lucas
Binary String and Binary Number to Decimal Number Conversion
Hi everyone,
Would you please tell me how to convert this kind of string data (that is from spectrum analyzer) to numbers? the picture is attached.
Many Thanks,
Marjan
Radar Plot
Hi guys, is there a "better looking" plot output of the radar plot.vi. I want to plot some fancy charts but the radar plot doesn't look all that great. Or can the properties of the picture be manipulated i.e line thickness, point and dash etc...
I also tried looking at the advanced plotting toolkit but that doesn't support multiple y-axis on any of the plots.
Thanks.
Propagation and attenuation Sound in Air
Hello all ;
I have sources of sound (Db and Frequency) I want to see the propagation and attenuation in the air (graph 2 D) (Intensity Db = F (x, y));
I have sound and vibration toolkit i can note find solution.
Best regards
Regarding Hyperlink with in word dcoument while generating report.
Hi all, I am generating report word document through LabVIEW that program i have attached below please suggest me how to insert hyperlink with in the word document.With in the document only i want to insert hyper links.
Regarding Hyperlink with in word dcoument while generating report
Hi all, I am generating report word document through LabVIEW that program i have attached below please suggest me how to insert hyperlink with in the word document.With in the document only i want to insert hyper links.
Image Measurements
Hi,
I would like to develop an image processing software:
1) Measure various lengths and angles of different image characteristics (this is manually done by the user).
2) The measurements are first corrected by input calibration such as angle and pixel-to-length (e.g 1024pixels = 1mm). After which, measurement values should be displayed on the image as a unit of measurement (e.g cm/mm).
3) Measured lines should also be displayed together with the values.
4) Every measurement taken is also recorded in a table for extraction.
Most of the steps above are doable with the NI Vision Assistant, however I am looking to develop a similar interface with LabVIEW alone.
I've tried to create a LabVIEW VI after generating the code with NI Vision Assistant but it doesn't quite work the same.
Appreciate any help/advise.
Sable
DBL to I32 Cnversion
Hi
I am new to Labview. In my simple project, I need to change some indices of an array.
For example, the input array is all-zero array of size of 10. I want to change value of its 0, 3, 6 and 9 entry to 5. Thus at the output we have [5, 0, 0, 5, 0, 0, 5, 0, 0, 5].
To set new values to specific indices of the input array, ‘Replace Array Subset’ module is used as seen in the figure above.
Index port of this module requires value of type I32. My problem is how to change the existing type of double to I32.
The Project file (in version 2017) is attached.
Could you pls help me?
Regards
Regarding Hyperlink with in word dcoument while generating report
DBL to I32 Conversion
Hi
I am new to Labview. In my simple project, I need to change some indices of an array.
For example, the input array is all-zero array of size of 10. I want to change value of its 0, 3, 6 and 9 entry to 5. Thus at the output we have [5, 0, 0, 5, 0, 0, 5, 0, 0, 5].
To set new values to specific indices of the input array, ‘Replace Array Subset’ module is used as seen in the figure above.
Index port of this module requires value of type I32. My problem is how to change the existing type of double to I32.
The Project file (in version 2017) is attached.
Could you pls help me?
Regards
Water Controller using NI LabVIEW.
The Water Controller is built and equipped with a Tank which stores the water and Water level in it increases and decreases with respect to Inflow and Outflow inputs. Terminal strips are provided for I/O connections. The objective of the project is for students to design the software (using Lab VIEW) for the simulated Water controller such that it mimics the operation of a typical Water Controller.
This project provides a detailed listing of the requirements for the system and the functional test procedure for verifying proper operation of the system. This project has been found to effectively integrate software design, while utilizing information covered from many prerequisite courses.
VLC opens a window when running a LabVIEW EXE
Dear all,
I am trying to play a video in LabVIEW using VLC following these examples:
https://forums.ni.com/t5/Example-Program-Drafts/VLC-scripting-in-LabVIEW/ta-p/3515450
Everything works perfectly fine when I run my application on LabVIEW. When I compile an EXE and run my application, the video is not displayed on my front panel anymore but in an external VLC window.
Everything works fine when I run an EXE of the compiled examples.
I didn't do any change to the example code in my application and I cannot see any difference.
Unfortunately, I cannot share the whole code but I can still can some parts if needed (just ask).
Does anyone have any idea about what can cause that inconsistent behavior?
Thank you in advance.
pressure measurement in labview
can i connect BMP180 to myrio 1900 to measure pressure
please help me
i don't have clue where to start
thanks in advance
Structure emplilée ???
Bonjour,
Je travaille avec la version LabVIEW 2017. Au niveau de la sous palette Structures, je ne vois apparaitre que la possibilité de la structure déroulée.. Comment faire pour rajouter dans la sous palette Structures, la séquence empilée ???
Merci
Bonne journée
Pascal
Flir e40 USB video
Dear,
I have a problem with the connection of my flir E40 camera in labview. I can't read the raw data (bit-map). On NI MAX the screen of the camera itself appears (at 320x240 YUY2 7.5 fps), so I also see batterylife and time ex. I just need the raw data. I want to set the setting to (320x246 Unknown 7.50fps) to be able to read this raw data, but I get the error message error 0x80040217 here. On the regular flir tool you can see the raw data so I suspect the error is somewhere at the National Instruments progam NI MAX. This happend on 2 different computers. I attached some screenshots.
Thanks in advance
Hendrik1245