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

Overlay array of color Box on image

$
0
0

Hi everybody,

im trying to overlay an array of Color box on an image but it does not work.

Here is a short description about the scenario.

I have a camera and a sensor. The sensor has 10 channel and is about 20 cm long and 1cm large. (Pic 1). 

I track the position and orientation of the sensor with the camera. When i move the sensor i get differents position and orientation and per position 10 values (Sensor measures the magnetic field ). After that i convert every value to a specify color and save it as 1D Array. Now i want to overlay it on my live image. You can imagine like someone wipe a board. At the end the results should look like this (Pic 2). i've attached a vi where a do a simulation of my problem.

You need to choose a camera before started the vi.

 

Thank you for you effort


Equipment driver, block diagrams not showing up

$
0
0

I installed the driver for the Keithley 6485. However, the block diagrams do not show up after the install. There is a KE6485 folder in inst.lib, but the LabVIEW files are in LabVIEW library files. Moving them into individual files does not change this situation.

Adding NI-9223, Not Found

$
0
0

Before I order hardware I am attempting to build out my project and compile my FPGA (just to make sure I'm sizing my FPGA correctly).

 

I've selected a cRIO-9064 and am attempting to add a cSeries NI-9223 but it doesn't exist in the cSeries dropdown. Shouldn't I be able to add this? I'm running LabVIEW 2014 SP1, RT 14.0.0, FPGA 14.0.0, and NI-RIO 14.5.

 

Thank You,

Craig

question about working with .net httpclient

$
0
0

i am doing something about http/web apps, the app access the web server by a proxy. I have chosen .net framework to work with because:

the LabVIEW build in httpclient VIs don't support some proxy settings.

the activeX winhttp  has some cache issue.

i have the http_get working out but have no idea about how to set the proxy.

any help? 

Create picture of multicolumn listbox

$
0
0

How do you create a picture of a multicolumn listbox?  I have data in a multicolumn list, and I need to send it to a pdf report, and I'm able to append control images to that pdf report.  I want to resize the multicolumn list's image, but maybe I can do that by turning it into a picture and appending that picture to the pdf report instead.

 

In brief:  Is there a way to add a resized image of a multicolumn list to a pdf report, with no special 3rd party stuff?  Or more immediately, how can you create a picture of a multicolumn listbox and send it to a picture control?

Programming Principle of Using BECKHOFF EtherCAT Servo PDO Object

$
0
0

I'm new in EtherCAT-LabVIEW programming. Recently I need to use BECKHOFF AX5103. Currently my biggest problem is that I have no idea about how to setup of the master program to let the motor work in the torque mode.

 

This is my knowledge background for now:

1. I understand PDO object and know how to check the object meaning in the manual;

 

2. I know basic tools in LabVIEW to import the ESI file (XML format), like this (it's YASKAWA SGDV PDO imported in LabVIEW)

PDO_in_LabVIEW.png

 

3. I could read other people's LabVIEW code to figure out how the servo works in this program, like this

EtherCAT_Servo_Init.png

 

Considering my needs to work with BECKHOFF servo, what I eager for is a programming guideline or  example for servo control. I have checked the BECKHOFF manual (System Manual - Servo Drives AX5000), but got nothing about programming guide. 

 

Meanwhile I checked YASKAWA's EtherCAT manual(see the hyperlink at the bottom), cross checking the LabVIEW control program I have, I found it difficult to understand. For example, the picture below (from the YASKAWA EtherCAT manual section 7.5.1) shows the diagram of Profile Velocity mode, I'm not sure this could serve as workflow chart for LabVIEW programming

 

Velocity_mode.png

 

https://downloads.omron.it/IAB/Products/Motion%20and%20Drives/Servo%20Systems/Servo%20Drives/Sigma-5/SIEP%20C720829%2004/SIEP%20C720829%2004A%20-%20Sigma%205%20EtherCAT%20option%20module.pdf

 

Could anybody tell me where should I start?

Instruments interfacing using labview

$
0
0

Hi

Can I interface a micropipette with PC by using LabVIEW DAQ module? That kind of micropipettes (electrically operated) available in the market?

Labview "Tab" under string function

$
0
0

Hi,

 

I have a string constant of data in 3 longgggggggggg columns, I have to seperate out the columns by enabling "tab"  to see the values of the data. 

 

Does anyone have any solutions on how to create this?

 

 


NI MAX stuck at loading plugins

$
0
0

Hello

I have installed LV 2016, MAX worked.

Next I installed NI Serial 15.0, MAX worked 

Next I installed NI Visa 16.0,   MAX worked

At the end I installed NI Daqmx 16.0, MAX stuck at loading plugins. 

 

So can you help me with that. I need all those drivers.

In may 2016 I was using LV2013, and there was no problem till august. In august this trouble happened and I solved it with installing new LV2016 with all those listed drivers. Then at the end of august the trouble happened again and i solved it with deinstalation/instalation of LV2016 and all drivers. Now this trouble happened again and I can not solve it any more. 

 

I am fristrated with this, please help me.

 

Marko

Packed Project Libraries

$
0
0

Hi all,

Currently, I am exploring on packed project library and how it can be used to distribute a code. But I have some doubts regarding this. I would like to know whether the PPL(i.e.).lvlibp file will include all the dependencies in vi.lib and user.lib or not. If not then will it use it directly from the user.lib/vi.lib directory in LabVIEW folder.  Anyone who is aware of the topic can please help.

Thanks for the help in advance.Smiley Happy

Ramya

Ticks Values on both axis sides on CWGraph 3D

$
0
0

Hello,

I use 3D Surface.vi to plot 3D surface in CWGraph3D Control. I have set View Direction Towards X-Y Plane (above view). I am able to ensure to have Ticks on both sides of axes, however I don't know how to duplicate Ticks value labels as well (see attachment).

 

Any help will be greatly appreciated.


Best regards,

 

Martin

Changing indicator images based on NON-Boolean output

$
0
0

I am making an interface that controls a series of multiposition valves.  For the two position valves, I have setup a boolean indicator with "true" showing an image of the valve in one position and "false" showing the other configuration.  It works great, but what I must now do is try and replicate this with an 8 and 16 position valve- so rather than 2 images I must select from up to 16 different ones.  Is there some way to convert a simple numeric/string output (just the numbers 1-16) to show corresponding images 1-16?  I am sure there must be, but it is clearly a very different approach than what I am doing for T/F outputs.

 

Thank you!

What is ring constant style?

$
0
0

Hi, I'm trying to programmatically create ring constant but I can't find its style...
Any idea what is the style for ring constant?

ring.png

Error 2146827284 in Report generation toolbox

$
0
0

I am acquiring continuous data at 1000Hz and it runs fine till around 65 seconds and it generates report with data till that time but as soon as I run the vi above 65 seconds it gives me an error ( pic attached) as soon as I press the stop button. I am not sure why that happens. I am using 2010 excel to generate the report. I have attached the pic and the actual vi. Kindly help.

Is there a way to put the front panel of one VI embedded in the front panel of another, especially a tab object?

$
0
0

I have a stack of sub-vi's each of which reports similar content.  I want to be able to view and control the sub-vi through the main/calling VI.  Is there a way to cleanly wrap that into the tabs the main vi?  If I change the sub-vi will it proliferate to the main vi?  How do I make that work?

 

 


Re: Perspective Shift, Platform Strengthening

$
0
0

Dear All ...,

How can save a labview block diagram from labview image file . consider image file is received from RIO using Replication and deployment utility.

Read german characters (text File mit Umlaut lesen)

$
0
0

Hii guys.

If I have  characters such as ü,ä ö which are on a German Keyboard and  the file is documented in German,

and try to read the file thr' Read text file fn  i get  "für" for "für"

So labview cant read such characters.

 

Is there a workaround for this.

regards

Akshay

Compare Excel Workbooks in Labview

$
0
0

I am trying to compare two excel workbooks in labview. Both have multiple worksheets, with different values in each cell. First I would need to see that the worksheet names match.  Then I would have to check that the data in the  first column matched before I could compare the row data.  Does anyone know the best way to do this? I already have it so that it opens the two worksheets and reads in the data. I also have the report generator toolkit. If someone could help me that would be awesome.

Rotary Encoder loop

Integrating FPGA Code on rest of project.

$
0
0

Hello, thank you for helping me out.

I recently started on the NI MyRIO, I have the following code to handle an ultrasonic range finder: 

Range.png

However when I try to compile it I get the message: 

Error.png

 

Apparently many of the most common functions of Labview can't be used on an FPGA target. However the code for the rangefinder is a small part of a bigger project in which I'll have to use said functions, so my main worry is wether I'll be able to integrate this FPGA code together with "normal" labview code on the myRIO, if possible then how? 

I'd like for example create a "top" VI that has it's own code (showing the waveform graph after realizing some mathematical operations over the data outputed by this VI as well as doing some other stuff).

Thank you again for helping me.

 

Viewing all 67286 articles
Browse latest View live


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