FAQ Database Discussion Community


Improving speed of Matlab script in Labview

performance,matlab,labview
I have an issue with a Matlab script running in Labview: it takes 0.5 seconds to run on Matlab and over 10 seconds if called from Labview. I know it's supposed to be slower but well... Could someone have a look at my code to see if there's a way...

Configuring inputs for a Multiple Input Fuzzy Controller in Labview?

input,controller,logic,labview,fuzzy
I'm building a fuzzy controller in Labview using the MIMO (Multiple Input, Multiple Output) FL Fuzzy Controller.vi. I designed the fuzzy system using the Fuzzy System Designer, and the .fs file is connected as the "fuzzy system in" of the MIMO Fuzzy Controller VI. The input values are where I'm...

Is there a better way to create a 1D array with n number of elements in LabVIEW?

labview
Here is what I did, anyone have a better way of doing it? Do they have built-in function to do this? I just started using LabVIEW might have overlooked. Like in MATLAB its just: x = (0:10-1) and in Python: x = range(10) ...

can we burn algorithm built on labview in dsp kit tms320c6713?

algorithm,encryption,labview
i'm working on a project "real-time audio encryption using aes-256 on tms320c6713". in this project, i'll be continuously taking the voice from the microphone and continuously implementing advanced encryption standard-256 on the voice, and continuously transmitting that encrypted signal to some other point using a radio transmitter. and then at...

How do I change the visibility of multiple decorations in LabVIEW programatically?

user-interface,labview
I am trying to make a number of front panel decorations hidden in LabVIEW by the use of a boolean control. I have figured out how to do this with one object fine and have made it work with multiple items however it is not very elegant to say the...

How to ignore events in LabView triggered outside of a particular sequence frame?

events,event-handling,workflow,labview
Using event structures in LabView can get confusing, especially when mixing them with a mostly synchronous workflow. My question is, when an event structure exists in one frame of a sequence, how can I force it to ignore events (e.g. mousedown on a particular button) that were triggered while the...

Labview .VI application from Window to Linux application

linux,ubuntu-14.04,labview
Due to now I just finish my application .VI and compile .exe (Windows with Labview). Then if I want to take my application from windows to linux. And running on linux without MONO or Wine. Because I want to interface with NI-6008. How can I do?(Step by step) Please help...

LabVIEW variables Find and Replace

variables,replace,labview
How do I make all variables bound to numeric control a point to numeric control b instead? Original question I have a two Queue Refnums: old_queue and new_queue. I have a two Queue Refnums: old_queue and new_queue. How do I rebind all local variables bound to old_queue to new_queue?...

LabView: Boolean Array to Number Block TroubleShooting

arrays,boolean,labview
I am using an EV3 Cube to scan a sheet that represents a binary number; i.e a black line represents a 1 and a white line represents a 0. Using this, I generate a numeric array consisting of 1's and 0's and convert them by using an Index Array to...

Passing a path to Labview DLL in Python

python,dll,ctypes,labview
I am starting here with my question, but realize it might need to be answered on the Labview forums. So, I have a DLL that was created in Labview, and I am accessing it via Python 3.3.3. I know that I am accessing it correctly, as I am able to...

Record raw data on Labview

labview,logitech
I have this VI in Labview that streams video from a webcam (Logitech C300) and processes the colored layers of each image as arrays. I am trying to get raw Bayer data from the webcam using Logitech's program (http://web.archive.org/web/20100830135714/http://www.quickcamteam.net/documentation/how-to/how-to-enable-raw-streaming-on-logitech-webcams) and the Vision Acquisition tool but I only get as much...

Communicating between a PC and UR5 Universal Robotics Robot Arm using TCP/IP LabVIEW

sockets,networking,tcp,labview,robotics
I have a UR5 Universal Robotics Robot Arm and PC connected via ethernet that I am attempting to have talk to each other via LabVIEW (just send strings back and forth). I have already managed to read communication from the robot to the PC using the TCP Listen VI and...

How can I use multiple instances of a subvi (component) in subpanels without xcontrol?

custom-component,labview
I try to build modular, reusable code in labview. I want to create a UI component that allows me to select one of the files or directories in a given directory. I created a subvi that does this. So far so good. I can use this subvi as a component...

Change XML encoding in LabVIEW

xml,utf-16,labview
I'm trying to edit an xml file in labVIEW for use by a .NET assembly later on in the program, however, when labview saves the file it changes the encoding. This prevents the .NET assembly from being able to open the file, since it needs to be in UTF-16 or...

Calling a non exe (Labview VI) external program into Java

java,process,runtime,inputstream,labview
I have developed a Labview program and i want Java to trigger it open, i have seen many methods to run external exe applications in Java, is it possible to call an non-exe file with the labview file format .vi?

How can I trigger a value change event in a subvi, that has a reference to the possible changing value?

event-handling,onchange,labview
I have a subvi that receives two references to paths as input. The subvi does its thing and changes the value of the second path, based on the first one. (it adds a folder of the user's choice) One can consider the first path reference to truly be an input...