Quantcast
Channel: LabVIEW topics
Viewing all 66781 articles
Browse latest View live

Detect of drag in VI.

$
0
0

Hi,
How labview can detect if the mouse is dragging a file in VI or not befor to drop it in the path?
Thank you .


Difference between the RSE , NRSE , and differential

$
0
0

Hello all , 

I Am new to LabVIEW platform . could anyone explain the exact differences between the NRSE, RSE, DIFFERENTIAL  In an easy manner .?

Labview 2017 double menubar bug

$
0
0

Hi all,

 

I switched this week from Labview 2012 to Labview 2017 and discovered a little bug which was not there before.

When choosing at 'properties --> Window run-time position' a centered position with a fixed panel size like 1042x635 an additional menu bar is drawn next to the custom menu bar when entering the run-time mode in the developer. The same behaviour can be also seen in build .exe versions. Setting the panel size to Use current panel size in combination with the centered position will result in the expected single menu bar as shown here below. This behaviour is also present when creating a new Labview 2017 vi.

 

Labview 2017 menubar bugLabview 2017 menubar bug

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LabVIEW FPGA Error -61499

$
0
0

Hi,

 

I am new to LabVIEW and FPGA.

I set up a Linux Compile Worker to make comipling faster.

I installed a CentOS 7.3, with the LabVIEW 2014 FPGA Xilinx Module.

But when I try to compile the VI after a few seconds the following dialog with the error pops up:

grafik.png   grafik.png

 

HMC8012 error -1073807360

$
0
0

I have a small program now. I use a multimeter HMC8012 from Rohde&Schwarz (Germany). Now I have a problem.

I have download the LabVIEW driver from the website (https://www.rohde-schwarz.com/de/treiber/hmc8012/).

But now when I run only the VI(Initialize with Options or Initialize). There is error -1073807360. I do not know why and how can I solve the problem.

 

Thank you.

Get Image from XY Graph

$
0
0

Dear sir

I'm plotting the Polar and Rectangular plots simultaneously. 

Please find the enclosed VI.

From front panel if I select plot type as rectangular it is saving the both plots with data, but if I select plot type as polar the data in rectangular plot is not saving.

I have customized the polar plot, after opening the VI if it shows any errors please replace the polar plot.

Kindly resolve the issue.

 

Regards,

S Nagaraju

USB-6211 simultaneous AI AO issue

$
0
0

Hi,

 

I am trying to use simultaneous AI AO using USB-6211.

 

I downloaded a sample vi and modified it according to my need.

 

I can able to generate a signal and verify using my oscilloscope. 

 

But when I vary the duty cycle using the slide I could not able to see the duty cycle variation in my oscilloscope. I know I need to add a loop to my write vi but even though after adding when I vary the duty cycle it didnt work.

 

Is there a better example to use the vi simultaneously using USB-6211 ?

Simple encryption using AES algorithm- Issue

$
0
0

Hi,

I am using simple AES algorithm to encrypt a text file. I am simulating 3 parameters with 3 values each. SO i am running for 3 iterations to log in text file using AES algorithm. When i run only one iteration, i can decrpyt the code generated in text file easily. However, when i run more than 1 iteration, i cannot decrypt the text. 

Can someone explain me why is this happening? I spend lot of time understanding the issue. However i believe there is a small issue, but i cannot find it.

Thank you.


How to interfaces FLIR camera with LabVIEW 2013?

$
0
0

Hello.. Can someone explain to me on how to interfacing FLIR camera with LabVIEW 2013? tq for your help.

Lock In Amplifier Start Up Kit Removal Clarification

$
0
0

I have been working on implementing a lock in amplifier in lab view, and in the process I have stumbled upon numerous mentions of a NI Lock In Amplifier start up kit. It since has been taken off the website as it was not an official NI toolkit. I found a link posted in a thread discussing the start up kit that connected to some of its code. I was just wondering if the package was taken down as a result of performance issues- I've looked through it and it seems completely functional, and so I plan to use it (unless told it has problems). Thanks in advance for any and all responses! 

Turning on a set of LEDs

$
0
0

Hello everyone I am new to labview. I am trying to set up a vi in which I have a row of 8 LEDs and a push button. I want to be able to push the button and have it start and stop specific LEDs for a desired amount of time. specifically I want to start LEDs 1,3,7 and 8 and keep them on for 3 minutes, turn off 8 and then 7 in that order and then keep the remaining on for 2 minutes. Then turn the rest off and move to the next sequence. I have tried separating the LEDs into groups of 3 for the sequences but then I was left with 3 while loops and was not sure how to control the timing.

 

The reason I am setting this up is to run solenoid valves that clean 3 different lines with each sequence of LEDs representing a different line. So I wanted to essentially set up an autonomous cleaning cycle.

 

Thanks

Clear a string control when Enter is pressed

$
0
0

My goal is to be able to type into a string control and then press the enter key on the keyboard to "execute" what I typed and clear the control. This seemed like a no-brainer and I wrote the code below:

VI_IMG.PNG

The other case is simply default and nothing happens. To my surprise I cannot clear the control in this way, I have also tried invoking the reinitialize to default method. I only seem to be able to clear the string with either of those options outside the while loop.

 

Shouldn't this work? I feel like I'm missing something simple because it's such a straightforward paradigm.

I have attached my code below. I would love to hear any suggestion and to know why this doesn't work.

 

Thank you in advance

Accessing FP control properties with references causes error 1055

$
0
0

I have attached the application wherein I enable/disable controls based on some conditions. I take the references to controls, put them in a shift register and use it in different cases. Accessing the properties of such elements with property node yields error 1055. I can't identify the mistake in the code. Have a look at the wait case of consumer loop with the diagram disable structure. 

deleting data after passing to storage subVI

$
0
0

Hi All,

I am probably missing something simple. I collect several matrices of data and then pass them to a mathScript subVI for processing and saving. I repeat this many times in a single run. I want to continuously delete the raw data after I pass it to the processing subVI to preserve memory. Is there a good way to do that?

Smooth Voltage ramping for motor control

$
0
0

First here is what I'm trying to accomplish. I have 2 motors I need to control. Think of it like an etch-a-sketch. One controls the vertical axis and the other horizontal. 

I need to smoothly go through the full range of motion of one motor and directly to the next and step them back down in the same order.

 

Motor1 0-5V, motor2 0-5V, motor1 5-0V, motor2 5-0V. 

If you think of the etch-a-sketch you would make a rectangle if that helps...

 

My first question is: For smooth transitions is it better to control voltage output or current output to the motor.

My second is: How do I modify the program to sequence these events and then reverse them?


The quickest way to search a 2D array for matching

$
0
0

Hello, 

 

Please find the VI attached, full credit to altenbach from his previous reply on Re: How to match data in different array columns

 

I will be manipulating a 1000 row array with two columns for matching. I was just wondering if there was a quicker way to achieve this than the design below. I was just considering latency, especially with the fact that large batch tests will be run in the future. 

 

I had an idea that a case structure could also be used to identify the user input, but wasn't quite sure if latency would have any impact.  LookUpTable.PNG

Open to any ideas you may have. 

 

Many Thanks & have a nice weekend!

failure of conditional structure RTE check in packed library

$
0
0

Sometimes I need to check whether code runs in labview, or in run-time engine. Trivial task: conditional disable structure, run-time engine == True. Building executable - this is it. 

My problem is when this structure is saved in packed library - it always runs false case. Even on machine without labview at all.

Windows 7 labview 2011. Is this old labview problem? 

Zip has 2 projects: building of the packed library (make rte lvlib check.lvproj) and building of executable (test lvlibp.lvproj).

Screenshot of executable source:

First subvi is called from packed library, second - from original library, third case - diagram of the subVI locally.

(Name conflict (same subVI from packed library and locally) does not matter, in real life main code knows only packed library, not original one)

 Executable in the build.zip

rte lvlibp conflict.png

PS (edit): executable front panel (after run, all leds should be on, but lvlibp fails):

rte lvlibp executable.png

mobile message bluetooth labview myrio

$
0
0

hai i am making an app for writing text and this text should be aquired by myrio,how could this happen? how would the transmission takes? using bluetooth or any other means.please provide links and example works.

do we have inbuilt bluetooth in myrio or should be connected externally?

VI should not stop if COM port not found

$
0
0

I have attached a VI, which receives data from COM port, process it & store it in a file.

It gives, error in two cases, pic also attaced,

1. If no COM port is mentioned: VI terminates. I want that if no COM port is found, a POP up window should appear asking user to select COM port.

2. COM port receive timeout: If COM port is found, but no data receive. I want that system should keep on waiting for data, instead of terminating VI.

 

Also
1. During saving in file, if error occur, it should wait for new values & retry again, instead of error.

 

 

 

 

Setting to do in window PC, for that only Labview code runs on it

$
0
0

Is there any setting we can do in Window PC so that when it starts only our Labview installed prgram runs on it, nothing else.

In Window startup, it can be done to load labview program when window starts.

But I want that no other program to run on it by user, only labview code.

Viewing all 66781 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>