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

Loading VI's

$
0
0

I have recently installed the following Labview products on my home PC:

2016 64 bit [2016LV-64WinEng]

2016CDSim-32Win

NI4882_1600f0

 

When I try to open a labview file that I have created on the system installed on the university computers [and can open without issue], when loading the VI's, I am prompted that the system cannot locate a particular vi file.  In most cases I have found the files by searching manually.  I am then promted for the next vi file and so on and so on.

 

Help


Create the 3d printer

$
0
0

Dear Labview community

I'm a Student . Right now , I got the machine with 3 axis and control by NI motion card (PCI 7350) and Prof told me to control it to draw something like 3d printer (using nozzle to extrude the material by Z axis)  . And  I already got the program and I wrote the question into the Labview . I hope Someone can share and help me to handle that 

I really appreciate that . Once against , Thank you so much

How does the 3D Graph Object put an Indicator on the front panel?

$
0
0

When using the a 3D graph the output object is also the graph indicator in the front panel. How does this work? I would like to implements similar functionality with custom picture controls used to "Graph" data in much the same way.

Application Builder error code -12

$
0
0

Hello,

I'm trying to build an installer. I received the following message:

 

Click the link below to visit the Application Builder support page. Use the following information as a reference:


CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi


The following errors and warnings were recorded during the build:

Error:
An internal Windows function returned an error.
Code:
-12

 

 

Any idea?

 

thanks

Waveform Graph Time Issues

$
0
0

Fairly inexprienced with LabVIEW I have just used it for various labs and simple tasks. I am attempting to make a waveform graph to plot temperature vs time from a thermistor, but everytime I begin to run the program the temperatures will read and be written to the graph, but the time remains constant. For example if the temperature goes from 25C to 30C the entire graph moves up as a straight line rather than marking a fluxuation at a specific time. I have attached the program, any help would be greatly appreicated.

USB device interfacing with LabVIEW

$
0
0

Hello, I am doing interfacing of FTDI's FIFO to USB converter's(FT600) interfacing with LabVIEW. I have made block diagram attached for this purpose and I am able to get it's name in LabVIEW but I am unable to read data from it. Can anybody help me in ?

Problem with the configuration of the sampling rate via RT

$
0
0

Hi!

It`s my first post, so I'm sorryifI wrote inthe wrong section.

I`ve problem with proper configuration of sampling: I`ve done project with FPGA and RT vi, where dataare transportedbyfifo and I can`t obtain a frequency greater than 2 Hz.

What I do wrong?

Instrument drivers VS library provided by third party manufacturer

$
0
0

Hello Everyone,

I want to use Ametek 7265 lock-in amp to perform some measurements. On the Ametek's webpage I found the "drivers" for LabVIEW:

 

http://www.ameteksi.com/products/software/labview-download-software/national-instruments-labview-drivers-software

 

However, these are not *.lvlib or *.lvproj files, but a single *.llb file. Obviously, when I copy it into instr.lib folder and run LabVIEW, no driver for this instrument is recognized (the device is not present in Installed Instrument Drivers.

I'm wondering how can I use this instrument? Should I create a driver by myself, using the VIs from the library? Or is there some other solution?


LabView quits unexpectedly with DAbort 0x9B027400: Couldn't create 24 pen Error ==0

$
0
0

Hi Everybody,

I am experiencing random Labview crashes at irregular intervals between days and months. Labview just exits without any error dialog, the error is only written to LV log file (attached). There are 3 LV applications running simultainously and there is very little or no editing taking place in the meantime.The applications are a UDP server for remote controlof some devices over UDP and serial, a GUI for operating these manually (not beeing actively used when the error occurs) and a monitoring agent, checking status of a few devices over UDP and Modbus at an interval of several seconds.

 

This error was already reported a few years ago (here is an example) but in my case none of the solutions seem to work. Also, there were apparently no newer threads or posts regarding this issue so I wonder if anybödy still experience similiar problems with the newer LV versions.

In my case this is LV 13.0.1f2 64-bit.

Thanks in advance for any help!

 

WMI implementation, with big memory leakage. Help?!

$
0
0

Hello everyone,

I am trying to detect all the COMmunication ports (COM1,2,3...) by using WMI Classes directly from labview.

This VI is called repeadly from the main application, and checking task manager I detected a big memory leakage, let's say about 1Mb as avarage at every call.

The memory is freed when I close the application, but this is a problem, because the subvi have to be called frequently (let's say 2 times at second) to detect new USB/RS232 interface attached on the fly.

I'm not expert in .NET, and I used an idea of Lycangeek 

http://forums.ni.com/t5/LabVIEW/How-to-access-WMI-Classes-via-NET-in-LabVIEW/td-p/253845?lang=en

but even tying to close references and dispose object, there is still an error.

Does someone can help me, please?

Marco.

Solving a specific system of equations in Labview

$
0
0

Hello!

 

I'm looking for some help in solving a system of equations in Labview. The task is to find the middle matrix in the equation attached if the 8 points in the picture are known. As far as I know, Labview can't connect 8 separate equations to solve, it only does that in matrix form, which I can't figure out how to construct. Can anyone help me with either constructing the matrix which would solve this for p(1-8) or show me in Labview how to solve this without making a new one? (The 2 equations on the left show how to find any exact point when knowing everything, so the VI itself could be used for any single point not just the predetermined ones)

 

Thank you in advance

Hololens and Augmented Reality

Hall effect sensor to RPM

$
0
0

Hi everyone, I am having a great deal of difficulty designing the control system for my senior design project.

 

I integrated an Arduino Uno with Labview and I am currently attempting to use a "latching" hall effect sensor to output the RPM of a motor, once I am able to that I need to have the motor turn off once it reaches a desired RPM. The hall effect sensor output switches between 0V and 0.5V and if I understand correctly, I need to turn the analog signal into a square wave then output the highs and lows into 1's and 0's with respect to time/frequency. Then from there, I think I may have to use a timer to calculate for RPM? 

 

How would you guys go about doing this? I am doing all I can to research but making the block diagram is very difficult for me. Please help, I am very stressed.

 

Thanks in advance.

Can I integrate a PLC/VFD to drive a large motor with Labview through Arduino?

$
0
0

I was curious if it would be possible to use labview interfaced with an arduino Uno to control a large motor using a Programable Logic Controller (PLC) or a Variable Frequency Drive (VFD). I would like to set the frequency that the motor is to be ran at through labview then I would like to stop the motor when it reaches a certain frequency/RPM. I plan on implementing a hall effect sensor to determine the RPM of the motor. 

 

Would I have to use more than one Arduino in order to do this? I'm the electrical engineer in my senior design group. I understand that theoretically something like this should be possible, but I feel as if my programming and coding skills are not as great as my duty in this project may consist of (I am working on this). Any help at all is greatly appreciated.

 

Thanks!

Programmatically changing device ID/name in VISA or IMAQdx session?

$
0
0

I have an application where I have a camera (running through IMAQdx) and a motor running through serial communication (VISA).

 

My challenge is this: The solution is deployed across a number of computers and the camera and motor IDs may change from one computer to another. To deal with this, each computer has a unique config file that contains amongst other things the IDs of the devices attached to that computer.

 

Is there an easy way to read a text string and have that entered as the device ID handle in both VISA and IMAQdx sessions? (The solution may be different for the two.)

 

If I take a VISA reference, for example, I cannot find an option on the properties drop down menu to change the session identifier. I can read it, but I can't write to it. Any ideas?

 

 

 


How to read multi frame CAN message with NI USB-8473

$
0
0

using USB-8473 to test automotive electrical products: with commands to read serial number from UUT, the expect answer is 28 bytes serial number in format as below:

TX: 03 22 XX XX 00 00 00 00
RX: 10 21 62 XX XX 31 32 33
TX: 30 00 14 00 00 00 00 00
RX: 21 34 35 36 37 38 39 30
RX: 22 31 32 33 34 35 36 37
RX: 23 38 39 30 31 32 33 34
RX: 24 35 36 37 38 00 00 00

 

now the issue is, most of time I only received three frame as show in underline, but cannot received the last frame.

 

my question is the issue relate to CAN card USB-8473 or the LabVIEW code (show in below)?

 

Untitled.png

 

BTW, all the frame can read with NI PXI CAN card and CANoe device.

 

your help is well appreciated!

 

thanks!

easy question about Combo box indicator

$
0
0

Hi, I have a very simple question about the Combo box indicator.

when combo box get multiple lines and show multiple lines. i want it show the last line auto, no need scrool the bar.

how to make it happen?

Thanks!

Nemo

time delay

$
0
0

hello,

i'm doing a little project on fuel control system. I want to know how to add simple time delay in my input. the input is fast but the output in real life is slow. so i want to slow down the input with time delay or. how is it possible. its just like heating the water. you can open the stove gas fast but the water takes time to heat.

Static IP adress for sbRIO

$
0
0

Hello,

 

I want to set the IP adress of my sbRIO-9607 to a certain value. The IP adress should be static. I tried to do this in a SubVI, there is a screenshot attached to this post. Whenever I try to run the VI, I get an error : 

Fehler -2147220609 bei nisyscfg.lvlibSmiley Frustratedave Changes (System).vi:1280001

NI System Configuration:  (Hex 0x8004037F) A property contained a value that is not valid or is out of range.

When I remove the 'IPAddrMode' from the property knode, I don´t get an error, but the IP-adress stays the same.

I would appreciate your help.

 

Have I to install OPC in the target executable PC?

$
0
0

Hello everyone.

First of all thanks a lot for reading this post and being able to help.

 

I have a program which use communication with PLC throught NI OPC Server.It works fine in my development machine.Now I want to build an executable to run it into another PC target.Do I have to install OPC in PC target as well? or I don't need it?Thanks a lot.

 

Viewing all 66676 articles
Browse latest View live