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

Finding BPM with peak detector and Index Array


How to use local variable of a boolean to change the status of the boolean when some conditions are triggered.

$
0
0

The picture is what I have now. There is a while loop outside of it and It is a small independent part of a big project. The operation of the boolean is "Switch when pressed" and it has to be. I am new here and I apologize that I can not directly upload the whole VI, due to the copyright.

 

 

The logic is that when the Boolean (x1 / x4) is true, it will give either 3 or 4 as output, which according to the case 3 and case 4 in the case structure. The x2,x3 and x5 are the limit that use to change the case from 3 or 4 to 0 when the limit is triggered, when the pump is full or empty and the movement should stop, which is case 0.

 

The function itself doesn’t have any problems and the movement will stop when it should, but we have to click the Boolean again to turn the function status OFF, which is not user friendly. 

 

What I want is that when the output of the formula node(y) changes from either 3 to 0 or 4 to 0, let the Boolean also change from true to false.

 

I use shift registers to get the value of y (last loop) and y’(this loop) and use “And Array element” to check if y=3 or 4 and y’=0 happen at the same time in y’( this loop). If this is true, set local variable of “Refill to full” and “Dispense to empty” be false. However, this doesn’t work.

 

 

Welcome any comments or suggestions! Thanks!

how to show number of samples on wave form graph while acquiring data through DAQ card

$
0
0

Hi,

I am trying to acquire data through DAQ card and successfully did it. but now I want to show a graph which represents voltage versus no of samples instead of voltage versus time. can any body help how can I do that.

MJhaziq92_0-1590867721728.png

I want to replace time on x asxis with no. of samples acquired in one cycle 

Regards,

Haziq

Como hacer para que en caso de que el case sea falso no mande nada de datos pero cuando sea true si los mande

Extend ni course

$
0
0

Respected Sir,

 I am currently masters program and doing ni courses .Can you please extend the courses upto 30 june due to this corona pandemic situation.So that it benifical for me and my carrier.Thanks in advance and sry for inconvience.

Regards,

Student

protocolo TCP

Indicators, Labview

$
0
0
Hello I'm building a flight simulator. I'm using LABVIEW 2016. I want to design the indicators to be just as the pilot sees them in the cockpit. Can this be done? How flexible is the indicator display's properties? Thanks,

CLAD Certificate

$
0
0

I have passed the CLAD exam 3 days ago, i received mail from ACCLAIM with the badge but the badge is no showing in NI website professional badges, it is mentioned that i don't have any professional certificate as shown in following screen shot,

MohamedGobran_0-1590935209032.png

i think i should receive a certificate from NI and it should show under my professional certificates?

should i contact NI or this is normal situation?


CLAD Certificate

LabView 2020 (64-bit) Installation - stalls while installing the Database Connectivity Toolkit

$
0
0

Just getting ready to start learning LabView.

 

I am installing on a Windows 10 Pro system, build 1903, with latest updates installed as of 31 MAY 2020.

 

The installation proceeds normally until the installer says that it's installing the Database Connectivity Toolkit. At that point it just stalls. Been that way for about an hour at this point.

 

ckillian_0-1590950439955.png

 

 

Any thoughts?

 

Thanks!

 

Chuck...

WB6YOK

Chart not updating on WebVI

$
0
0

I have a data logging application running in LabVIEW 2019 which uploads a single double value to SystemLinkCloud every second.

 

I made a WebVI, in LabVIEW NXG 5.0, which should display this data on a chart. It works fine for displaying the double values, but when I try convert the data to a waveform for the chart to use the timestamp information, the chart doesn't update properly. The chart shows a line for a split second, then that disappears (see the attached screenshot for an example of the line before it disappears). However, if I switch to another tab in the browser, then switch back, it shows multiple data-points for a split second, before deleting them again.

 

The WebVI is running in SystemLinkCloud. I have attached the LabVIEW NXG code here.

 

I have tried on multiple browsers (Edge, Firefox, Chrome).

What version of LabVIEW and NI-DAQmx works with USB-6008?

$
0
0

I have an old USB-6008 connected to a pressure transducer for one of my applications.  This hardware was passed down to me recently, but the laptop that accompanied it is missing.  If I wanted to access the USB-6008 on a Windows 10 machine, what version of LabVIEW and NI-DAQmx would be able to interface with it, if at all?

LabVIEW FPGA Module Xilinx Compilation Tool

$
0
0

Can I install and operate LabVIEW 2018 FPGA Module Xilinx Compilation Tool for Vivado 2017.2 but the LabVIEW that I have is LabVIEW 2017 version? Thank you for your answer..

NXG 5.0 - none of the variant data type parsing returns the name of the variant

$
0
0

For instance, Get Cluster Information in LabVIEW Classic returns the name, but the NXG version does not.  I've even looked at the Variant To Flattened Byte Array in NXG, and it is missing the name in the type string, as compared to its LV Classic counterpart.  Anyone know of a workaround?

 

Thanks!

DWarn 0xECE53844: DestroyPlatformEvent failed with MgErr 42

$
0
0

hello,

recently labview develop environment crashs frequently, but after built as application, running status has been ok for a period (4 days continuously).

sometimes, labview crashed when just a project file was opened and no vi was running.

attached file is just one typical crash report, and part of lvlog.txt inside this report as follows:

most of warnings are Dwarn 0xECE53844.

Any clue will be appreciated.

 

####
#Date: 2020Äê5ÔÂ29ÈÕ 15:28:18
#OSName: Windows 7 Ultimate Service Pack 1
#OSVers: 6.1
#OSBuild: 7601
#AppName: LabVIEW
#Version: 17.0f2 32-bit
#AppKind: FDS
#AppModDate: 8/16/2017 03:33 GMT
#LabVIEW Base Address: 0x002D0000


InitExecSystem() call to GetCurrProcessNumProcessors() reports: 4 processors
InitExecSystem() call to GetNumProcessors() reports: 4 processors
InitExecSystem() will use: 4 processors
starting LabVIEW Execution System 2 Thread 0 , capacity: 24 at [3673582100.78779984, (15:28:20.787799836 2020:05:29)]
starting LabVIEW Execution System 2 Thread 1 , capacity: 24 at [3673582100.78779984, (15:28:20.787799836 2020:05:29)]
starting LabVIEW Execution System 2 Thread 2 , capacity: 24 at [3673582100.78779984, (15:28:20.787799836 2020:05:29)]
starting LabVIEW Execution System 2 Thread 3 , capacity: 24 at [3673582100.78779984, (15:28:20.787799836 2020:05:29)]
starting LabVIEW Execution System 5 Thread 0 , capacity: 24 at [3673582106.92980003, (15:28:26.929800034 2020:05:29)]
starting LabVIEW Execution System 5 Thread 1 , capacity: 24 at [3673582106.92980003, (15:28:26.929800034 2020:05:29)]
starting LabVIEW Execution System 5 Thread 2 , capacity: 24 at [3673582106.92980003, (15:28:26.929800034 2020:05:29)]
starting LabVIEW Execution System 5 Thread 3 , capacity: 24 at [3673582106.92980003, (15:28:26.929800034 2020:05:29)]

<DEBUG_OUTPUT>
2020/5/29 17:25:54.111
DWarn 0xECE53844: DestroyPlatformEvent failed with MgErr 42.
c:\nimble\penguin\labview\components\mgcore\trunk\17.0\source\ThEvent.cpp(216) : DWarn 0xECE53844: DestroyPlatformEvent failed with MgErr 42.
minidump id: 3979431b-186a-40e4-9563-85986444a083
$Id: //labview/components/mgcore/trunk/17.0/source/ThEvent.cpp#1 $

</DEBUG_OUTPUT>
0x00622B49 - LabVIEW <unknown> + 0
0x5416FD99 - mgcore_SH_17_0 <unknown> + 0
0x541708DC - mgcore_SH_17_0 <unknown> + 0
0x541BC4EF - mgcore_SH_17_0 <unknown> + 0
0x01E2E326 - LabVIEW <unknown> + 0
0x01E2627D - LabVIEW <unknown> + 0
0x0161A006 - LabVIEW <unknown> + 0
0x015EFA51 - LabVIEW <unknown> + 0
0x01603E3D - LabVIEW <unknown> + 0
0x016034E3 - LabVIEW <unknown> + 0
0x00F9E385 - LabVIEW <unknown> + 0
0x00FA6BCF - LabVIEW <unknown> + 0
0x015FCF2D - LabVIEW <unknown> + 0
0x0161CEB5 - LabVIEW <unknown> + 0
0x00FA4AAC - LabVIEW <unknown> + 0
0x0162B25B - LabVIEW <unknown> + 0
0x00FA272F - LabVIEW <unknown> + 0
0x00FA15C7 - LabVIEW <unknown> + 0
0x00F89DB3 - LabVIEW <unknown> + 0
0x00F86AB2 - LabVIEW <unknown> + 0
0x00F8E986 - LabVIEW <unknown> + 0
0x00FB4C8A - LabVIEW <unknown> + 0
0x01600C7C - LabVIEW <unknown> + 0
0x00B0B9DE - LabVIEW <unknown> + 0
0x00C27C17 - LabVIEW <unknown> + 0
0x00C274BE - LabVIEW <unknown> + 0
0x00C2941A - LabVIEW <unknown> + 0
0x01D1F270 - LabVIEW <unknown> + 0
0x01DBDF33 - LabVIEW <unknown> + 0
0x01D1EB6C - LabVIEW <unknown> + 0
0x01D643C8 - LabVIEW <unknown> + 0
0x01DBD923 - LabVIEW <unknown> + 0
0x01D635B2 - LabVIEW <unknown> + 0
0x003CEF12 - LabVIEW <unknown> + 0
0x003CEDE5 - LabVIEW <unknown> + 0
0x003CF3DE - LabVIEW <unknown> + 0
*** Dumping Bread Crumb Stack ***
*** LabVIEW Base Address: 0x002D0000 ***
#** DisposeInstrument: "C:\Program Files (x86)\National Instruments\LabVIEW 2017\resource\Framework\Providers\API\mxLvGetPathProperty.vi"
#** VILinkObjRemoveCore: "C:\Program Files (x86)\National Instruments\LabVIEW 2017\resource\Framework\Providers\API\mxLvGetPathProperty.vi"
*** End Dump ***


How to use USRP like a repeater, using LabVIEW?

$
0
0

I'm going to design a transmitter, repeater, and receptionunit using threeUSRP2921s,

 

pleaselet me know how to program the function of the repeater.

Problem in mac version

$
0
0

Hello everyone,

I am working on a final stage of the project and I need to build a .exe file for window and executable file for mac os. I used the 2014 LabVIEW version for window .exe file and its working well. But I used 2018, 2019, and 2020 for mac os executable file and it didn't work. 

 

The overall project is working fine in mac os but the part where the project needs to build external knobs itself is not working. Every time I need to create it manually. 

 

In my project I used two methods to create external knobs; It automatically create with the depends on Id and second, it will create by the user manually. 

 

I window version both functionality is working properly but in mac os, only manual method is working but automatically knobs creating functionality is not working. 

 

If someone has any video what I need to do? 

Actualiser NI MAX avec Labview

$
0
0

Bonjour,

 

j'ai une alimentation TDK Lambda et le problème que je rencontre est que je suis obligé d'actualiser NI Max tout les jours afin de voir mon alimentation.

Comment puis je actualiser NiMAX avec un programme LabVIEW car je veux faire un .exe et eviter à un opérateur de lancer MAX tous les matin?

Cordialement

Continuously Read data via TCP

$
0
0

I am implementing a TCP connection between MyRio(client) and Python(server). The goal is to send data from the server to the client, perform some calculations, and send the result to the server. I need to keep changing the data being sent to the client. I noticed the first data works fine and the result returned to the server, but the client could not read subsequent data. I debugged and was able to detect that the error is coming from the first read function is the "Reading values subvi"  but I don't know how to correct it. How do I go about it?

I have attached the files below.

Calculations with long equations

$
0
0

Hello Everyone,

I am getting data from several sensors and I want to do calculations with them via Labview. The equations are long. Whats the procedure or method to do this?

Regards,
Alexis Koulidis

Viewing all 69606 articles
Browse latest View live


Latest Images

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