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

connection of Labview with DSO

$
0
0

how to make connection for analog output in DSO from labview


myRIO freeze after run

$
0
0

Hello everybody!

I got a myRIO system from my university and we want to build a small autonoumos robot. We use LabView 2015 for myRIO. 

Everytime when i connect to my myRIO system, the whole LabView Software freezes. But after ~3min the programm runs without problems. What could be the problem? All my colleagues click on run and it needs ~10s and the programm is running. I also tried reinstall the whole software package but the problem still exists. Maybe anyone can help me. Thanks!

Best regards, Patrick

possible BUG in subvi

$
0
0

Hi again for all labview experts
I  think that maybe this issue that I want to explain is some kind of bug for report
and I want to know my friends opinion inside the forum 
the issue is that 
if we use a vi as subvi inside the other vi but for this subvi in icon editor we disable all user layers 
this subvi will be transparent insde the block diagram and also not selectable part for drag and drop or move inside the block diagram 
I think if we regard being transparent is reasonable but being unselectable is not reasonable and  NI should be fix this problem 
subvi.png


Skalierung Vertauscht

$
0
0

Can someone help me to locate "Skalierung. Vertauscht"

binary bit operation

$
0
0

Hi,

 

I just met a problem with 9-digits in binary bit operation.

Long time ago, I manipulated some binary and remembered that the first digit could be considered as significant or other specical meaning.

 

Though I guess the solution as the attachment, I would like to know the right technique in binary operation.

1) How can I replace the FOR loop with a simple bit operator?

 

2) I am trying to use U16 (16 bit) to adopt all  nine digits but how to remove the first digit or some digits in sequence as a final data? (In my code, I just substract a number from the calculated number.)

for example, (1)101000111 ->101000111 or (11)01000111 ->01000111

 

3) In other curious question, the lower three digits (111) is fixed in my application.

How can I separate or add the digit in calculation for simplicity?

for example, 110100(high)+(or some operation)111(lower)=110100111

 

labmaster.

code: LabVIEW 2014.

 

importing text files and plotting graphs

$
0
0
pls i would the house help am relatively new in labview and i have a dead line this week ending. i want to plot time against 3 temperatures and also showing the initial temp of each column and end temperature with the duration of the graph in seconds the data file is attched time temp1 temp2 temp3 11:29:19,26.188,26.500,26.688 11:29:29,26.188,26.500,26.688 11:29:39,26.188,26.500,26.688 DELETE MESSAGE

Comparison of DAQ cards

$
0
0

Hello all,

 

My question is how NI myDAQ is different from other DAQ cards? I mean what is its comparison with other DAQ cards? 

If you can provide a link for comparison of different NI DAQ cards it will be very helpful.

I am asking this question for a presentation.

 

Regards

Omer

scripting: insert existing typedef into a cluster

$
0
0

Using scripting, I can create typedefs and save them. I can create a control, open the typedefs and insert them into a cluster in the new control. But they are just clusters in the cluster and lose the connection to the typedef. I need to keep them as typedefs. I can do it manually by creating the cluster and dragging the typedefs in from a project, but can't get scripting to do it. Any brilliant scripters there?


Reset XY graph after plotting a certain number of points

$
0
0

Hi all, 

 

Here is my scenario.  I am plotting the result of a mathematical operator (in this case the area under a curve) as the Y axis and the data in the X axis is generted from a small while loop incrementing from 0 with +1.  I would like to run the plot for 1000 points, then have the entire thing reset to begin at 0 and start plotting again.  I tried using the Reset feature of the Express XY Graph VI but the data was still going beyond the 1000 points, even though the graph reset (I check by autoscaling the X-axis).  Any suggestions are appreciated.  Thanks in advance.  

Running LED

$
0
0

Hi all,

I'm an software engineering student and just started using LabVIEW. I'm having dificulties in trying to make the LED runs the word from right to left.

Can anyone here please advice me on how to improve my program?

Transfer data from FPGA Target to RT, manipulate data in RT, send results back to FPGA

$
0
0

Hi.

I am using cRIO 9063.

In FPGA, I would like to read data from 6 analog input channels (NI 9205), then transfer the data to RT in order to perform arithmetic manipulation. Lastly, send the manipulated data from the RT to FPGA Target. This is required as the data needs to be used for PID Control in FPGA.

 

I read that DMA FIFO is useful for this application. So far, I created two DMA FIFOs; 1) Store the raw data from the analog input, 2) Store the final result of the arithmetic calculation. I have no problem in the first FIFO. The problem lies in the second FIFO (Calibrated sensor measurement), I cannot create a WRITE FIFO in the RT for storing the calculated results and also the READ FIFO (to read the calculated results from RT) in the FPGA.

 

I am attaching snippet of the FPGA and RT vi.

 

 

Please advise on how to do this.

 

Thanks,

NA

 

 

 

LV2016 32bit Drag Drop in EXE

$
0
0

Hello

 

Drag drop event does not work in an applicaiton built in LV2016 32bit. It works in the development environment.

 

The idea is to drag file name from tree control onto an XY graph. the Drop event is registered on the XY Graph, where the file name is processed and the file contents are plotted on the graph.

 

the problem looks similar to the one in the post below:

https://lavag.org/topic/2600-listbox-drag-drop-row-reordering-doesnt-work-in-built-exe/

 

I have used Drag and Drop feature before, in an application built in LV2015 32-bit. I have not seen this problem then.

LV2016 32bit Rearrange tab pages

$
0
0

Hello

 

LabVIEW 2016 32-bit hangs/freezes when trying to rearrange pages of a Tab control. Found the problem with System, Modern and Classisc tab controls.

 

With only two pages in the control, selecting "Swap Pages" option freezes LabVIEW.

With more than two pages in the control, clicking OK in the Rearrange dialog box freezes LabVIEW.

 

I then tested it with LabVIEW 2015 SP1 32-bit and did not see this problem there.

 

Temperature control

$
0
0

Hi everyone,

I want to control my heater to start/stop by using NI USB 6211. I have the following things

Cartridge heater Voltage: 12V  power 40W
Thermistor:NTC 100K B=3950
I need to know how to wire these things with NI USB 6211 and is there anything i need to buy?
If it is possible just give me hints how to Control the temperature of the heater cartridge
 

Labview 2015, some Excel Sheet data move to other Excel Sheet

$
0
0

Hi, guys.

    I want to achieve functional about data transfer between Excel Sheet.

    E.g. I obtain a cell's address, then the data in the address move to other Excel Sheet a particular cell.

    what can I do? thanks.


Labview for MRP

$
0
0

Has anybody developed a simple MRP based on Labview?  I manage a production department of a small composite company and I'm looking for a MRP, which could be flexible enough to follow to continuous change and complexity of the process

Thanks to the integration to the databases, I think that Labview has some features that are very interesting: flexibility of the system, simple integration with measurements (for aeronautic production we need to measure temperature, umidity, oven and autoclave cycles and so on), ability to shape the program according to the production flow.

Thanks a lot

Riccardo Sotgiu

Does the FPGA read/write control act on the root loop/ user interface thread?

Problem non-linear curve fit:Lev-Mar

$
0
0

Hello, I am trying to use lev-mar to fit my data. I think lev-mar is suitable for my non-linear data of diode I-V curve. How can I connect the input of the lev-mar VI? what should I put in the data/ initial parameters/ covarience? I have seen examples in the labview , but still can't find the solution. 

 

 

values written to a table are not preserved

$
0
0

Hello,

I am building a tool based on state machine approcah as shown below:

Flow chart.jpg

Basically, this tool get access to a hardware device via its DLL file and send read request based on a predefined parameter values (parameters list), the recieved values are displayed on a table (output table).

The process is repeated for ever until user stop it.

in the mean time a log file is created and the results are saved on Excel file as shown below

Log excel.jpg

 

Problem: the problem is, the timestamp is not saved in the excel file and this is because the timestamp is populated for short time on Output Table as shown below.

In the below picture, you can see that output values are written and displayed on Output Table, but timestamp is displayed for short time (I can see this during Highlight Exceution mode) and when a new output value is written the previous timestamp will disappear!

TableOut.jpg

 

I can not find the reason of such behaviour, I want the timestamps and output values to stay displayed on the Output Table.

 

any advise?

 

I attached the complete project for your reference but is wont work without the hardware.

 

Best Regards

Hakam

 

Note: I am using Labview 2016

Custom run-time menu file history

$
0
0

Hi all,

 

I would like my custom run-time menu to contain a history of data files that have recently been opened.

 

Can you modify the run-time menu at run-time?

 

Or can someone point me to an existing solution?

 

Many thanks,

 

Phill

Viewing all 67078 articles
Browse latest View live


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