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

common Example VI needed

$
0
0

Hello everobody!

iam new to the forum.i want to know any common example VI is there for Analog Input calibration ??

Actual measured values should be compared with calibrators and calibrated value should be given as output.Analog input values are acquired using FPGA. Modules used are NI 9219,NI 9215.


Re: Shift registers and waveform graph for tare function - Strain readings

$
0
0

here how can i measure load cell, strain gauge and LVDT in terms of kN, Microstrains, mm using usb 6211 together without using daq assistant, can you give some ideas for that? what will be the values when it was in a no load condition?

Send mail using micrisoft live essentials

$
0
0

Hello All,

Can some one help me out how to send a mail using Microsoft live essentials. I have found useful posts on outlook and gmail but when I use the same thing with Microsoft live essentials its not possible. so kindly help me out in solving this issue

 

Regards

Steven

Error message when using ULX reading 6 channels simultaneously

$
0
0

 

 

 

Error 10003 occurred at ULx Read (Analog 1D Wfm NChan NSamp).vi

 

Possible reason(s):

Measurements: Some or all of the samples requested have not yet been acquired.

To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.

Ni_Report.lvclass fails when running .exe

$
0
0

I have a test utility, built in LabVIEW 2016, that writes data to a Microsoft Word document.

Both development and target systems have Win10 installed and the target system(s) have LabVIEW 2016 Runtime engines installed (LVRTE2016_f2Patchstd.exe)

Everything operates properly on the development system, but when I run the .exe on the target system(s) I get an error at "Ni_report.lvclass:New Report - Get LVClass Default Value.vi".

I have included the NI_report.lvclass library in the build structure.

Even attempted to resolve issue by copying the entirety of the Utility folder onto the target system at the file path of C:\Program Files(x86)\National Insturments\LabVIEW 2016\vi.lib\Utility\........

I cannot seem to be able to get the items from the Report Generation Toolkit to operate correctly on the target system(s).

What the heck am I doing wrong???

 

'Timeout' as control in "Wait on asynchronous call" function

$
0
0

Is it possible to give 'Timeout' as control in "Wait on asynchronous call" function instead of giving it by right clicking?

compare the pixel values of two pictures

$
0
0

Hi,

I am working on a project in my laboratory. i will like to compare two pictures which i am grapping with a camera. if the next picture is different than the previous i will highlight the part of the new picture, which are different than the old. do you think it is possible to realise it with labview? i wanted to compare each pixel value( old with new), if they are different i will highlight them. do you think it is the go way?

thank you!!

Can no longer pin recent project to Windows 10 Taskbar (LabVIEW 2013)

$
0
0

In Win 8.1, I could pin .lvproj files to my LabVIEW taskbar icon, so when I right clicked, I could select my most important work. I have since upgraded to Win10 and now I can only pin recent VI's, and not the project itself:

 

 

Has anyone had this problem and found a solution?


Advice

$
0
0

please, i need your advice, I love LabVIEW so much even though i don't know anything on how to use it. kindly advice me, on where to start (from basic). Then i will appreciate the starting topics up to where it end in lebel.e.g

1

2

3

.

.

.

.n

PXI-7851R compilation error for constant values in arrays

$
0
0

Hello Guys,

Trying to index an array inside a while loop from a built array encountered a compilation error saying "Type not supported in current target". The target FPGA is PXI-7851R and the error is for the constants allocated in the built array. The attached picture shows the part of the code that makes this compilation error. I am wondering if anyone has a solution for this.

 

Thanks,

 

cRIO 9068 was crashing when the IMAQ Extract vi was used.

$
0
0

Hello, 
While I was running a data acquisition application I have noticed that the cRIO 9068  was rebooted after some time. 
More specific, while I was acquiring images and using the project these images were cropped using the IMAQ Extract vi, the cRIO was rebooted. 
A possible issue is that Labview is allocating more and more memory until it finally crashes. 
Has anybody faced this issue before?

 
Attached you can find a test vi that I used to understand what was the issue. This test is taking an image and the cropping this image inside an infinitive loop while the performance of the memory is acquired. In addition, attached are some of the screenshots that I got when I plotted the memory and two of the messages that I got from the cRIO status report after the cRIO reboot. 
 
Thank you in advance. 

RT System Session Stops Updating

$
0
0

Would anyone have an idea why an RT System Session would stop updating only the Total Physical Memory and Free Memory properties?  I have a (Very complex) system which reports its memory and disk.  This morning, I noticed it had stopped updating only the memory values (Disk values were updating properly).  So I wrote this:

 

Untitled.png

To see if what I was seeing was real.  This also showed no updates to the physical memory values.  When I restarted the RT controller (PXIe-8135RT, LV2016 RT), it started to update properly (This has been working for almost two years without issue).

 

Very weird...

 

Thanks!

Help Needed with Engine Pressure Data Acquisition

$
0
0

Hey guys,

 

I need to combine two VI's and need some help and advice on that.

 

So basically I have an engine running at 600 rpm. The first program I have is a pressure acquisition program which is a finite sampling type. I've attached the VI below and labelled certain portions that are not need. The sample clock uses the encoder B signal as it's source. The Z signal is used to trigger data acquisition. The encoder has a resolution of 0.5 deg so I basically get 720 pulses per revolution. At a speed of 600 rpm, that gives me approx 7200 pulses per sec. I have a 6040E card which I use for this and use one counter (Actually it might use both counters since it is a finite acquistion, not sure about this).

 

The second VI is one that measures the time between each encoder pulse. This is done to basically get a very highly precise timestamp so that I can correlate my pressure readings with images from a high speed video of combustion. This is basically a modified period measurement VI. Again, it starts with Z signal and measures time between the encoder pulses so uses the encoder as a source. It uses one counter off a 6601 card.

 

Now what I need to do is just combine both the above VI's into one main VI and write the values to a spread sheet. The first column must have the crank angle degrees like 0.5, 1.0, 1.5 etc although I can omit this column. The next two are very important. One contains the pressure value and the next column must contain the time stamp or time elapsed between the pules. When I run the VI, I just want N cycles of data, so 2N revolutions.

 

1. What would be the best way to combine these VI's? Should I convert the pressure VI to a continuous acquisition with a while loop and then combine parts of both VI's within the same while loop? Can a common while loop for both work? Will it affect the processing of the other?

 

2. What is the best and quickest way to log the values? Should I just use the write to measurement express VI? Will this slow down my acquisition? And should this VI be place inside or outside the loop?

 

3. Do both VIs need to match in the type of acquisition? As in, do both have to be finite or continuous or can one be finite and the other continuous?

 

4. Since the B and Z pules of the encoder are used by both the VI's, can the same terminal be used in both VI's?

 

5. How do I record a fixed number of data? Example 5 cycles or 10 rotations.

 

I'm sorry if some of these questions seem basic or stupid as I'm still a rookie. I would be really very grateful for some help and guidance.

 

Best,

 

Reuven.

Debugging old spaghetti code - Que element not Triggering

$
0
0

Dear Everyone. 

I encountered a bug some old code and I need to fix it because it is now hurting my productivity. The code is spagetti code and very hard to get a grasp of. I made it in 2012 but since then it has been modified a few times by other authers and I have not used it much.

 

Anyway: What it does is control a number of instruments using a QSM and OEM toolkits. The way it does it is that it read a text file like the one I attached, each statement that ends with ; is a name of some item in the "master loop" that does something start/stop a measurement on one of the devices. The specific problem is that Send Pressure Loop Stop does not trigger correctly, at least the corrosponding pressure measurement is not stopped and the program "hangs", I need to make sure that it fires correctly.

Any advice on how to approach this problem? Could I somehow make the code more managable or write entirely new code?

Maybe a sub point is: How does the get queue status work? I need to know if it never leaves the queue or something else is wrong.

I do not this will actually be looked over but I have to try.

Boolean buttons not functioning well within loops and array indicators not populating.

$
0
0

Hello,

 

I'm working on a small program that will build an array of devices connected to my computer via a chassis. DAQmx and DAQ Assistant are not an option for me due to my hardware. The application will simply initialize the connected devices (which it's already doing well), build an array of the device names, and enable me to switch LEDs on all the devices on simultaneously and then switch them off as well. I'd like to make this application so that I can trigger the LEDs as many times as I'd like and for whatever duration I'd like.

 

Later, this will be developed into a scope of sorts which will enable me to trigger all of the devices using an event at one channel and display the data from multiple channels on one graph or chart (like you can with a soft oscilloscope).

 

This application, however, is misbehaving. The array indicator isn't populating with device names. The trigger only works once. Once I turn off the LEDs, I cannot trigger them again, nor can I use the STOP button. I think it has something to do with an infinite while loop, but I've been unable to find a fix for that.

 

All help and suggestions are greatly appreciated!

 

Marshall


VI works in development, but not as executable--file reading issue.

$
0
0

Hello all.  This problem is similar to others, but has a slight caveat.  We have a VI that we designed to read a .csv file (written in OpenOffice).  The file contains default
values used to fill in controls and indicators.  The VI works fine in the development PC, but when we make an executable, we run into several problems.  Note that the
executable is ran on a different PC, which only has the Labview runtime engines.  The issues we have are listed below:

1.  The executable opens and immediately opens a dialog box asking for a file.  It should find the file instead of asking for it.  We have the path for the file in the
program.


2.  Even if we choose the file for the program to use, then it enters wrong values in the controls and indicators.  Most controls and indicators have 0 values, while others
have different parts of the file that should not even be read.

The vi is attached.  The main problem is in the sequence frame.  You will see that we have three path constants. The top constant is the path for the PC that runs the executable.
The second constant that has the Z path is the one we want to use.  This path allows the program to read a file over the network.  The last constant is the one we currently
use that lets the program read from the PC it is on.


We have checked for misspellings, but we do not see anything, so we can not understand why the executable is asking for a file name, nor why when we choose the file for it to
read it fills in the front panel incorrectly.

As a third issue, if we stop the program, it asks for a file to write to, which it also should not do since it should have the file name and path already.

 

The vi and file are attached.  Thanks for any and all help.

Copy row and insert row in Excel using ActiveX

$
0
0

Is there a way to use ActiveX to copy a row in an excel worksheet and then insert that row below another in the same worksheet? I've been trying to use ActiveX to accomplish this, but haven't had luck. Any help is greatly appreciated! 

Working with two pic-servo for contro of two motors

$
0
0

Hello

 

I´m trying read two pic-servo motor controller board with SSA-485, my problem is when I try conect two, because with one I can read the encoder and control the motor, but I need conect two for two motors.

I understand that I need to set address with the VI cmd, but appear error with the send data bytes.
Can someone help me?

Here I leave part of my program, is too basic and my idea of set address.

 

Regards

class not found error on deployed application

$
0
0

LabVIEW 2015 32 bit

Target platform windows 7 professional

The application utilizes Modbus Ethernet with shared variables bound to the IO Server.

 

I receive the following error only on deployed application when executing create and configure IO Server vi.

 

Error -1967362014 occurred at NI_DSC.lvlib:subCreate and Configure IO Server.vi:4690002

Possible reason(s):

OS and Network Services:  (Hex 0x8ABC7022) Class not found.

Where i can find controls?

$
0
0

Hi.Sorry for my very basic question but i want to create a custom button.Where i can save it( which folder/ path) for use from VI control's pallette? 

Thank you.

Viewing all 69089 articles
Browse latest View live


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