Hello,
I have created a network variable on the PXI and want to read the value from another PC, but it does not work. Anyone know the reason and how to solve this problem?
Best regard
CLAD Certificated
Hello,
I have created a network variable on the PXI and want to read the value from another PC, but it does not work. Anyone know the reason and how to solve this problem?
Best regard
CLAD Certificated
Hi, I'm relatively new to labview, and I have a fairly noob question... But I can't find the answer anywhere in the forums.
Put simply, I am using the waveform chart and want to plot my data every n seconds. Ideally I'd give the user a control to choose every 5 seconds, every 10 seconds, or every minute (depending on how long they decide to leave the program running for).
I found another thread with a link to this VI: (Absolute Time Chart-8.0.vi) although I now cannot find the original thread.
This VI is great for n samples per second. But I need the opposite of that (sample per n seconds).
I am using absolute time X plot and autoscaling.
Any thoughts / ideas on how to approach this would be much appreciated.
Thanks
Hey!
I have a problem. I use a binary picture with particles in it (uploaded an example, my original has four particles instead of two), and label these particles with IMAQ Label.vi, which works perfectly. Then I use LabelToROI.vi to extract ROIs from my labels. Seems like that works also, I uploaded a pic of the 4 ROIs that are generated from that vi.
Feeding this Data, meaning the picture and the ROIs to IMAQ Rake 3.vi, it should spit out edge points of my particles. But the Rake 3.vi always says "Invalid ROI Descriptor" and doesn't put any data out.
Theres not much Info about the Rake 3.vi in the help files, and I cant make it run with my data.
Does anyone know why it doesn't work? Do I have to convert my binary picture (which only has pixels values of one or zero) to another picture type?
Thanks for any help.
Hello, I have the following setup and a problem that I can't solve yet:
a Main VI with its user interface that dynamically calls subVIs.
One of those subVI calls another VI which has second User Interface that should keep running in parallel with the main User Interface while the caller VI is closed and the next dynamically called subVI runs.
How can I achieve that? Everytime I arrive at the point where my subVI that calls the second UI runs, the VI with the UI starts successfully but the caller VI is "stuck" and waits for my UI to be closed in order to go to the next dynamically called subVI.
If someone can help me it would be very very appreciated!
Hi,
I've an issue when I try to write a digital waveform to my ni 9401 mounted into a cDAQ-9188XT.
I've connected the output of ni9401 to my oscilloscope but the signal is not in the range specified by "dt" of the waveform. Furthermore the "dt" parameter seems to not modify the behavior of the waveform when I try to change it.
I've attached screenshots and the vi.
Thanks to all
Hi all,
VI Description: I have attached a sample VI in which I have tried to implement a template HTML (I have used a sample template since I cannot use the template specified by the company). The process focusses on printing the HTML using Microsoft write to pdf and convert the HTML to pdf.
Problem: When I insert the image with a lower resolution (hence with a lower size) loads. So, it is successful when writing to the pdf. But, for large size images ( like the images with size=10MB, the printing is too fast to capture the image and write).
What can I do to write the larger image as well.
Pre-requisites: I have included a combo box in the VI. this helps in shifting between the small and the large image.
I couldn't upload the large image.
Hi all,
I am using an OMEGA PX309 pressure transducer through a USB-6009 and I want to make a quick measurement using the DAQ assistant's Analog input pressure feature.
For some reason the DAQ assistant is not able to recognize the USB-6009 in the pressure feature, but is able to recognize it in the voltage feature (see two printscreens attached).
Thanks!
Hi guys
Any idea how to enable the Web Application server for any Target Devices OR particulalry for Raspberry Pi ?
Please have a look on the attched Pciture and advise .
I thought i would be overly clever to use a 3d-surface plot to display my 2d data, because it has inputs for the x and y arrays beside the intensity data.
The intensity graph does not have these inputs. It uses the row/col array index as x/y coordinates.
I configured the 3d-surface plot to look from the top onto the x-y-plane, wired the 1d x/y arrays and the 2d intensity array and was impressed how wrong it looked...
At this point i wrote a small LV2013 test program whose screenshots are shown here.
The test program lets you setup the 2d intensity array and the two 1d x/y arrays. For test purposes i set all these values as increasing natural numbers. However, in my real application (which should plot a height map) the x/y arrays contain real dimension data and not natural numbers. After running the test vi it just passes these data to the 3d-plot helper and for comparison to an intensity graph.
With the intensity graph i can get the correct display (beside up/down mirroring) when choosing the option to transform the array.
However when i manually transform the 2d intensity array before passing it to the 3d plot helper, the result is completely different from what the intensity graph displays.
This is what i get, when i omit the manual transform or exchange the x/y arrays and transform, too:
This is what i get, when i exchange the x/y
arrays without transform:
As you see, i tested all four possibilities but all result in a wrong display of the original data.
Do you have an idea what could be the solution?
Thank you!
Hi all,
I have a very specific problem with the functionality of the NI ECU Measurement and Calibration Toolkit 2.3
I am communicating via XCP to an ECU device and reading some measurement values with a defined sampling rate. Everything is working fine so far.
I use the mcDAQInitialize() and then the mcDAQRead() in a loop to get continously some values from my ECU.
I can see that normally after using mcDAQRead() , the amount of "mcPropDAQ_SamplesPending" is -1, which means that all data read from ECU.
But suddenly the DAQ functionality runs crazy and reads a lot of non-existent pending messages, also the "mcPropDAQ_SamplesPending" property is over 1.000.000 pending samples.
My problem is that with another software all values can be read constantly over XCP, so the ECU and the XCP communication seems fine.
Has anybody an idea for a solution with the rise of samples or a similar problem with the NI ECU Measurement and Calibration Toolkit 2.3?
Thanks in advance!
Best regards,
Simon
Hello.
I would like to measure true degree from IMU sensor by using indirect kalman filter(IKF) on Labview.
I can calculate error of angle and error of the bias of gyro from indirect kalman filter as below image.
However, i can not remove the bias of gyro despite using error of bias calculated from IKF like a below image.
I would like to know how to use IKF's output.
Please let me know if you have any solution.
I'm currently working on a rather big project , that should finish as a single lvlibp with an installer, that copies all the dependencies, a TestStand sequence etc.
In my project I have an lvlib with all my code inside. Moreover in the project I have included the lvlibp (of course outside thge lvlib), a build tool etc. Now, when I want to build (pack) the library I get a following error:
The following packed library is in use or loaded in memory: Control_R2.lvlibp. LabVIEW cannot build packed libraries that are in memory.
How to unload it from memory? I can't remove it from the project, because the next step is to make an installer using this lvlibp.
Nikodem
Using LV with the Database Connectivity Toolkit, is it possible to query data from a mySQL VIEW? If so, does someone have an example? I am able to query data from tables, but I haven't been successful with VIEWs. Disclaimer: I am definitely a novice with regard to SQL queries. I attempted to use the "DB Tools Execute Query" (along with the associated Fetch Recordset and Free Object functions), but was not successful. Is there any difference in syntax between a table query and a VIEW query?
Hi
When the attached VI starts to run, the front panel comes right away. The Boolean text position for the Boolean Control is from default position to the position I specified by using Property Node. There is a delay. Is there any way I can set a default Boolean text position? Or use other ways, so that we will not see the delay.
Hello everyone.
Probably it's a trivial problem but I can't work it out.
I need to create a case structure with 3 cases:
First case if x < c
Second case if x = c
Third case if x > c
where both x and c are variables. I can't believe the only way is nested case structure. I know selector labels can contain a range like 0...4, but what if instead of 4 I have a variable (c)??
Any help is really appreciated.
Matteo
Hello,
I'm looking for a solution. I wrote a labview program using GCS Mercury drivers to driver PI stages. I configured them et i can get the position and velocity if the axis. But When i try to move or set the velocity, i've got a "error 23 : Illegal Axis". Does any knows why ?
Harti.
Hi, My laptop have inbuilt gps. Can i use that GPS in Labview?? If yes, How?
Hi,
I am working with an RT target that handles several loops in parallel that are controlled from a PC via network-published share variables. I am handling timing between loops using boolean flags (single process variables) and I had a question about efficiency:
The following snippet shows the two cases, they are not parallel loops! Thought is was the easiest way to illustrate my question:
The snippet above shows the two cases. Which of them are more efficient per cycle? Writing the flag each time, or reading the flag and only changing it if it is different? This is a question that always bugs me: is it cheaper in resources to read or to write variables?!
Also, would I gain a lot by switching to notifiers? Which one is a better practice for flagging between loops in an RT environment?
Thanks!
I don't have Matlab but I would like to be able to give the user the ability to select various variables and plot them. My variables come from recorded TDMS files. What I would like to provide is the ability to select vars or pairs of vars for plotting and allow the user to open up as many plot windows as they desire. Then to give them an export function to save all the plot windows to a word document.
In MatLab, this is straight forward. You just call figure() and then itterate through figure handles.
Is there a similar approach native to LabView Full?
Thanks,
XL600
Good Day, so we run National Instruments version 2.7.3 and LabView 8.5.1 on Windows XP professional 32 bit machines to operate our underwater vehicles control system. We recently started using a brand new machine and we are doing some testing in the lab and the computer keeps on blue screening. If we look in to the event log we get the following message:
The description for Event ID ( 0 ) in Source ( NI Variable Engine ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event:
NI Variable Engine started.
Executable: C:\Program Files\National Instruments\Shared\Tagger\tagsrv.exe
Earlier this week we tried reinstalling the National Instruments software and LabView but this did not help. Any recommendations on how to get our brand new computer to stop blue screening due to the above error? Last week we tried 2.7.5 version of National Instruments and that did not help either.
Thank you for your assistance.
Best Regards,
Jason