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

Error 1073807343 when running application

$
0
0

We are getting an error while running an application made in LabView that has been proven for almost a year now.  We use USB I/O module and then send data out a USB to Serial device to a printer.  I am attempting to show what error is being displayed on our application as an attachment.


Calling phyton file in LabVIEW 2014

$
0
0

Good Night Community

 

I saw that I can call a phyton file (.py)  from LabVIEW, there are anybody that can guide me?, or give a good tutorial or any information?, I saw some information in this page

 

http://www.ni.com/white-paper/53059/en/

 

But the already have the programs and the librarys and they dont explain that parts.

if any body can give me some information i appresiate a lot! 

 

I want to do a library of a sensor in phyton like we do on arduino, thats the way for use the sensor, well thats the task i want to do, but if anybody have another idea that can help me its welcome, the point its that i want to comunicate my sensor dht11 to my RPI 3 model B, I have already install Linx in my computer, ir anybody know the way to do in Linx its ok for me bur remember this sensor is digital and get temperature and humedity 

 

Thanks

How to front load a stripchart history buffer

$
0
0

My use case is to read data from a TDMS file as it is being written. The data is then put in a stripchart. When the user selects another group and channel(s), I need to read the last N data points (where N is the stripchart history length), and front load the stripchart (so the history buffer is full). The next data point added to the chart should cause the chart to scroll left one data point.

I can set the History, but the chart does not scroll when I add new data points. For example, if the chart length is 10, and I load 10 data points into the history buffer, the next data point is simply displayed along with the other 10 points, rather than scrolling the first data point off the chart.

The chart only seems to work if one point is added at a time and the history buffer is not touched.

Is this normal behavior?

Atom-RIO,Powerful Architecture: Intel CPU + Xilinx FPGA

$
0
0

Hello everyone,

           I would like to take this opportunity to introduce our company and products, it is our honor to introduce them to you if you have any interested to know about it.

Our new product Atom-RIO is a powerful embedded system development platform. It combines Intel CPU with Xilinx FPGA. On the CPU side, there is a

1.91Ghz Quad-core Intel Celeron Processor with 32GB SSD and 2GB DDR3 RAM. It supports Windows7Windows8Windows10WES7Linux

and Pharlap RT OS. On the FPGA side embedded a Xilinx Spartan-6 LX75 FPGA(optional LX150).With the method of PCIE DMA, Intel CPU

can communicate with FPGA for data interaction, the communicate rate can reach 2.5 Gbps. Atom-RIO supports LabVIEW and LabVIEW FPGA

programming seamlessly, it also support all NI C series module.

In addition, we provide another product: Pocket-RIO for primary user which is more cheaper than Atom-RIO.

           For more detailed information, you can visit our websiteen.mangotree.cn.

3.png

4.png

Data acquisition software architecture

$
0
0

When someone is in the data acquisition, the unified management of the sensor, as shown in the figure below, how do I implement this software architecture.1.png

LabVIEW Executable Slower than VI

$
0
0

I've created a VI to grab data from two spectrum analysers simultaneously over a LAN connection using VISA read/write functions and a simple state machine. I've attempted to grab the data at <1s intervals. When tested in the development environment (LabVIEW 2011) the data grabs work as expected. However, when I build the executable and run it on the same machine, it runs ~50% slower. When I move back to the development environment the VI then runs as slow as the executable and only a restart of the instrument allows the Vi version to run as expected - the executable never runs as fast as the VI regardless of instrument restarts, LabVIEW restarts. PC restarts etc. I've also run the executable on a second PC with the LabVIEW runtime engine and the slower behaviour is the same.  

 

I've tried flushing and clearing VISA buffers when Exiting the state machine and this has had no effect. 

 

Does this behaviour seem normal for a built executable? 

 

The main acquisition loop has two measurement sub VIs running in parallel to grab data from the instruments. I've attached the VI (the most I can attach) - this VI runs in parallel with itself in the main run state of the loop but with different TCP/IP VISA resources at the input. 

 

VISA_Grab_Snippet.png

 

The OPC Query is a piece of legacy code that I cannot change and the implementation is very redundant. 

 

At the end of each grab I write the strings to a spreadsheet using the Write to Spreadhseet File VI but I've also disabled this part and the bahviour didn't change.

 

Solve non linear differential equation on Labview

$
0
0

Hi, I would like to solve a non linear differential equation on labview.  Does anyone know how to do?
The equation is the following:

dx=[A-BC/(2D)]x + (B/2D)*[(Cx)^2+4*D*p]^0.50
where A is a matrix 6x6, B is a matrix 6x1, C is a matrix 1x6, D is a costant and p is a costant.

x is the vector of variables.

 

Thanks for your attention.

CanOpen with IXXAT USB-to-CAN

$
0
0

Good afternoon,
 
I'm trying to make the CanOpen communication protocol between IXXAT - USB-to-CAN device and labview. So, I'm having problems defining the master / slave nodes, NMT, SDO, PDO, ... Does anyone know how to define this in a simple way in labview?
I have seen that people use the following library: http://sine.ni.com/nips/cds/view/p/lang/en/nid/202614, but is this library generic? Can I use it with IXXAT USB-to-CAN?
Is there any other way? Does anyone have an example?
 
Thank you very much for your help,

Iñaki


Re: Generating PWM for MOSFET

$
0
0

Dear All,

 

I am trying to simulate a swirching circuit by Multisim 14.0 version.

 

Kindly take a look at my diagram, when I simulate this circut a error massage comes (see the attachment).

 

I saw 555 rated timers are giving pwm if Trigger and Control pins are drived by signal generator with  referenced frequecy pulse and sinusoidal wave.

 

Kindly Help me.

Zaber rotatory device

$
0
0

Hi All,

I need to program the zaber T-RSW60A to do a 360 degree orientation through labveiw .

I can get it do move to a paticular degree but to do the same thing repeatedly is what am having difficulty with.I want to increment the angle automatically after certain amount of timeout.

any suggestions to code this appropriately are welcomed.

 

Ayesha

How do I create a video of my front panel?

$
0
0

I have a simple VI which uses a single input variable to select from an array of XY data sets and plots them on an XY graph.  I need to create a presentation video which shows the front panel as it iterates the input variable and shows the graph changing over time.  Is there an easy way to create such a file?

NI DAQmx -200290 error

$
0
0

Hello,

I have a issue with 2 computers that run a customer built program for our electron guns to melt ingot I am getting the following error:

Error -200290 occurred at beam guidance.vi

 

The generation has stopped to prevent the regeneration of old samples. Your application was unable to write samples to the background buffer fast enough to prevent old samples from being regenerated.

 

To avoid this error, you can do any of the following:

 

  1. Increase the size of the background buffer by configuring the buffer.
  2. Increase the number of samples you write each time you invoke a write operation.
  3. Write samples more often.
  4. reduce the sample rate.
  5. if your data transfer method is interrupts, try using DMA or USB Bulk.
  6. Reduce the number of applications your computer is executing concurrently.

In addition, if you do not need to write every sample that is generated, you can configure the regeneration, and then use the position and offset attributes to write the desired samples.

 

My question is this a problem with the software or the operating system background processes causing the fault. 

Marking selected points in a Graph

$
0
0

Is it possible to mark selected points in a XY graph ?

 

Lets say i have a XY graph which is made from an array. Now I want to hightlight a point with a ring or square point at specified index, say index  4 ; from the example below i want to hightlight the data points 12 & 54 See attachment.

 

I tried to use MAP to XY Coordinates Invoke but couldnt go further. Is there any idea to do it?

 

Thanks

 

 

 

Error code 1, identifying the invalid parameter, output to a text file

$
0
0

I am using labview to record information from a load cell.  I have building a file path set up, data coming in and outputting in the wave chart and as a string, when trying to write it out as a text file nothing is being written.

 

Error out is giving me code 1.  The source is “Open/Create/Replace File in…”

There is an invalid input but as far as I can tell it is everything looks fine. 

How do I identify the invalid input parameter?

What is causing this error?

synchronize measured data with scripts running on the measured platform

$
0
0

Hello,

 

I have an embedded system and I will be measuring voltage, current and temperature data for the same. I will stress the CPU of the embedded system with some benchmarks after which I should start measuring data. There will be other information that I will be collecting by running benchmark scripts on the CPU. My question is how do I synchronize the data collected by my scripts running on the embedded system with that of the measured data?

 

Thank you very much for your time.

 

 


Read images from a folder

$
0
0

Hi! I have a folder containing several images, I need to select the first, read it, do some processing stuff and then pick up the second and do the same thing in a loop, how can I do that?

 

Immagine.png

 

The images are called for example as:

"acquisitionL0-14-31-54"

"acquisitionL1-14-31-57"

"acquisitionL2-14-31-58" and so on...

when the last 3 numbers are hours/minutes/seconds of acquistion

 

I have Labview 2016 with vision toolbox 

 

Adding DirectShow filter for image aquisition

$
0
0

I have a DirecShow filter with an autofocus routine that I would like to to add to my program. It is all saved as a .dll that I believe I would add via a property node, but I'm not sure how.

Calculating Elapsed time between edges

$
0
0

I'm coding a vi where we have a digital input laser that shines on a reflector. When the beam is broken (rising edge) then our DAQ reads that an event happens and adds one to a counter. I was tasked with taking this program and calculating if the time between rising edges exceeds two and a half minutes, then that time is added to a total time calculation. This time will continue to add until the next rising edge occurs. When the next edge is read then we need this time to stop, save, and wait until the next time period of 2.5 minutes passes then add to the total time again.

VISA Resource Name not recognizing instrument

$
0
0

Hello,

 

When trying to connect an instrument through an Agilent GPIB-USB adapter I am having some problems getting LabView to communicate. I have installed and recognized the device on the Keysight Connection expert, enabled 488, Tulip, installed NI DAQmx, and made sure to update to the latest version of of NI VISA. Whenever I try to read the VISA address displayed in NI MAX, I get returned an error that the address is wrong. When trying to use the VISA Resource Name control in LabView I am returned with a blank list (not even recognizing the COM ports I have attached). What could be going wrong? I feel like I have nearly every base covered as far as troubleshooting connection but I just cannot get LabView to recognize any VISA addresses.

How to detect instrument connected to USB port on sbRIO 9607

$
0
0

Hi,

 

Background:

I have a IMU sensor that I connected to PC's USB port and was able to acquire data in JSON string. I used VISA with a virtual COM port as VISA source. Just opening a connection was enough to read data needless of writing anything to the sensor.

 

Current scene:

Now I would like to Implement the same acquisition process but on a sbRIO-9607 with the on-board USB port in RealTime. I connected the same sensor to USB but I could not detect it in either MAX or in Labview. I see 7 ASRL::INSTR ports under the hardware of sbRIO but plugged in sensor. 

 

Is it even possible to Read data with usb on sbRIO and use in RealTime VI??

Could someone please guide me as to how I should detect it and how I could acquire data from it...

 

Regards

Gokul

Viewing all 66657 articles
Browse latest View live


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