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

UDP data acquisition with no data loss on cRIO

$
0
0

Hi all

I'm want to use UDP to stream torque data from an HBM TIM-EC module to my cRIO 9047. 

I can stream data directly from the HBM module to my host pc using the attached VI. 

I want to get this up running on my cRIO (Eventually on the FPGA chip), since I need to sample with at least 20 kHz. 

 

The HBM module is capable of sending data with 38 kHz. 

The challenge is to have no loss of data during the data acquisition. Any suggestions how to implement this?


32 bit floating point instrument buffer

$
0
0

I have an instrument that when I read it I get 32 bit floating point data back from the buffer. There are two pieces of data per measurement point and multiple measurement values returned within the buffer.

How do i convert this IEEE 32 bit buffer data into an array of numeric data using LabView?

I should get an array of values around +8.704706E-009

I have displayed the format and what i get in the attachment.

LabVIEW 2017 Crashes

$
0
0

Today I started to have some weird problem with my environment. In about 5 hours I've got 36 crashes! How can I found the cause?

FPGA Compile Worker Crashes When Trying to Compile FPGA Project

$
0
0

When I try to compile my FPGA project on LabVIEW, I get the following error message.

 

Due to bad installation or configuration, the compile worker does not have any compile
capability. Please fix any issues and restart.

I had gone through this website https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019XdISAU&l=en-IN as I am beginner in FPGA, I am not able to understand how to solve this error

please provide detailed explanation.

Thanks in advance.

MyRIO 1900 and USB 6211

$
0
0

I am trying to acquire data from MyRio as well as from USB 6211 DAQ on a single LabVIEW program. Unfortunately; I am not getting any data from USB 6211. I want to know if acquiring data simultaneously on a single program a possibility or not. Or is it because I have designed a program on Myrio project.

Certain hints would be helpful.

音声入力を色に変換

$
0
0

音声入力されたものを色に変換するにはどうすればいいのでしょう?

マイクやライン入力された音を色(模様)に変換したいです。

Using Labview to communicate with translator API

$
0
0

Hello

 

I have to translate some VIs for the company I work. I am using import/export String method to do so. I parsed the imported Strings and now I have to translate a bunch of words from German to English and Polish. My idea was to use Google translator API or some other translator API to communicate with. We use LabVIEW 2014 and for this version many of the labVIEW provided Cloud Toolkit functionalities are not available.  I don't know now how to connect to an API from LabVIEW. Can I use http functionalities in LabVIEW and do this ? 

It would be really great if you could give me an example code

 

Thank You in advance

Bitto 

Loosing data between loops

$
0
0

Hello,

 

i created the VI for signal aquisition with NI 6009.

In first while loop, signal is aquired, and samples are saved in csv. (working good)

In second while loop i have need to save only samples starting when signal pass 0 for the first time, and ends when signal pass 0 fifth time.

Problem is that sometimes, i have all samples in second loop, and sometimes some samples are lost.

I belive that buffer cause the problem, because cannot save all samples.

Can someone advise how to overcome this problem.

If i put lower sampling rate, result are a little bit better, but still insufficient . And I need solid solution.

Please check VI and example in att.

 

Thank you on your help.

Milan


urgent help

$
0
0

hello everyone

sorry for this stupid question but i am beginner in Labview and i am trying to recreate a simple code  from a picture,i have only two hour to do it  , and i am trying to find this  three  icon in the block diagram ,but to no avail

Anyone have any idea i will be so grateful

sub vi help.PNG

 

Pulse generation

$
0
0

i am trying to generate a pulse train and later i will try to modulate it , the code generates square waves but the wait function put inside the loop functions correctly only for 5ms or higher, on removing the wait function by default the signals have a width of 5ms. i tried putting wait inside the mathscript (rt_wait(---, 'mSec')Smiley Wink but getting same result . i'm working on PXIe8133 and card is PXI6733 , i read their specs and it should support higher i/o read-write rate . please help to resolve this issue.

Hilscher CIFX 50E-RE - Pofinet interface

low level VI for my elvis

$
0
0

i can not find the low level VI of Function Generator and Variable power supplie in LabVIEW for my elvis 2+

Remove Queue Element from end

$
0
0

I am attempting to update a LabVIEW 6.0 program to LabVIEW 2015. The original programmer took advantage of the "remove from end" terminal of "Remove Queue Element.vi". The LV 2015 version does not have this terminal. But a text box on the vi's schematic reads, 'The "remove from end" terminal has been removed in LV 7.0. Please modify your code as necessary. See Knowledge Base at ni.com for details.'

 

Sadly, although the Knowledge Base autofilled my words while searching, it came up blank on the subject. Does anyone know what it used to say?

 

Thanks,
Tom

DIO port read and DIO port config sub VI missing from block diagram

$
0
0

I am new to LabVIEW and a biologist who doesn't have a lot of technology background. Currently I'm trying to set up a flight mill for our entomology lab that uses LabVIEW to measure flight behavior of moths. I followed the guide found here. However, I think the version of LabVIEW used in the guide I followed might be too out of date to work with the version I have, version 17.0. I am trying to run the Flight Assay VI they posted in their guide (which can be found here) but I keep getting the following block diagram error: 'DIO port config.vi' subVI is missing; 'DIO Port Read.vi'; subVI is missing. If anyone could provide me with some guidance (preferably in layman's terms) it would be greatly appreciated. Thank you!

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

$
0
0

I am trying to acquire analog signals from a myDAQ. I am running LabView on a Mac using Windows under a Parallels virtual machine. I can read analog voltages using the Test Panels so I know that the myDAQ is working and communicating with Windows properly.

 

However, when I try to use LabView to input analog voltages, I get the error message, "Error -200284. Some or all of the samples requested have not yet been acquired". This happens both when I am writing my own code using DAQmx or using any of the built-in LabView examples such as "Voltage - Continuous Input.vi" or "Voltage - Finite Input.vi". It happens whether I'm trying to input at a low sampling rate (10 Hz or less), a high sampling rate (in the kHz range), or input just a single point.

 

I suspect that the problem is related to using Parallels but since the Test Panels work, I'm not sure. Any ideas?

 


Change FPGA Functionality based on adapter inserted

$
0
0

Hello,

 

I'm using the 7972 FlexRIOS and was curious if there is there a way for the FPGA to base its functionality on what is inserted into it (i.e. the 6584 or 6583)?

 

Thanks!

Can LabView replace a waveform generator in an equivalent time sampling application?

$
0
0

Hello all!

I am trying to get together a list of equipment that I need for implementing an equivalent time sampling application. A similar project used an Agilent 33220A to generate a waveform, but I was wondering if LabView could be used in lieu of that equipment?

Thanks in advance!

Read multiple TCP frames sequentially

$
0
0

Hi community,

 

I'm doing a client-server application with a state machine.

 

The server is programming in one ESP32, and it works ok.

 

The problem is the client. I need that client do this:

 

1. Connect with the server. (OK)

2. Send data to the server with parameters. (OK)

When the server receive the parameters, it process the data and send a number of frames know for the client. Is the same tath the frequency parameter sended from the client.

 

3.  I need that the client, repeat the state where receive one frame and process it, the same number of times like frames has sended. 

 

4. This information processed generate a waveform time signal, and I want to have an array with all signals.

 

The problem is coordinate the TCP read function, with the while loop and the Case structure.

 

Please help, because is very important for my studies. And sorry for my bad English.

Stray Character appears when I extract tables from MS Word

$
0
0

Hello, 

One of my projects involved reading tables from MS Word onto LabView. My code works and I got to display specific tables, however, each data appeared with a box symbol beside it. The image is included below. Because of this, I the program cannot cross reference the table with the required parameter to determine the index of the parameter.

 

Another issue was that the Test Number column in the Word document contained auto generated numbers. This was not displayed on the array in LabView. I couldn't find out ways to troubleshoot that. 

 

PS: I did try reading reading other Word documents that included tables, but the same issue persisted. I included the VI as well. 

IMAQ image mouse scroll

$
0
0

Hi,

 

Whenever I zoom in on an IMAQ image, I am unable to use the mouse wheel to scroll up/down. I have to manually click the scroll bar and move it up/down to scroll the image.

How can I enable the mouse wheel to scroll the image?

 

- Sable

Viewing all 69088 articles
Browse latest View live


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