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

Without filter receiving truncated response

$
0
0

Hi

If I don't apply the filter directly receive the transmitted signal after passing through power amplifier then my Amplitude gets truncated, but if I apply the filter then I get to see my full waveform . And also Can anyone tell me how to know the gain of the power amplifier from the waveform received.

Attached is the power amplifier without filter and with filter waveform and the generated signal with and without filter

 


Labviewでファンを作動させるプログラムについて

Bridge nominal Resistance

$
0
0

Hi, my name is Emre. I using omega pressure transducer (PXM419-001BCG10V) for detect cavitation. Also I am using LabVIEW DAQMX. When I write a code, LabVIEW ask me Bridge Nominal Resistance of Pressure Transducer. I looked specification there is some value about (input/output resistance 5000 ohm %20 ). No nominal resistance. How can I find it ? I attached the specification pdf.
Thank you.

USB-8452 I2C Slave write error -301782

$
0
0

Hello,

 

I want to create simulate slave on I2C bus using USB-8452. My external master send read request and I want to answer from simulated slave. But, when I want to use VI NI-845x I2C Slave Write.vi, I got this error -301782. What does it means, what is wrong?

Test Question

Web Service Error during "Publish" Application Web Server

$
0
0

Hi All,

 

I have an error during Web Service "Publish" as attached screen shot.

My goal to connect with Labview NXG Web Module once "Publish" succeed. Please someone help me & advice for the error.

 

FYI, I am using Labview 2014 32bit running on Win10 64bit

PythonとLabVIEWを連携するための注意点

How to get the reference of every element in array ,the element is cluster

$
0
0

I want to get the reference of element in array. But I only to get the first element reference.无标题.png捕获.PNG 

 

How can I get the reference of element in array I want


How do I update the XY graph with a certain time delay?

$
0
0

Hello everyone,

 

I'm very new to LabVIEW, and i'm struggling with plotting the graph the way I want to. I have generated a gaussian function and I only can manage to display all the plot points at a time, but how do I generate one plot point at a time with a 100ms delay, when running the program? Should I use a time or event structure, a loop, or something else? I don't think it should be complicated? Thank you all.

 

 

Error 200279

$
0
0

Hi! 

 

I'm totally new to labview and need a little bit of help with my VI. I have a very basic VI which aquires data from 3 load cells and saves to an excel file. The load cells are pulugged into a NI9237 module.

After it runs for several seconds I get error 200279. I've tried changing the sampling rate to match the minimum sampling rate in the module spec sheet (1.62k Hz) and this allows the programme to run for longer but the error still occurs. 

 

Any help would be much appreciated! I'm not sure where to go from here...

Thanks!

Niamh 

Question with using scan from string to get a timestamp

$
0
0

So Im using Scan from string with this pattern  " %<%d.%m.%Y>T " to get a time stamp from a string like "30.05.2019".

The problem is that I get 30.05.2016 1:00:00 as time stamp instead of 30.05.2016 0:00:00. This has caused so many bugs in my program any idea how to fix it? 

Thanks

Sorting elements of a string or array by mark value

$
0
0

Hello all.

I'm trying since a few days to make an VI which sort my elements in 3 byte arrays.

I receive by serial a string of characters and and my purpose is to obtain 3 byte arrays from the elements received.

The string that i received, converted in hex bytes is of this shape: FF byte1 byte2 byte3 FF byte1 byte2 byte3 FF ....

I need to obtain three array with the elements of byte1 / byte2 / byte3. I use FF as a delimiter between a series of 3 bytes. I tried using an match pattern on the string by the FF corresponding character, but in the end the data are mixed in the arrays.(i don't know why)

Can anyone have a solution for this? Is there a possibility for sorting the array of bytes, not on the string?

Thanks.

Non-unique custom error codes

$
0
0

Hi all,

 

I seem to be getting multiple error code matches from my custom error rings when passed to General Error Handler.

 

I have multiple custom error code files located in <install path>/user.lib/errors that share error code values e.g. File 1.txt for one application contains:

<nierror code="5007">
Steady Aerodynamic Coefficients (dCmCofG_da) suggests an unstable model
</nierror>

File 2.txt for a completely different application contains:

<nierror code="5007">
Invalid modulation [ AM | CW | FM | LSN | USB ]
</nierror>

 

When the error occurs I use an error ring constant applicable for the application.

When triggeredtThe resulting output is:

Warning 5007 occurred at MRET Model.lvclass:Read Steady Aerodynamic Coefficients.vi

Possible reason(s):

Steady Aerodynamic Coefficients (dCmCofG_da) suggests an unstable model
=========================
Invalid modulation [ AM | CW | FM | LSN | USB ]

 

Should the error code values be unique across the custom error files?

 

Thx

 

Tadders

Save data continuously from loop

$
0
0

Hello, everyone. I want to write the data from this loop as a .txt file so that one column are the RxMsgCnt values and the other column are the Lambda Data values.

original loop.png

I searched online for some tutorials on how to save a XY data to a file and I found this one:data saving.png

Which works for random numbers. I tried to incorporate it on the original loop but I can't make it work. Can anyone help me? 

Getting the right timestamp in excel

$
0
0

I'm currently acquiring a lot data and I'm trying to export to excel with the time. However, when it exports to excel it starts at the right time but count every data point as a second. So, when it runs for about two minutes it shows in excel running for over ten minutes. I've attached my code and an example of the excel.

 

Also, if there are any additional issues in the code please let me know

 

Thanks in advance.


laview dll

$
0
0

I am creating one labview DLL in LV 2015 then I am calling that DLL in Visual studio C++ 2012.

I need to debug that DLL.

There is any way to debug that LabVIEW DLL in VS.

Strictly I need to use VS only

 

Waveform saves to file but only shows 1 data point.

$
0
0

Hi all,

I am trying to write a simple (time,data) column to a CSV file.

 

I seem to hit a brick wall with every single step when trying to code LabVIEW. I do my best to learn, but have difficulty learning and making progress and seem to stumble around hitting dead end after dead end on what should be easy-to-solve problems.

 

I tried desperately to use the example here to incorporate it into my code: http://www.ni.com/newsletter/51339/en/ but the "Write To Spreadsheet File" is X'd out whenever I load the png.

 

I searched the forums and found that from the previous link, you can invoke a property node to export to excel. It works in the easy sine wave example, but when I do the same thing with my code I get nothing. I also need to hard code the path and writing to file, so I don't know if the invoke property node is the right solution for me. I have tried writing to delimited spreadsheet to no avail.

 

Right now I have the following code that is reading from an NI 9209 on channel 23 and is supposed to write to file. It does, but it only writes one data point (time,data). In every other simple example I see, including in the first link above, the write-to-file shows a continuous dataset from t0 to tFinal.

 

 

Once again I seem to be stumbling around trying to solve an easy problem. The examples I find are all different, extremely simple, and don't seem to help when I try to incorporate into what I am doing.

 

Can anyone please help me understand what I am doing wrong? I find LabVIEW one of the most difficult programming languages to learn and it is usually because I am not able to find the information that helps, or when I do, it doesn't seem to fit with what I am doing. I've uploaded the code I have right now into a snippet.

 

 

 

DIAdem Toolkit Error 1555

$
0
0

I am trying to use LabVIEW's DIAdem toolkit to build a report from data collected in LabVIEW. I am getting error 1555, and following NI's suggestion to replace the node hasn't worked. In fact, if I create a new VI and only open a DIAdem reference, try to clear data, and close the reference, the clear data function still returns the error. Using any DIAdem function with an invoke node give the same error. I suspect I have a problem with ActiveX. Does anyone know how to fix this issue?

Conexion de tarjetas arduino y texas instruments con Labview

$
0
0
Moved to the Spanish board. It is under Regional Communities.

problem feeding multiple analog physical channels into while loop

$
0
0

Hi 

I am reading multiple analog physical channels through DAQ Assistant.

when I split the signal and feed the values to a time loop, they don't update to the current value?

Why is this a problem. The values cannot come out of the while loop. (used probe to check this). How do i achieve the task.

Viewing all 66961 articles
Browse latest View live


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