I'm trying to find some text in my VI and LabVIEW isn't cooperating. I see a dark rectangle flash on the screen at an arbitrary location that is offset by some seemingly random amount from the actual text that was found. This happens pretty much any time I search within the large VI I am working on. Haven't noticed it in smaller sub-vi's. This VI was written by someone else prior to my employment within the company and I am trying to sustain some old, poorly written code...but trying to find stuff is proving to be nearly impossible...Any idea what would be causing this?
Find Text not working
build specification version VI BUG
Ni Provides VIs to set and read the version of a build specification in a LV project. However, I find that when trying to set any part of the build version to 0 (zero), this value does not get set.
This appears to be a bug in the VI from theNI_App_Builder_API called
Set Build Specifrication (path).vi
My appliction for this is to reset the build versions of all builds in a project to 1.0.0.0. I'm goig to dig into the XML tags and figure it out on my own.
Using a String control with Enter, Return *and* allowing for repeated identical input
Hi all,
There must be a simple solution to this, but it's Friday afternoon and my brain isn't cooperating.
I am creating a simple terminal by means of which a user can interact with an instrument. My question concerns the Query String control only. The Send button and the Terminal Table are there for reference.
Here is my desired behavior:
a) The user types a command into the Query field and types Enter or Return. An Event fires and the query is sent to the instrument. The focus remains on the Query field.
b) With no other UI actions, the user types Enter or Return again and again, firing an Event that sends the query to the instrument each time Enter or Return are typed. The focus remains on the Query field.
Here's what I've got:
This achieves a), but fails at b). The reason is, since the value of the Query field has not changed, the Value Change event does not fire when the user starts spamming the Enter or Return keys. There is a way around this, as suggested by this post. Here's the solution in a nutshell:
Instead of looking for Value Change of the Query control, the event fires on every Key Down event of the control, and looks for an Enter or Return keypress. This catches the user action even if the contents of the Query field have not changed. The problem with this approach is that when this event fires, I need to read the value of the Query String control and send it to the instrument, but the value I obtain via the Query Local Variable is the old value, presumably because the Key Down event fires before the value of Query is registered as changed. Is there a way to programatically "enter" the contents of the String control so it is registered as a Value Change, before I query it via a Local Variable? Is there a different way I should be going about this? I'd rather not do anything that tied the Enter or Return keys to this particular field, since I have plenty of other UI elements that need these keys in my program.
Alternatively, is there a way to make the Query String control "Value Change" event fire when the user hits Enter or Return even if the value has not changed?
Thank you for your input!
How to understand the relationship between the frequency character and the system 's nonparametric estimation?
Hello:
I am in program about system identification. The process is as below:
Firstly, I use a sweeping sine signal (the frequency range is from 0 to 50 Hz) to stimulate the actuator;
Secondly, , I use a lowpass filter( the cutoff frequence is 45 Hz) to filter the response signal, as the picture below;
As I use a signal filtered by a lowpass filter with a 45Hz cutoff frequence, the magnitude reaponse of the nonparametric system surely should also be cut off in 45 Hz, which means the magnitude of high frequence exceeding 45 Hz should be very small. Am I right?
But the truth is ,as the picture below:
So, my questions are:
How to explain this result,?
Why does the magnitude response first be cut off as my guess, but then rise up in the high frequency range?
How to solve the problem?
Any assistance is helpful and welcome.
Thank you!
excel
hi guys
i wanna read excel in labview
but when i set automation refnum,i cant find excel....
what's this problem?
Hope anyone help me !!!
thanks
atlas capco pf 4000 series communication with labview
does any one know to commuincate atlas capco pf 4000 series with labview using open protocol can you share knowledge and vi's ?? kindly reply back to srpadmanaban@gmail.com and also reply here in NI forum
LabVIEW FPGA Module 2015 Compilation for PXIe7820 with "no timing"
I have made a first compilation for the pxie 7820 with the tool Xilinx Vivado 2014.4 (64bit). The compilation report says "
Compilation completed successfully.
Device Utilization
---------------------------
Total Slices: 19,1% (4848 out of 25350)
Slice Registers: 6,9% (13937 out of 202800)
Slice LUTs: 12,3% (12430 out of 101400)
Block RAMs: 0,9% (3 out of 325)
DSP48s: 6,2% (37 out of 600)
Timing
---------------------------
None.
Compilation Time
---------------------------
Date submitted: 16.07.2016 12:48
Date results were retrieved: 16.07.2016 12:59
Time waiting in queue: 00:08
Time compiling: 10:16
- Generate Xilinx IP: 00:00
- Synthesize - Vivado: 04:18
- Optimize Logic: 00:14
- Place: 01:17
- Optimize Timing: 00:18
- Route: 03:04
- Generate Programming File: 00:56"
What does no timing mean? The onboard clock is 40 MHz. Does it run with this clock? Beacause the compilations for the pci 7833 or pcie 7842 the report shows the maximum clock time.
Appear one display at a time.
Regards
FPGA
Hello,
I would appreciate any help and or guidence. I am new to labview. I am running labview 2015 on windows 10, an PCIe-6361, and a futek fsh02057 torque and position sensor.i am trying to make a read VI that will read and log torque and its position. I need as much data as i can possibly get. The shaft is running at a constant 1 rpm and i am only rotating it 90 degrees. the futek sensor read every half degree. So I need 180 points with atleast 50 but as many torque values as i can get. My next step is I have to take all of those points and get the average torque value for each position and ouput it to an oriental Nx series servor motor running in tension mode.
Now with that said, I can't get enough readings and I know it has to be the way my VI is set up, but i am at a loss. I have triued to set the daq up manually instead of using the Daq assist, but i cant get it configured correctly. If that is what i have to do I am ok with that but i need help setting it up. I tried to set it up in continous sample instead of single sample, but apparently i need an external clock rate for my counter and I am at a loss for that as well. I have went through a bunch of examples and a lot of posts on here but I am still at a loss.
If anyone can help even point me in the right direction or show me how to set up the Daq or explain what I need to do I would greatly appreciate it. for the record this is not homework I work for a custom machine design and fabrication company that consist of just 2 people. I was given this job and i have only had a few weeks to not only learn labview but to get a working or program up and going. i am using a producer consumer loop for my main program and calling this read VI when the Start Read Test Button is pressed.
Thank you for your time and again any kind of help would be appreciated.
Josh Combs
Sewell Machine Design
Elapsed Time Present (s) never changes
When I call the Elapsed Time function, the "Present (s)" output according to Help: "Displays the present time in seconds since 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00]."
My output is always the same number when Start Time set to 0 (which should set the start time to "Now". I'm missing something but don't see it.
VPIM could not connect to labview 2015
Dear all,
I am using labVIEW myRIO 2015.
I wanted to install "LabVIEw interface for Arduino" so that i can progrm Arduino in LabVIEW.
Some how, i am getting an error message as shown below:
I tried to follow the instructions given below to troubleshoot still it's not working
http://digital.ni.com/public.nsf/allkb/88275613105A4E7286257A5B00720DA1
Could anyone help me on it!!
How can I extract every n-th row from a 2D array?
Hi everyone,
I was trying to solve this problem without success,
I need to extract every n-th row from a 2D array.
So for example:
I have a 2x2 matrix with 768 rows,
and I want to extract every 9-th row, starting from the first one (which is the first to be extracted).
I chose these numbers as an example to clarify that 768/9 does not has to be an integer.
Thanks a lot,
Shai
Is anybody have the Idea of LABVIEW software ?
As i am working on it and i am getting some error problem in it. Basically i have to estimate the phasors of any sinusoidal signal through recursive and non-recursive DFT algorithm. I have made model by refering 1 paper but i am getting some errors . i have attached paper and model. Plz see to it.
Bulk Inserting Data using SqlBulkCopy class - Constructor on type System.Data.DataColumn not found
I am trying to use methods from the SQLBulkCopy class to do bulk inserts of data into a PostgreSQL RDBMS. Think "array of clusters." I'm basically buffering a bunch of data to be inserted when a task is completed, rather than constantly doing transactional inserts that have much more overhead.
To do this, I'm using the SqlBulkCopy(DataTable table) method as the IDataReader and DataRow objects don't have public constructors in LabVIEW. Here's my current implementation:
But that fails with this error:
The VI is attached for reference. Any ideas (or bulk insert alternatives) would be appreciated.
CRC 32bit
Hi,
i am communicating with stm 32 via UART. The frame i receive is "1C000000B0B80700040400000000000000" and the CRC of the frame is " 9D0351B5". its not matching the calculation of the crc which i do, the calcuated crc is " 226F9471" . I tried the calculation with python and other sources calculated crc works fine. If anyone how to solve, pleas elet me know.
Two-way command-line communication with Labview 2011 RT Application
Hello everyone,
I have a 2011 LabVIEW Real-Time application that I want to deploy on a PXIe-8100 for data acquisition. The application is a state machine whose functions I'd like to control via command line (over ethernet) on a remote computer. Essentially, I'm wanting to implement a two-way communication with the RT application using command line. Ideally I'd like to write a SCPI dictionary on the RT application such that I can type in a user-defined command on my computer's command line, have it be sent to the RT application, have the RT application parse the command, do whatever I had commanded it to do, and finally send me back a response.
From the research I've done so far, it seems like using Telnet might be the most promising for this (I tried to get this to work, but had minimal success, however). Other options might include using the "Open Application Reference.vi" along with a property node.
If anyone has any insight as to how this might be best approached, I'd very much appreciate your advice.
graph plot
How to import data from excel and plot data values on waveform graph?
myRIO Servo Motor demo control issues
Hi all,
I'm using the myRIO to control my Corona CS-239MG Analogue servo motor however I am running into a major issue: It won't actually stay in one position, but swings back and forth CW and CCW. Here is a video I have uploaded to YouTube:
This is running the standard NI Project Essentials guide demo software that I downloaded from NI. Any assistance will be helpful, I've never worked with either LabVIEW or the myRIO.
Thanks so much!
Change FIFO Size Externally
Hello all,
I am using LabVIEW 2015 with FPGA module.
Can you change the target-scoped FIFO size externally (using a control, for ex, attached to the FIFO) without having to access its settings menu?
Thanks in advance.
LabView VI for HP 4145 : diode measurement IV
Hello everyone:
I am new to the forum and also new to LabView. I have searched in the forum the question I will post and want to let people know in advance that I did not find any relevant/concrete answer.
I want to use LabView 2015 to read out data from an old HP 4145B Semiconductor Parameter Analyzer connected to a probe station. I also have a NI GPIB interface to make the link bewtween LabView and the HP 4145B.
I would like to know if there is any VI available for 2 terminal devices (in this case on wafer diodes) so that I can control directly the equipment from LabView and be able to read out the measured data directly from the HP4145 via LabView? The data I want to represent is IV curves.
Best regards and thanks in advance for your support,
George.