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

mse(Mean squared error).vi

$
0
0
Hello.I am a beginner to LabVIEW.
As shown in the figure below, I want to measure MSE from waveform data using MSE.VI, but there are many difficulties.
How can I get the X and Y values of MSE.VI input from waveform data?
I uploaded my VI file as an attachment.

캡처.PNG


usb 6003

$
0
0

Для работы с usb 6003, что бы мерить аналоговые сигналы и включать выключать выхода, достаточно ли usb 6003 BASE?

System EXE.vi

File creation issue with Labview

$
0
0

Hi all.

 

Running a new compiled version of my program (LV 2016) which appearred to be fine in testing.

 

However today it display these errors

Greg1956_0-1584423384299.png

this occurred at the write phase of the run followed by

Greg1956_1-1584423424015.png

 

This seems to indicate an issue with Windows 10 security. I have updated C drive security access to allow the application full rights (read/write etc).

 

I've also added the whole project so if the issue is mine please let me know.

 

Error Occured When Several Program Write/Read One Database At Same Time

$
0
0

Hello,

 

I think i need some help with reading data from Mircosoft Access 2003.

I created a database and there are six independent program will do write action to it. Data will be texted in process1 table and  flwo to process6 table, and there is a table named summary which will record all data when the data flows from process1 table to process6 table.

Now i get a new request to show the data which means i will create a new code to read the data from each table in the database. It seems there is something conflict when i read data from database becaues another six program may write data to databse. Is this any way i can fix this confict?this is the errorthis is the errorthis is the show program GUIthis is the show program GUI

Out Port & run-time module

$
0
0

I'v got a problem... My VI uses VXD driver (throw the DLL) to get the board information. In one particulary case i use OUT PORT VI, provided by LabVIEW, to bypath driver. BUT! It works with the LabView, but on the other computer, with run-time module only, I get error (A subVI, Type Definition, or external subroutine is missing or inconsistentwith the current VI). When I try to start run-time module on the first computer, it works. What I have to do?

generate arbitrary signal with afg 3101

$
0
0

Hi, I'm studying labview to generate arbitrary signal, using tektronix afg 3101.
Before started, i wanna practice labview coding, so made two files. (loading data and plotting on XY graph like this).

 

0.jpg                                    1.jpg

  

Then, how can i turn this data into a signal and send it to the device?

 

thanks.

Duty cycle measure

$
0
0

Hi,

 

this is Antonio Guagnano, I'm working to a new project where I need to control heating system by means duty cycle measure. I attached an easy VI where I just check temperature.

Right now, I need to compare a fix duty cycle with calculated one as time heater on*100/ (time heater off+time heater on).

 

Can anyone help me?

Thanks in advance 

AG  


Recording/application runs slowly, when the computer is locked

$
0
0

Hi everyone


We have developed a application to receive the signal for temperature, vibration etc. from PLC and display the data on the graph. At the same time the test time is also recorded. The basic structure is the producer&consumer. The data transmission for the signal is through notifier.


The software runs quite well, but when we lock the computer, after a few hours the graph disappears (the time on graph is much slower than the test time because of an unclear delay; the recording for the test time works correctly). Our question is, why the problem happens only when the computer is locked.


Can you please help me? I

 

Thank you so much!

Where are cRIO username and password stored

$
0
0

 

I am using National Instruments Replication and Deployment utility (RAD Utility) with cRIO-9067 and cRIO-9074. I would like to blacklist username and password files, to prevent them being changed by image deployment. Does anyone know where the usernames and passwords are stored? Thanks for your help.

How to find factors of the 4th degree polynomial

$
0
0

Hello!

I have 4th degree polynomial like this:

y=x^4+18*x^3+52420*x^2+34303*x+51959400

 

Is it possible to present this in LV in the form like y=(a*x^2+b*x+c)(d*x^2+e*x+f) ?

 

I tried to use the PFE function, but I don't get the correct solution with it. I know that there is a method described by Lodovico Ferrari, but I don't know how to use it in LV

 

Create cursors in a 3D plot

$
0
0

Hi,

I thought creating a cursor would be easy but I'm finding many problems. I want the user to insert a series of (x,y) locations and the vi to pick them and plot them in a 3D surface using cursors. I can see all the options for cursors but to "create cursor", I thought enabling TRUE would do the trick but apparently it does not.

Any ideas?

Thanks!

PXIe-6363 and PXIe-4300

$
0
0

-My plan to use PXIe-6363 with PXIe-4300

to do the following task:

1) send digital output from PXIe-6363.

2) read analog input voltage from both cards

-all the task shall be done on the same time.

-Error 89137 appeared.

-How can rectify the error?

 

LabVIEW VISA read from Arduino

$
0
0

Hi,

 

For a project I want to couple an Arduino Uno to the LabVIEW environment. 

I want to send sensor data for more than 20 sensors. Some of these sensors have values of more than 8 bits. Therefore, I have seperated them into 4 bytes which can be put back together into a numeric single (32 bit number). This seems to work occasionally  (if the array is ordered like: 0 0 49 40). However, often the array is ordered different (e.g. 40 0 0 49), resulting in a wrong 32-bit value. I know this is caused by how the VISA read block works (fifo until it collected 4 bytes). However, I do not manage to collect the bytes continously in the right order. I did some research on using a termination character, but did seems not the way to go.

 

Hopefully someone can help me.

 

Thanks in advance,

Bryan

 


Arduino code:

void setup() { // put your setup code here, to run once: Serial.begin(9600); } void loop() { // put your main code here, to run repeatedly: unsigned long myNumber = 10289.5; byte buf[4]; buf[0] = myNumber & 255; buf[1] = (myNumber >> 😎& 255; buf[2] = (myNumber >> 16) & 255; buf[3] = (myNumber >> 24) & 255; Serial.write(buf, sizeof(buf)); }

 

 

Battery test system

$
0
0

Brief description of the project
I have to build and program a battery test system for school.


What it must be able to do:
-Current and voltage should be logged with timestamp
-Graphical representation of charge and discharge cycles

 

Cycle:

Load 3 times, unload 3 times -> read characteristic and give rating.

 

In addition I work with a NI-USB-6008
The question is, how must the LabView program look like, i.e. tricks and tips. I have not so much experience with LabView


imaq mask on u 32

$
0
0

why the program with imaq masks error ?

 

error.PNG

Sending a email

$
0
0

Hello,

 

I am trying to let the labview program to send me a e-mail, sms and ore a Whats app message to alert the opperator on its cell phone.

 

I tried the gmail.vi example code but it is giving me a error.

     LabVIEWSMTPClient.lvlib:Send.vi:2280003<APPEND>

     <b>Complete call chain:</b>
     LabVIEWSMTPClient.lvlib:Send.vi:2280003
     Send email trough SMTP shown in video.vi

 

I tried the express SMTP sending email but also this gives a error 

    Possible reason(s):

    LabVIEW: The network operation exceeded the user-specified or system time limit.


    Complete call chain:
    LabVIEWSMTPClient.lvlib:Send.vi:2280001
    LabVIEWSMTPClient.lvlib:Configure SendEmail_express.vi
    LabVIEWSMTPClient.lvlib:Configure SendEmail_express.vi.ProxyCaller

 

Can someone help me with these problems ?

I have configured a new gmail account to send these e-mails from and set it up with low security for external software applictions

 

Thanks already in advance,

 

Danny

Can NI 9253 sample faster than scan engine?

$
0
0

I have a cRio 9047 in hybrid mode with a 9253 sampling at 2 kHz on FPGA and three 9512s deployed under scan engine (scan rate is 1 kHz). I know the 9253 is DAQmx compatible. I also know the 9047 is DAQmx compatible as I have a 9217 sampling two RTDs with DAQmx. What I don't know is if I can deploy the cRio as scan interface, move the 9253 to DAQmx, and sample that at 2 kHz. I've never been clear on whether or not a DAQmx device can sample at a higher frequency than the scan rate at which the cRio is deployed. Thanks in advance.

Achieving definite parallelism

$
0
0

I need to parse several command files in parallel and merge the outputs, phase by phase. By way of developing my parallel architecture, I did a little experiment.

 

Strategy: 1. Launch several copies of the "parser"; for this experiment I'm using a random number generator.

2. Send a Notification to them all when it's time to begin a new phase. Each enqueues its output.
3. Collect the outputs in a loop and build an array of them. (For now, I'm using a timeout to terminate collection; in the real program there will be a more sophisticated approach.)

 

It isn't working. If I start with execution highlighting enabled, I see this. Only instances number 3 is running.

 

Situation 1.jpg

 

If I start, press the okay button a few times, and then enable execution highlighting, I see this. It would suggest that all four instances are running. But in fact it isn't true. I only ever see output from #3, and a conditional probe in ParaPortion as below if, conditioned on ID < 2, never fires.Situation 2.jpgParaPortion.jpg

 

 

 

 

So what do I need to do to make sure that four instances of ParaPortion are in fact running and can wait on my notifier all at the same time?

 

I'm open to all manner of suggestions on how to achieve the parallel feed that I need.

 

DAQ970A and DAQM901A Labview Drivers

$
0
0

I see a lot of posts on this site and Labview drivers for the 34970 but nothing on the newer DAQ970A that replaces it. I started using the DAQ970A with some DAQM901A and DAQM903A cards with some LabVIEW drivers from the Keysight web site a few months ago and am struggling with understanding the 'resolution' setting on the measure resistance VI. There seems to be some suggestion in some documents that you can only enter 1,2,10,20, 100 or 200  but the measure resistance VI lets you enter any value you like and  also crashes it seems if you enter auto for range and don't enter anything for resolution yet that is apparently what you are supposed to do with auto range. Entering DEF or AUTO for resolution which is the other option for when range is Auto does not seem to be an option. So I was wondering if there were any updates to the DAQ970 measure resistance VI as I have one reading of a 200K resistor that seems more noisy than it should be and I wanted to optimize better. However The LabVIEW drivers I started with do not even see to be listed on Keysight's web site anymore and I am now wondering what is going on with LabVIEW driver support for the DAQ970A? Anyone know anything ?

 

Thanks

Viewing all 69285 articles
Browse latest View live


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