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

OpenG library keeps recompiling.

$
0
0

I have a very annoying problem. I am using SVN for version control and have followed the recommendations to separate source from compile code. Whenever I use the OpenG library, however, I keep getting 'changes' on those VIs because they are recompiled. This only happens with the OpenG library VIs, all others are fine. I'm wondering if there is a way to avoid this?

 

OpenG Recompile.png

 

 

 

 

 

 

 


Real-time loops

$
0
0

If I have a real-time loop on say a myRio and run it, I expect the code within it to execute before the duration of the cycle of the loop. If this is not the case is there any way of seeing there is a problem? For example should LabView throw an error of some sort? Or will I be unaware that this is happening.

Thanks

 

Lowpass filtering live data yields discontinuities

$
0
0

I'm acquiring torque data for a system driven at (different) constant speed(s). There is a physical eccentricity in the bearing/shaft system that manifests itself in the data, though there are some other harmonics that don't seem to correlate to test speeds. For our current discussion, the physical issue causing the noise cannot be solved.

 

I'm using an NI-9239 on cDAQ-9178 chassis, acquiring at 2 kHz and 400 samples per channel (there's 2 channels but only one of interest here). I need to display semi-live data (currently 5 seconds, updating every 200 ms) to the operator, but as the raw data is noisy I want to display filtered data. However, I haven't been able to find a way to do so without discontinuities due to transients at the start of each loop call, with either a Savitsky-Golay or Butterworth (set to continuous after first call). I set up an IIR butterworth filter with (rough) initial conditions, and that did resolve the discontinuities. However, the magnitude is off by a factor of approximately -2. Can anybody point me in the correct direction? Thanks in advance.

 

 

 

 

转角编码器,精度0.5度,采集的角度1度1度的,值还重复,请问有人遇到过这种情况吗,如何解决呢?

$
0
0
You've posted to the Chinese board before, so you know where it is. Moved to Chinese board

How to change network controller settings from LabVIEW

$
0
0

Hi. I have a controller connected over the ethernet and appears as network device in NI MAX. I can access the setting of the controller from the web browser via its IP address and change the settings. I want to open the webpage from the LabVIEW, which is easy, but the part that I am stuck with is that how to change the setting of the controller from LabVIEW. The HTML code of the webpage is attached. I want to change only one parameter from the LabVIEW i.e. Brightness (%):</font></td><td><input maxlength=10 size=10 value=50.0 name=cbri. On the webpage to change this parameter first write the new brightness value in the text box and then press the submit button to update brightness value (webpage screen shot attached). I found only one VI over the forum (attached) which resembles with my application but I cannot modify it as I am new to html, so any help will be appreciated. Cheers.

 

No output in intensity graph

$
0
0

I am processing an audio signal of 115sec using Wigner Ville distribution. When I try to go for the spectrogram output using intensity graph it shows nothing but a blank screen. I have attached my blocs and output that I got. Kindly, suggest me some solution to rectify this problem. Thank you.

Issue in Inserting and recognizing Hungarian(Hungary) language

$
0
0

Hello LabVIEW Users,

I am working on the Hungarian language based application and having trouble in two characters which are not recognized by LabVIEW as well as SQL Server2008.

Characters are ő and ű.

 

For more information, l have attached document here which shows that how LabVIEW and database recognize it.

 

Thanks ...

Frontpanel resizing / Splitter repositioning

$
0
0

Hello LV World,

 

I tried with a simple test VI to set the positions of splitters so that they keep their reference postion while the frontpanel size changes.

It works "so far" when the Panel size in modified, but with very bad Performance. And there's a strange behaviours while using the maximize button.... 

 

Probably I'm doing very wrong, if someone has good idea please let me know...Thanks in advance!!

 

The VI in the annex is done with LV2015

 


Name elements of a bundle

$
0
0

Hello to all,

 

I want to display several variables at the same time in a chart. I am using a bundle for that. I would like to give a name to each bundle signal. Is there a way to do it ?

 

There is a photo attached.

 

Thanks Smiley Happy

Labview FPGA - FIFO

$
0
0

Hello everyone,

i have wrote program with Labview FPGA, and i put FIFO in my program, but somehow i dont know why i dont get result or data in my host?its like i didnt put FIFO at all. does anyone know what is problem??

 

by the way im useing USB 7588r 

 

thanks verymuch

Enable/Disable Array/cluster elements

$
0
0

So I would like to build the following Array clusters in my VI:

array_cluster_2.png

Initially the array is 'Disabled and Greyed Out', ticking/unticking the 'Output Trigger Setup' tick box enables/disables the array.

and this is where I am now stuck....

 

In the clusters, I have the initial condition set as Outer Cluster 'Enabled' and Inner Cluster  'Disabled and Greyed Out'.

 

What I would like to happen is that if 'Trigger1' Tickbox is ticked/unticked, the corresponding inner Cluster is enabled/disabled.

Also I would like that when the array is enabled, 'Trigger1' caption in each of the elements is changed to 'Trigger1', 'Trigger2' and 'Trigger3' respectively.

 

Is there any way of achieving this?

 

The reason that I want to use this kind on arrangement is because it would make building the next steps of this project significantly easier.

LabVIEW - Not Responding

$
0
0

Hello all,

 

I have an LV Code with a Tree control with custom Menu Items in it. Whenever I right click on the Tree control, I use a "Shortcut Menu Activation?" Filter event to decide which custom Menus have to be displayed. Also when a custom menu is selected from the right-click menu, I do several functions. 6 out of 10 times, when I right click the tree control, or when I select any shortcut menu, LabVIEW does not respond. I have to close the entire LabVIEW application and open it again. I have also differed FP during the right-click. I am completely stuck at this point.  

 

Regards,

Prasanna.

EPICS server: access pv from another computer

"VISA Read" doesn't read

$
0
0

Hello,

 

I'm trying to communicate with my PC via serial port (Using RS-232) to a device. I have tried several .vi where I write something with "VISA Write" and expect to read and answer from the device. I saw I have stablish the communication with the device and also the message has been sent, but when when my code arrives to "VISA Read" I always get an error or nothing has been read. 

For instance I have used this example:

http://www.ni.com/example/27669/en/

but I get "Error-1073807339". 

 

I don't understand what am I doing wrong? 

For more information:

I tried to communicate to two different types of devices (independently), the first one is a module that reads temperatures and the second device is a PLC.

For the first device if If i wirte the commands in Hyperterminal I get an answer. But in labview nothing. This device uses DCON protocol.

 

For the second device I'm not able of communicate with Hyperterminal or labview (this one uses Modbus serial) I write something in hexadecimal and expect answer.

 

Any help about what is happening?

Integer to hex converstion with hex display for device communication

$
0
0

Hello everyone,

 

i am trying to communicate with a device that only recognizes the commands if i use a constant in hex display "format(?)". Now i want to feed it an integer from my program but the integer to hex function doesn't seem to give out its results in the hex display format as when i display its output in a hex display i get some wired result where 4000000=3030 3044 3039. Could someone please explain to me what the whole hex display thing is all about and how to cope with it? As you can probably tell by my question i am rather new to Labview.

 

Regards,

Phillip


Visual repersentation of waveforms

$
0
0

At present I am monitoring 93 strain gauges. As you can imagine its quite hard to keep track of all values live when testing a sample.

So I was wondering if it would be possible to display the y value of each channel in my waveforms to a bar chart form . so Y axis µstrain, x axis 1 to 93. I am using labview 2016. like 93 tank indicators showing live data. Hope that makes sense.

Any help would be appreciated.

 

Label Tracking Mobile Objects Labview

$
0
0

Hello!

 

I have a question using LabVIEW. I would like to track mobile objects. The mobile objects are spheres with equal parameters. I recognize them successfully. But I have the following problem. In the first image (focal plane 1) each one of the spheres has its own number. In the second image (focal plane 2) the number of the spheres increases by two. Then the spheres from the first plane will change their numbers or their labels. I would like to label or mark each one of the spheres on such way that each sphere will be always with the same number. How to do this? Please, help!

 

Regards

Programmable plot names in chart did not located in proper position.

$
0
0

I troubled to deal with programmable plot names in waveform chart.

I have 8 signals in a loop and plot names would be generated in run mode.

Problem is... the name of "Plot 0" appeared at "Plot 7". Could anyone help me to understand what happen in my code?

Front_and_Back.png

aquire a contiuous signal from Oscilloscope in LabView

$
0
0

Hi,

I'm trying since Last week to find a solution to this issue, (but it doesn't mean it's hard to solve I'm just new to all this):

I'm using a Tektronix oscilloscope tds 1002 to visualise waveforms (sinewave, square...generated from a HMF2525 rohde und schwarz functiongenerator)

I downloaded the driver of the oscilloscope from this link

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=047216EC20B66FABE0440003BA7CCD71

i need to make a program that measures the value of the tention every 10 milliseconds (it has to be integrated in a big program that measures other things like capacity ... so every 10 milliseconds it has to measure dynamicly the capacity, tention and everything else) BUT

   1- I don't find a VI in the library that could measure the tention , one can just measure the constants like Minimum , Maximum, period ....

   2-even if such a VI exists I presume it wouldn't work quickly enough to take a measurement every 10milliseconds

so I thought about taking the values from the waveform that I get from the oscilloscope but I don't think it's a good idea because like i said it has to measure dynamicly everything at the same time.

this is a screenshot of the Programpart that measures the other things and writes the measurements in a table in Exel where I have to add a column for the tentionmeasurements.

 

big fat.png

 

please feel free to ask me if there's any question

I would be soooooooo thankful if someone could help me

CANopen Clear bus off errors

$
0
0

Bonjour à tous,

Apres avoir avoir utilisé pendant un moment un module 9881 pour piloter un variateur de moteur via CANopen, j'ai voulu faire des essaie avec un variateur différent, mais lorsque je lance mon VI, j'ai cette erreur qui m'est retournée et je ne comprends pas comment faire pour la corriger...

Erreur.png

Quelqu'un aurait des info là-dessus ?

 

Merci Smiley Happy

 

Viewing all 69314 articles
Browse latest View live


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