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

Error -383201 explanation

$
0
0

Hello, I am brand new to LabView. I am creating a very simple model where a simulink model in integrated through VeriStand API. While running the model I am getting the following message

 

Model Interface Toolkit: The reference to the model is invalid. Ensure you pass a valid model reference to this VI

 

Error -383201 occurred at Model_Example.vi

 

Appreciate any help to understand this error


Tank Indicator to display the sum value

$
0
0

Hi

 

I have a case structure for a dual syringe pump that will let me choose one syringe and aspirate as much as I entered in the control. 

I also have a numeric tank indicator that displays the volume of fluid inside the designated side of the syringe. 

The problem with that is if I have aspirate different volumes multiple times, the tank does not reflect the total volume that has been aspirated, but only takes the last value of aspiration. 

I have a feeling that I will have to include the tank indicator inside some kind of loop, but I am not too sure which one. 

 

The picture only shows the case structure of two syringes without tank indicator. 

missing interface of function generator Agilent 33210a on max and visa resource name could not been found on labview

$
0
0

Hello, 

I am now using a Function Generator agilent 33210A from keysight in my labview coding via USB connection. However, the computer can never connect to FG somehow. I download the "keysight connection expert" and the connection status for the FG is always broken. I tried to download all the possible drivers from both the keysight connection expert and national instrument but still when running the ailgent 33xxx series examples, the error messages 107807202 always occur telling me a required driver not being installed on the system. One possible problem is that  the agilent driver does not show it's compatibility with windows 10 on his installation text. But right now , I have no way to reduce the windows version for that issue. Does anyone else happened to encounter the same problem I have and get fixed ? By the way I could not see the interface for this FG in MAX as well. 

Help making a control on the Front Panel for multiple inputs

$
0
0

Hello!

So I am making a VI that will be used in testing something at multiple voltage values. Essentially I would like to have a control on the front panel that will allow the user to enter multiple voltage values that they wish to run the test with, that way they can run the test once instead of having to change the value and run the test multiple times. I'm not certain what control on the front panel would work best with having a varying number of inputs to it (between 1 and 6 different voltage values). I tried just a simple array but the issue with that is if you want to have 5 different values the first time and then only 3 the second time, there are still going to be 5 elements in the array from when you ran it the first time as opposed to 3. I really hope this is making sense, but I would really like something to where you can select the number of values you want to use and then simply type in each value or something along those lines.

 

Maybe I am just brain dead today, but I can't think of a way to do this so any help is appreciated!  

Unable to Round Numbers in a String Array

$
0
0

Hello,

I have am having an issue with taking an array of strings and rounding those string numbers within the array to two decimal places. I was able to round to the nearest integer by converting the array of strings to an array of numbers then rounding and converting back(its ok if i loose the text strings), but I have been unable to specify I want two decimal points for a whole array.

Shared code between two built applications

$
0
0

Hi,

 

I have two built applications that use code in a Labivew library (lvlib). Currently, I include the lvlib in my two labview projects.

 

However, the code in the lvlib gets updated frequently. Every time it gets updated, I need to re-compile the two applications. It also becomes annoying to record the changes and do version control for two applications when only the shared code changes.

 

I am thinking to separate the code in the lvlib from the built applications. The applications just dynamically load the code when needed. This way I can have changelog and version control for the two applications and lvlib. So I can create three installers for the user.

 

What is the best way to achieve this? Should I use the source code distribution for my code in lvlib? If so, is there a way to create an installer for the source code? Or use .dll. or some packaged library? I can do more research if I know my options.

 

Thanks,

Joseph

Memory Leak with Named Notifier

$
0
0

I don't usually use named queues or notifiers, but it seemed convenient for a recent task to use named notifiers. My program would use the named notifier once every 10 mins, and after a couple days of running, the program would get a memory error. I cannot prove the memory error is from the notifiers in the program so I made a simple test case, attached.

 

I made "Notifier Test.vi" to send data on a named notifier every 5ms, but only a single notifier should ever be created. If I run the "Notifier Test.vi", the memory usage starts out constant, then starts to trend upward in a straight line after about 5 minutes. After about 30 minutes of running, the notifier no longer transfers data and the data indicator just reads 0. You can use the included "Check Memory Usage.vi" to see a chart of the memory usage over time.

 

Can anyone reproduce these results? Did I misunderstand how named notifiers work?

 

Block diagram for those who don't want to download:

temp.PNG

Cambia peso a imagen


DATABASE MANAGEMENT via LABVIEW

$
0
0

I have a project, i need to develop a database management that can generate reports via LabVIEW but i don''t know yet where to start. can you guys help me. i am new in LabVIEW environment.

 

kindly send me some codes  that you think i can use as my reference in starting my project. 

 

thankyou in advance, your help are truly appreciated... 

windows media player sporadic

$
0
0

Hello

I am having sporadic results with windows media player.

I have overcome an auto sizing issue I had, not very elegantly I hasten to add.

The one issue I really want to overcome is sometimes the player runs a video with its audio, sometimes it just runs the audio and sometimes it doesn't run at all.

I am calling it as a subvi from my main vi, if that might be the issue - but how else would I call it, as I want it to come up as a pop-up from my main application

Thanks in advance for any help with issue

Lee

database toolkit 2016 64 bit

$
0
0

hi, i not able to find out database connectivity toolkit for labview 2016 64 bit.

Please share the link,thanks.

Tab page not giving command if not selected

$
0
0

hi friend

i have project with tab control which have 8 pages. at last page i have control to switch on/off lights at particular time. when i set time in tab page and i be at same page it works fine(on/off lights) but if i set time and move to other page it not working. it looks like page only refresh on which i viewing.?/

any help please.

 

Thanks,

Asif

LabVIEW and Python

$
0
0

Dear NI community,

let me ask a question, which is rather some general one, and not directly belongs to LabVIEW usage itself.

 

A lot of people now talk about LV + Python usage; a lot of employers also require besides LV knowledge, also knowledges of Python.


I have no doubts, that Python is very powerfull instrument, but let me ask people, who are actually using Python - what tasks do you solve with it? I mean, if I'm gonna start to learn it, what should I be focused on? Is it some calculations/analysis code, or some parsers/scrapers, or communication with some 3rd party software by some scripts?

 

Because it's difficult to realize need of Python to be used with LabVIEW, without knowing some use cases...

 

Thank you very much in advance!

 

Sincerely, kosist90

 

logos_middle.jpg

 

Caraya test framework for LabVIEW – convert your VIs to test code!

Strain gauges act differently?

$
0
0

Hello all!

 

I am wondering something for quite a while and it seems that I can't find the correct answer. Hope any of you will. 

The figure in the annex shows the section of the frame of an electric step. When standing on the step, it will bend and it will give compression above and tension below. On the right, the green squares show where a strain gauge is placed. Assume I use a strain gauge that is placed on the rib as shown with the green circle. This means that, in section view, it will be rotated 90°. 

 

What difference will this give in the results? 

 

I really appreciate a good answer since i'm very curious about it.

 

Thanks in advance,

Kind regards,

 

R.

 

Oven stimulation

$
0
0

Greeting.

How do I set the 170-185 celcius as the running point from datas? If the oven start running, the temperature must be in the range of 170-185 celcius, otherwise it will shut down automatically. But if the starting point is under 170 celcius, then the oven will be standby mode and it will not shut down and keep in standby.

Thank you.


USB Pendrive safety extract

$
0
0

Hi
I need a .vi or any example with explain ,about, how can I extract a USB drive with safety mode.
Thanks

Problem with event structure and FPGA RT

$
0
0

I'm having some problems when I try to create an event structure in the RT vi. First I run the fpga mode, then run the RT mode. It's just a simple program to turn on/off a LED but when I play the Run mode nothing happens. I've tried the same program in another project and it works.I think there should be a problem when using events structures and FPGA mode.  Is there any way to solve this problem? I'm using LV 8.5. Please ignore the variables 

Series de Fourier. Ayuda

$
0
0

Buenas noches comunidad, soy alumno de ingeneria y me mandaron a elaborar un programa que puedo resolver problemas relacionado con series de fourier en labview, quisiera que me ayuden con ideas de como hacer, si tienen libros donde me orienten, ya que el ingeniero no explica solo manda aprender en casa. Espero su ayuda y de antemano muchas gracias...

Scan 2D array for proper data series

$
0
0

Hello,

I will have many .s2p files from farfield antenna measurements. I should read all data and make some calculations. Read files from folder and sorting is done.

Now:

THETA is in range from 0-180, PHI: 0-350. Both THETA and PHI can start with value different from 0 and end at value different from 180 or 350. Both THETA and PHI can have different step value, e.g. 1, 2, 3, 4, 5, 6, 10.

My problem is to check if all files in series are present.

First to check what is general step value;

Second to check if all files to read are present, e.g. I have THETA from 50-100 and PHI from 0-350. Now must be check if for THETA=50 all PHI from 0-350 with proper step are present. Next THETA=51 (means step=1), check if PHI 0-350. Next THETA=52 (means step=1), check if PHI 0-350. Next THETA=53, PHI 1-350 - error, no THETA=53_PHI=0 file.

I started, but don't know how to continue.

unable to create table in microsoft access 2010

$
0
0

hi, i want to create a table of information so i started first from create db tool and gave simple column names.

But got this errror and  no output to my access.mdb 

 

error message-NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibSmiley Very HappyB Tools Create Table.vi->information.vi<ERR>ADO Error: 0x80040E14
Exception occured in Microsoft JET Database Engine: Syntax error in field definition. in NI_Database_API.lvlib:Conn Execute.vi->NI_Database_API.lvlibSmiley Very HappyB Tools Create Table.vi->information.vi 

Viewing all 69333 articles
Browse latest View live


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