Buenos días, quiero saber si existe alguna forma de comparar curvas en un mismo XY Graph. Lo que busco es que, en el caso de que una curva (curva 1) cruce a otra (curva 2= límite), un indicador booleano LED se encienda, advirtiendo que superó el limite establecido (curva 2).
Comparar multiples curvas
Displaying values on the intensity graph directly - MLX90621
Hello All,
I am trying to plot the temperature values directly on the intensity graph instead of having a separate array as shown.
Is there an option or a way to do this ? Please Advise
Atif
Comparar multiples curvas
Tolerance display for a line of best fit
Hello, i am extracting 2 sets of data namely current and irradiance from a file and i plotted current(y-axis) against irradiance(x-axis). Using the Linear Fit VI i came out with the line of best fit. I have two questions:
1. How can i display the tolerance between the data and the line of best fit ?
2. I want to extract values of voltage and temperature whose irradiance differ by 1-2 W/m2 from 200,400 and 800 W/m2. Can anyone help me out please ?
Please find my code and a data file attached below. Thank you.
Cluster follows mouse when mouse is clicked and moves
Hello, I am creating an interface through SubVIs inside a cluster with a title and I'm trying to reproduce a "window move" effect when the mouse is clicked and moves through the window title (a string inside my cluster). It works already pretty good but when the mouse moves too quickly the window can't follow the mouse and loses the position ("mouse leave" event).
Can you suggest me a more efficent way to do this?
I attach a simplified version of my VI with only one cluster that can move through my front panel.
I hope you can help me, thanks in advance
Dario
Word Table Borders and Shading
Is there a way to use the Word Table Borders and Shading VI to change the shading of a cell (or range of cells) without changing the Border?
In the Help I see that you always have to give an input on all parameters in the "border and shading" cluster. Is there no way to put "don't care" on some parameters and leave them unchanged? Or is there a way to read out the same parameters before and then copy some of them as input?
web publishing tool ..
I am trying to use the Web Publishing Tool. After setting everything in my development machine I went to another machine and opened my Browser (Chrome 63) to receive the block plug-in message. After going to ni.com/info and looking into the given "BlockedPlugin" info code, they say that Chrome 42 and later does not support Web Publishing Tool. So knowing that Edge would also not work and Firefox only below 52 would work, I grabbed Firefox 33.1.1. Still no joy (see image 1 in the attached file). A message appears saying that "a plugin is needed to display this content.", but it does not say which plugin or it does not offer any link to download the needed plugin. So I went to Internet Explorer 11.0.47 and I did not receive any message, but the image of my front panel did not appear (see image 2 in the attached file).
My question is: Is NI trying to say that we should no longer use this feature? Is there any other alternative to access the application through a web interface?
Please advise.
accessing NI-XNET APIs in Vector CANoe
Hello,
I would like to call certain NI-XNET functions from Vector CANoe, thereby trying to communicate with the CAN driver from NI directly from CANoe. I know that it is possible the other way around (interfacing Vector CAN driver with LabVIEW ) using the DLL provided by Vector in LabVIEW. Here is a good description of it.
The idea is to use the NI-XNET DLL to access the functions in CANoe (CAPL). I know you can access the functions from a windows dll in CAPL. Unfortunately, I didn't find much description with regard to this topic.
Strangely, when I looked into the nixnet.dll, there were no functions except for the 'createXnetSysApiExpert' function. Any idea what this is? But there is this other dll, 'nixlvapi' which contains the functions which I am looking for to use. Should this be used instead?
Has anyone tried to do such a thing? Any hints, ideas, experiences or suggestions would be of great help.
Thanks in advance!
Activation issues after reintalling OS
Hey,
yesterday I did a full reinstall of my OS on a notebook, after I changed from a HDD to SSD. After installing LabView 2015 and 2017 I cannot activate these (using NI License Manager) with my key (9 digits alphanumeric). I get the not very helpful error shown in the screenshot (Language I use is German).
Thanks in advance for your kind help.
Additional Info:
Windows 10 build 1709 x64
LabView 2015 & 2017 32-bit (German)
I already tried:
restarting the machine/notebook
LabVIEW 2017\vi.lib\Analysis\2dsp.llb\Power Spectrum (DBL).vi missing in EXE
Hello all,
my vi is calling the following vi as a subVI directly on the blockdiagram.
C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\Analysis\2dsp.llb\Power Spectrum (DBL).vi
my vi (which is the calling VI) also its in the always included list in the exe's build settings.
i built an executable, when i run it, its complaining that the Power Spectrum (DBL).vi is not found.
how can u solve this issue
many thanks in advance.
Is it possible to build and deploy a project with missing hardware without errors?
I have a hardware system consisting of a cRIO-9030 and a NI 9144 EtherCAT expansion, and an additional NI 9145 EtherCAT expansion which is necessary for an optional subsystem. On the shop floor, I have multiple identical controllers comprising the cRIO-9030 / NI 9144 base configuration, but only one NI 9145 expansion with additional functionality. At present, the only way for me to make this work is to maintain two separate projects, one with the NI 9145 included and one without, and build and deploy them as appropriate depending on whether the expanded functionality is necessary for a particular project.
What I want to do is have a single master LabVIEW project with all hardware included, and have the RT application on the cRIO determine whether the NI 9145 is present, and if not, disable the expanded functionality accordingly. This way I would only need to maintain one LabVIEW project, and a rebuild / redeployment wouldn't be necessary every time the hardware is reconfigured on the shop floor.
Unfortunately, it seems that having IO nodes in my RT application which correspond to a hardware target which is not physically present will not work.
Is what I want to do possible?
waveform chart history buffer
I have two real-time charts display data of selected channels. I was told by the previous users that both charts have a total buffer length of 4 hours which equates to 14,400 points for each data channel. Is there possible that I can increase this number (14,400) to like a week (40 hours-14,4000) or even a month (576,000)? Does it depend on the hardware or after modification it will slow down the process? It's running on cRIO NI9035. Thank you.
Programatically change cursor location(s) on xy graph set by x-value
Hello,
I have an xy graph with some data on it and at least one cursor. I'm trying to set the location of the cursors based on some other data. I only know the x position of where the cursor should be. Is there a way to do this programatically? I've made a simple VI to demonstrate what I'm trying to do right now, but it isn't working. The way I'm doing it right now is just unbubdling the x position of the cursor and then putting that back into the cursor list, and this almost works. The cursor does change its location, but not to the correct x location that I try to set it. Do I need to also know the y value?
To reiterate, I want to programatically set the location of a cursor on an xy graph based only on the x location of where I want it.
Can PXI-8531 be a slave node to communicate with Park's IQAN-MD4?
Hello,
I am wondering if it is possible to configure a PXI-8531 as a salve node using LabVIEW?
I read that CANopen library only supports to configure the module as a master node.
PXI-8531 is a CANopen module. Is there any other way to make the PXI-8531 to be a slave node in the network?
It seems like IQAN-MD4 needs to be the master node...
If anyone has experience on connecting a IQAN-MD4 and a PXI and would like to suggest a better idea on this, it would be very helpful.
Thanks a lots.
Isolating individual array elements in increments of time
Hello,
I have a DAQ Assistant node that generates a signal, and I need this signal multiplied by different numbers. In order to do that, I created an array with specific values I will need to wire to the multiplying node, which does not take an array of numbers. Therefore, what I am trying to do in my program is to isolate each individual element of an array so I can wire one element at a time to the multiplying node.
My problem is that I need each element multiplied by the signal at once within a certain period of time, and this can only be achieved using a loop that iterates through each element. However, once I try to take the individual numbers out of the loop, it only gives me the option of either getting an index of values (which goes back to the problem of having an array), the last value, or concatenating values. Do you have any solutions so I can take each element out of the array and multiply them to the acquired signal individually within a certain time?
My VI is attached below.
RT FIFO and 1D array data
Hi,
I'm trying to use a FIFO to store data for analysis and writing to file.
Currently I'm feeding a 1D array of 9 elements into the FIFO and would like to store 2000 of these 1D arrays in the FIFO to access when required.
When I read the FIFO I was expecting 2000 x 1D arrays to be read. I'm using a while loop to autoindex the data to create a 2D array of 2000x9 elements. I'm reading until empty but what I'm getting is a 1D array of 2000 elements.
Can anyone recommend a method to write and read from the FIFO to get produce a 2D array of 2000x9 elements? I've considered decimating the array but this would be messy, perhaps use a while/for loop to programmatically decimate the array?
Regards,
Dave
Best way to plot elements of a vector with waveform chart
I'm trying to plot elements of two 3x1 array as they change with time. The setup in the first image below works, but gives me a time axis in steps instead of real time. I know I'm supposed to turn these arrays into waveforms and link them to a time, but I'm having trouble figuring it out.
If I create a waveform by wiring the array and current time into a build waveform VI (shown in the second picture), the resulting chart isn't correct. It interprets the three elements of the vector as three points on the chart, and then changes all three at every time step (so that you only see three points at a time). I attempted to make a 2D array (a 1x3 array) with reshape array, but labview was not happy about that and gave me an error on the wire connected to the Y terminal of the waveform VI (saying the 2D array didn't match the type of the terminal).
At this point I'm about to break out all the elements of the vectors as separate waveforms, then hook them all back up into an array of waveforms, then wire them to the chart. It seems like there should be an easier way for me to do this. Is there? I may want to do this with an 8x1 or even a 30x1 vector in the future, and it just seems crazy to have to make that many separate waveforms in order to add time to the chart. :-(
Re: Installation NI CompactRIO-9030
I am using crio 9030 for the first time and facing problem while installing software on crio. currently it is in safe mode (software not installed). while installing it is giving me " Unexpected error occurred: -2147418113"Â
please help .. trying from long time
Can you control Boolean outputs with a timer?
Hello,
Is it possible to control a constant Boolean output with a timer. For example having a "constant true" being outputted after X amount of seconds/milliseconds? I want to have a while loop containing a continuously running DAQ assistant, until the timer controlled "constant true" value is outputted to the termination button after those X seconds/milliseconds.
Thanks for any help.
Controlling Piezo Actuator with LabVIEW
Hi all,
I'm having a problem interfacing my Thorlabs MDT693b controller with labview using NI-VISA commands. I've attached my subVI that talks to the controller for your reference.
subVI purpose: essentially I give the program a location i want the translation stage to move to and this will give the serial commands to the piezo controller. it has a "closed loop" implementation but the functionality is simple.
integration: I have the subVI integrated into a simple for loop in my main application that incrementally steps the translation stage
what works: I give the command to move to one location and it moves there. no errors
what isnt working: for some reason the time interval between movements slows down as the program goes on. it starts out with ~ 500ms between movements (which is about right considering the two 200ms wait functions in the subVI), but escalates up to as bad as 2s.
Things I've tried:
1) Movements remain quick when using the Thorlabs control software separate from labview.
2) If you stop the labview routine properly, then click run to restart the VI, the movements remain just as slow as before the program was ended.
3) If you go one step further and fully quit labview and restart it, movements become quick again (but then starts to bog down as usual).
The hardware seems to be working fine but something weird is happening inside the subVI causing the loop to slow down.
Any help is much appreciated!
- Luke