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

how to integrate ESP8266Ex WiFi module with sbRIO 9623

$
0
0

 

Hi Guys,

I have sbRIO 9623 to which I have to integrate a WiFi module to communicate with a PC. There aren't much info that i could find online with relevance to LabVIEW. I am not sure about the pin connections as to where I should connect TX and RX pins of the WiFi module as well. My purpose is to transmit a alarm signal to PC or any other device from the sbRIO which acts as a embedded monitoring device. Any pointers is appreciable

 

Thanks

Gokul


The application is not able to keep up with the hardware acquisition.

$
0
0

I am using NI USB 6000 with labview. I am acquiring continuous analog data but then after running for sometime I get an error

"The application is not able to keep up with the hardware acquisition.

Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem."  Please find the attached vi.

send command to linear ccd

$
0
0

Hi

i've problem with send command to linear ccd.(tcd1304ap toshiba). MAX can detect the ccd but i don't know how send these commands to ccd. 

 

How to match RGB images using match multiple geometric patterns

$
0
0

Good day! I'm trying to match eye colors using match multiple geometric patterns but I can't do it since the output in match multiple geometric pattern is in black and white. Is there a way wherein I can change the output to RGB instead of black and white? Thank you!

Basic question: How to send a digital trigger signal from a 9401 digital I/O to a microcontroller?

$
0
0

Hi there,

I'm using a 9401 (with a 9215) in a 9174 chassis, Labview 14.0.1.

I have a very basic question that I can't seem to find an example for, to start me off on my current acquisiton project. I need to send a digital falling edge signal from the PFI0 channel of a 9401 digital I/O module, to a microcontroller.   The task "DAQmx trigger: Start digital edge" doesn't seem appropriate, as requires a digitail signal to use at the source of the trigger, rather than sending a trigger signal. I attach here my attempt, but I'm doubtful its even close. I would like an output chart so I can monitor the signal being sent.

Can anyone help with this?

Thanks,

Claire

 

 

 

FPGA Control on CompactRIO-error code 91

$
0
0

Hi! I am using the FPGA Control on CompactRIO Sample project with cRIO 9063, NI 9205 and NI 9264. I have already adapted the sample project to my hardware. The only changes that I have made to the project was using PD control algorithm. However, when I tried compiling the FPGA Main.vi, the following error pops-up: LabVIEW FPGA called another software component, and that component returned error code 91 (the data type of the variant is not compatible with the data type wired to the type input).

 

Other VIs (RT Main.vi and UI Main.vi) can be compiled and run. So, I am not sure where exactly to fix the error as the FPGA Main.vi does not use any variant.

 

Thanks!

Help speeding up program serial communications read and/or data calculations and/or writing to disk

$
0
0

Hi,

 

Please see the attached code for serial communication with a patient monitor; after getting help on the forums once before it works, but you wont able to run it without the monitor etc. Excuse the front panel its a messSmiley Happy

 

https://forums.ni.com/t5/LabVIEW/Serial-communication-problem-TermChar-Enable-to-False-and-ASRL/m-p/3291147#M962090

 

However I have pretty high spec'd laptop and it works ok enough, with a couple of second delay at the most, displaying on the screen, however the people using the software arent as lucky and it takes exponentially it would seem longer and longer to display. The realtime samples are coming through at 100Hz or one every 10msec.

 

I have read that I should only use serial communication calls sparingly, and yes the producer loop is taking about long to get the sample, but the consumer loop has too much to do it would appear (and yes I am writing two files to disk... well that is what was required). 

 

I have some ideas, including writing to memory first and then disk, creating a single loop for data calculations (hoping to reduce calls to VIs, or even stopping display to the monitor but then hard to know what is going on...

 

Any help or guidance would be appreciated and yes I am self taught. NM3v2.vi is the main file, I have included the subvis but let me know if anything is missing.

 

Cheers

what's different between event create and register

$
0
0

I don't understand the detail position of the event create and register, I want to know the theory behine the functions.Someone give info?  Thanks!


Using labview to monitor specific tcp port

$
0
0

Hello,

Im using cRio-9067 and I have another devices that are connected to my local network (think about them as thermostats that wait for a command to come and tell them to take a sample, and after that they send the answer on the network)

so, my question is, how can I control them?

becasue i cant make a vi for each thermostat (they have a microcontroller inside them that read the commands from the network) , and my guess is that to create a tcp protocol using LabView I have to make a client and server VIs.

 

Is there any way to make only a server VI that sends the "take a sample" command and on the same time it will listen to the answer?

 

Thanks alot!

AutoConfig To Start

$
0
0

Hello,

 

I have a compleate programm but i Wuold open in automatic a Config File, load a path and one device, when the EXE is Started. This is the first Process, exist a solution?

time delay in one part of the code.

$
0
0

Hi, 

I am trying to develop an application using Labview version 9. the application is to aquire an lightening impulse waveform from  a tektronix 2012B scope on to a PC and generate a report with the waveform parameters such as the rise time, tail time and the Peak of the wave. 

I have been able to aquire the wave and generate with all the parameters. 

However when I built a EXE file of the program, and ran it on a laptop it has a delay for report generation (approx 3-4mins) to pop up the menu for report generation. And Also I find the code not very user friendly. Please guide me so that I could optimize the code for faster output. 

Any suggestions and information to improve my code would be useful.

 

Thanks in advance....

I/O Server - Modbus (Duplicated, To be deleted)

$
0
0

Hi everyone,

 

I have a project in LabVIEW 2010 which includes I/O Server for ModBus communication, which works fine and only have LabVIEW, FPGA and Real Time Modules installed on the PCs.

 

Porting this application to LabVIEW 2013 with the same modules (FPGA and Real Time), The communication is not working anymore, I can deploy my library but no connection is established (View through the Distributive System Manager) with the PLC, but I can Ping the PLC.

 

I noticed that on LabVIEW 2010, I could do new >> I/O Server, but not on LabVIEW 2013.

Googling, I found this link Cannot Create New I/O Server in LabVIEW Project,

I found that to create and I/O Server, I only needed LabVIEW Real Time (I have the licence), or LabVIEW DSC(I have no licence).

 

Is there something else I need to install ?

Do I need the Real Time licence to only deploy and use the shared variable ?

 

Thanks

Create and Deploy I/O Server - Modbus library (Labview 2013)

$
0
0

Hi everyone,

 

I have a project in LabVIEW 2010 which includes I/O Server for ModBus communication, which works fine and only have LabVIEW, FPGA and Real Time Modules installed on the PCs.

 

Porting this application to LabVIEW 2013 with the same modules (FPGA and Real Time), The communication is not working anymore, I can deploy my library but no connection is established (View through the Distributive System Manager) with the PLC, but I can Ping the PLC.

 

I noticed that on LabVIEW 2010, I could do new >> I/O Server, but not on LabVIEW 2013.

Googling, I found this link Cannot Create New I/O Server in LabVIEW Project,

I found that to create and I/O Server, I only needed LabVIEW Real Time (I have the licence), or LabVIEW DSC(I have no licence).

 

Is there something else I need to install ?

Do I need the Real Time licence to only deploy and use the shared variable ?

 

Thanks

Parameters for the ODE solvers for stiff problems.

$
0
0

Hello,

I have a number of ODE that I solved in few seconds in Matlab with ODE15s and I am trying to reproduce the result with the available stiff ODE solver and I think they are

According to this help link

https://zone.ni.com/reference/en-XX/help/371894G-01/lvsimconcepts/sim_c_ode/

 

In my matlab system I have to choose relative and absolueerror tolerance 1E-10 and 1E- 18.

Labview seems to fail or to be too slow to integrate my ODEs.

I attached my code here and how the integration should look like.111.jpg

LabVIEW 2016 executables

$
0
0

Hi

 

I have installed LabVIEW 2016 from 2015.  However, when I deploy my project it fails to run.

 

After a bit of debugging, I found it is because of Application.Kind.  Instead of Application.Kind returning 'Run-time' it is now saying 'invalid app kind'.  Is this a known issue?  Is there a better way of determining the path? 

 

Thanks, Seán

 


LabVIEW Process as a Window's Service

$
0
0

Is there any benefit in terms of stability or performance running LabVIEW processes as a Window’s service as opposed to simply running them as an application? I have been asked this question and I can’t think of any advantage in terms of performance or stability. I realize that if you are running a server it helps to have the core server running as a service since it will always be running and there is no need to start an application after a reboot. Are there any other advantages?

Making program send command if fails to receive signal

$
0
0

I am fairly new to LabVIEW and am trying to make a IF statement for getting a response from the hardware. If it recieves a response, any response, do nothing. If it fails to recieve a response (for, say, 1 second) send command to hardware. But with LabVIEW's data driven approach I am not sure how to make it act on no data. 

Any Recommendations? I can provide more info if needed.

Thanks.

Aborting a timed loop causes LabVIEW to hang

$
0
0

Hello,

I have a timed loop which is sometimes instructed to run slowly (for example 10s rate). So when I want it to stop, I don't want to wait until the next "normal" wake-up which might happen up to 10s later. This is where the Stop Timed Structure.vi is handy, since it forces the loop to wake up right away. Most of the time this works just fine, but once in a while the Stop Timed Structure.vi hangs forever and I can't do anything except killing my application in the Windows task manager. Not great when we have a customer-facing product!

Has anybody experienced this issue and would know how to fix it or work around it? It feels like a big LabVIEW bug to me...

Thanks

Labview dll does not accept path from web application (.net mvc 5)

$
0
0

I have labview dll which accepts the path for dsx file and does further processing and retruns csv file. This dll accepts the path if passed from console application and works perfectly but if same path is provided from web application, it throws " Object reference not set " error.

Is there any pre requirement to use labview dll in web application ? The dll works on LabVIEW2015 runtime. 

XY graph cursor multiple point

$
0
0

Hello, I want to know how can I specify the position of y=0

 

I use cursor ,then key 0 in the right side blank, and it shows the first point of y= 0 of the curve

However I only want to know the other point (position of y=0 in the wave)

 

How can I do with the cursor function?

 

And actually I also hope that I can get the value immediately after I get this curve , Is there any way to set this condition?

 

I'll appreciate any of advice.

Viewing all 66757 articles
Browse latest View live


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