Quantcast
Viewing all 69031 articles
Browse latest View live

Recording data for power spectral density

Hello

 

I need to record the power spectrum for a duration of 2 weeks for 2 hours per day. I can get the averaged power spectrum for the 2 hour duration per day as it is embedded in the Power Spectrum Function. Is there a possiblity of saving the data to some Excel file and later calculating the averaged power spectrum for the whole 2-week duration..

 

Please Help. Thank you.


timeout error on VISA write and read

I am having timeout error problems with a VI  that just Writes and Reads the needed data and will eventually be added as a subVI. Everything is configured the same as my device. I have tried increasing the timeout session time but that does not work and I'm not sure what else to try.

Any help would be much appreciated! 

easy excel text has a none executable vi

Hi all,

 

Im sure the problem is in the active x calls, but im hoping someone can help me fix them.  Currently running LabView 2011, excel 2010 and report generation is anywhere from 2009-2011, i believe 2009 because it was working on  my setup with labview 2010 and excel 2007.

 

Error is in the excel set cell color and border vi. 

 

Can anyone help fix this problem.

 

Thank you

MS office report

Hi, I am trying to generate a report using the MS office express vi and after follow the instructions in the manuals and check the examples I cant fill a table predefined in my own template!! and I get an error

 

 

Error -41110 occurred at NI_ReportGenerationToolkit.lvlib:ex_RGT_Append Anything To Report.vi -> NI_ReportGenerationToolkit.lvlib:subMS Office Report Block.vi -> test_report.vi:MS Office Report.vi-> test_report.vi

while processing the module_ID input.

 

I am using labview 2011. attached is a vi  that I wrote to study only the report generation.

 

 

I appreciate any suggestion.

 

MSO-X 4000 Read Waveform Timeout

I'm having trouble using the NI instrument drivers for the Agilent MSO-X 4000 oscope. I'm trying to use the trigger on channel 2 to acquire the waveform on channel 1. Currently, I always get this error code : "VISA Read in Agilent 2000 3000 X-Series.lvlib:Wait for Acquisition Complete.vi->Agilent 2000 3000 X-Series.lvlib:Read Waveforms (Single).vi->"

 

The problem comes from Read Waveform vi timing out. This does not occur if I set the trigger characteristic mode to "Auto" instead of "Normal". I've attached a screen shot of parts of the code. The top section is my initialization phase and I use the bottom section to read after the signal is setup. In both Auto and Normal mode, I get a full waveform on the oscilloscope, but obviously with it constantly triggering in Auto mode, I don't get the correct waveform. I'm completely baffled as to why this is happening. I've dug through the forums and someone recommended updating the firmware, which I did to no avail.

Modifications to VI are lost if there is a panel close filter event

I'm not sure if this is expected functionality but if you:

 

  • Have an event structure with a panel close filter event with a false constant wired to the discard terminal
  • Run the VI
  • Close the panel
  • Select "Cancel the close operation"

 

Any VI changes you made will not be saved. You will likely lose some work. I recomend either hiding the cancel button or closing the VI front panel but keeping it in memory when this happens.

crio 9014

Hello

I have a 9014 CompactRIO, I followed the steps of formatting and then I try to install the necessary logiciel .but after installing the system remains in safe mode and the status LED  shows a repeating sequence of two flashes.what should i do ? any help please.

DVR&Wireless cctv Camera

I have cctv wireless camera and I use the USB DVR to show the picture
in the my labtop.
but now I want to use this camera in the labview but I don't know how to work the cctv camera in labview ?
please help.


Passing values between event structure cases

Hello everybody,

 

I have a question concerning the event structure  - how to pass values (let's say a string / the state of a boolean control / the value of a numeric control value / an array of numeric values) between event cases ?

 

There seem to be 2 situations here  :

 

- when you need to pass the value of the control that triggers an event;

- when you need to pass the value of a control which is modified in an event case.

 

I have read the documentation but i still do not understand very clearly how to do this. Maybe you can point me in the right direction (maybe some threads on the forum that i have missed).

 

Thank you very much !!

 

(KUDOS for everyone who is interested in this )

robotics

Hello.

I am using Labview Robotic Simulator Environment for simulating coordination strategies between multirobot in diifferent environments. Please let me know how can i use GPS Sensor to determine robot initial position.

Thank You

Power Single Line Diagram

Dear All, We are currently working on a Power Distribution System for one of the power companies. Can I ask how can I do a Dynamic Single Line Diagram, what I mean by dynamic is that I can do a zoom in and zoom out on the diagram.

How can I run a labview executable file inside a VI

How can i add and run a labview executable file inside the vi and grab the output of the executable file to be used in the vi?

 

 

 

Noise Peak and Frequency Detector with time occurance

Hi Community

I am using a peak detector algorithm for detecting the peaks of the signals having noise by calculating their magnitude and the time of occurance along with the corresponding frequency. But in the algorithm when data is received. The values keep on changing when the peaks moves on but I want it to work in that way that  the data of each peak receive should be saved  at once still if the peak keep on moving. Any one having some good idea. Thanks in advance.

The code file is attached with the Post.

Array cluster issue

Using an array cluster for a control to program an instrument.   For adding additional elements I Click on cluster.  Right click and choose  data operations.  Then choose insert element before.
WHY WHEN REOPENING AFTER CLOSING THE ELEMENT IS GREYED OUT AND DISABLED.  

 

Please use the following vi for reference.

 

Thanks,

 

dg_dog

How to Calculate the Sine wave Period calculation

Hi,

 

I want to calculate a peroid on Sine Positive Half Cycle.

 

Please share your ideas to me, Refer the graph for your reference.

 

Thanks

Thiyagi


Why it takes so long to open a connection to a shared variable the first time?

Hello,

 

I have a large scale application developped with LabVIEW DSC which deals with many computers on a LAN.  In one of the VI I'm opening shared variables connection using the "Datasocket Open" VI.  I have notice that after rebooting my computer and running this VI in source code (I haven't tried with a executable yet) that it takes approximatively 20 seconds to get a successful connection for one shared variable that is located on another computer.  The subsequent "Datasocket Open" calls for the same computer for the same shared variable takes much less time, approximatively 100ms.  I have reproduce this with 3 differents computer, so the behavior seems to be reproducible, but it's not doing it everytime but very often.  This scenario can also happen when I haven't open a connection to another computer for a while.

 

Does anyone have experience this? Is there something I can do about this to avoid this 20 seconds delay? Does anyone has an explaination?

 

All my computers runs Windows 8.1.  I'm using LabVIEW 2012.  All my firewall are "off".

 

Thanks,

 

Michel

 

Here's a picture of my open VI.

 

RS-485 to RS-232

Hello All,

 

I'm hoping that someone out there can assit me with a problem I'm having with some serial communications.  I'm using the NI 9068 which has three built in serial ports.  Port 1 and Port 2 are RS-232 and Port 3 is RS-485.  When I bought it I thought all three ports were RS-232 as I have three devices that I need to communicate with to the cRIO.  I have in the past had good luck using a B & B electronics RS-232 to RS-485 converter on the same chassis. 

 

I'm trying to communicate with a scale, and I have created VI's that work to communicate with the scale when I use one of the two RS-232 ports.  However I cannot communicate with the scale when I try to use the RS-485 port and the B&B converter (model number 4WSD9R).  I will either get a warning saying that the number of bytes at the port is equal to that which was read (i.e. 0 bytes) or an error -1073807298 when it actually does read something (for example /0/00/0) but not what it is supposed to be reading.

 

I have tested the hardware and the wiring to the converer by connected the RS-485 port to the converter then the converter to a RS-232 port.  I will then write to the 485 port and read from the 232 port.  The data transfers from one port to the other just fine.  I have also switched the configuration to write at the RS 232 port and read from the RS 485 port, and again the data transfer just fine.

 

To me it seems as though there is some issue with the Bidirectinal communications.  In case this is the problem I have the Rx crossing over to the Tx lines on the RS 485 side.  I'm pretty sure this is correct of the communication described above would not work at all.

 

Thanks for any help that can be offered

Intensity graph [ Last three or four graphs be shown]

Hi,

I am looping and plotting with intensity graph. Each loop the graph refreshes and plots the new data. I still want to see last few plots. For example, if I do 10 loops , whenever I check my scan I would like to see the previous three or four plots. And I also don't want to plot all 10 graphs. Thanks,

LV2009 source code

Hi,,

 

recently we visited one site where one server and three workstations running with lv2009 when I checked the backup  I can see only executables so if I want to modifiy the existing workstations whats the best way or where can i find the source code of this

 

Thanks

sandy

Saving source distribution for previous version

Hi,

 

I'm trying to use Run Labview VI tool in VBAI. I'm using LV2013 SP1 and VBAI 2013. The Run Labview VI step gives me an error saying "this step supports LV2012 or earlier". When I save it for LV12, this time an error comes up saying " The VI was not compiled for the specified remote target or it was not saved with LV12". After I read the forums and help documents, I see this problem can be solved with saving the VI for distribution (LLB).

 

But when I open the project, it is becoming LV2013 and LLB is building as LV2013. So I'm returning the first step saying "this step supports LV2012.."

 

How can I build a source distribution as LV12 while using LV13? I couldn't find a solution.

Viewing all 69031 articles
Browse latest View live


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