i am using labview 2017(64 bit) on windows 7 and installed DAQNavi_SDK_4.0.4.0 to use DAQNavi assistant but whenever i open DAQNavi assistant function from search palette and place it in block diagram window, it doesn't open DAQNavi wizard but instead it shows a line of window through which i can't edit any of it's properties. please refer to the attach image.
DAQNAVI wizard not showing
Error 1097 in Windows 10 when it is working elsewhere
I have a LV program that calls an external library via wrapper functions that I downloaded via VIPM (libxml2). This program works fine on computer A (Win7, LV2015 32-bit). Since it is meant to be portable, I have installed it on various computers (Win7) where it runs well, except for computer B. There, it throws an Error 1097 when calling the external library. The libxml2 package is obviously installed and I can see it on the Functions palette. Could it be due to the differing versions of Windows, or due to conflicts between Labview 32- and 64-bit? I open and run my program with LV 32-bit.
Computer A:
Labview 2015 (32-bit)
Windows 7
Computer B:
Labview 2015 (32-bit)
and Labview 2015 (64-bit)
Windows 10
Data fill in consecutive array elements
Hello all ,
i have a small puzzle and mess up with a 1 program
i have attached a VI.
When the user enters a data for a first time in "Data1 " and "data 2 " it needs to fill on the zeroth element of an array. When the user enters a data for the second time in "Data1 " and "data 2 " it needs to fill on the first element of array .
thanks in advance !!
Ejecutar .vi en FPGA automaticamente
speedup for non square matrix multiplication
hi everyone
am using multicore toolkit for matrix multiplication 4x4 with 4xV where V vary from 100 to 10000000
why the speedup decrease for larger value of V ?
Polling on VISA Read: timeout error
Hi all,
I know this question comes up regularly, but even with all the topics about it I cannot find the answer to my seemingly simple problem.
I'm trying to poll a trigger string ("#TRG\r") from a serial port, which arrives irregularly. When the trigger is received, the attached snippet should set a flag for another loop to respond to. In this snippet, the Visa Read always returns the infamous timeout error (0xBFFF0015) and I cannot find out why.
For testing I send the trigger string at shorter intervals than the timeout with a serial monitor tool. With this tool I have also verified that the termination char is sent and received correctly by the ports. No matter how I change the timeout, buffersize or bytes to read, it returns the timeout error. It does not read any data from the port.
The serial ports are from an EasySync H-9004-M usb-hub with four separate FTDI chips.
It must be a simple thing, but I've been breaking my head over it already for two days..
How to create an if else structure with different formulas.
I want to create an If esle structures that first evalutes the formula from the left block and if it is true than the formula of right above is done and if it is smaller the formula of right below is used? any suggestion
Hamamatsu C11440-22CU Binning problems
Hello everybody,
we use a Hamamatsu C11440-22CU in our setup and control it via labview. However, we are not able to do binning (which should be possible for 1x1, 2x2 and 4x4 according to the manual) using the labview library we downloaded from the manufacturers website. We included the "setparameter" function in between the "startcapture" and "waitnextframe". We chose the parameter to be binning and the value in to be 1,2 or 4 (which was the result of the possible input values according to the "getparameterlimits" function). However, the selection of any value different to 1 returns the error message of: "TMERR_BUSY - The device is busy at C:..." Do you have a solution for implementing binning in labview with the hamamatsu library?
Thanks in advance.
NI OPC Server 2016 return Bad_OutOfMemory 80x80030000 not enough memory to complete the operation.
Hi All,
I've installed the evaluation version of NU OPC Server 2016. I'm trying to use Java UA client from http://opcfoundation.org but I'm always getting the same error when I'm trying to connect with security NONE endpoint.
I've searched through of many internet communities but not found anything useful.
Could anyone help me to sort out with this problem?
Thanks in advance,
Oleg
Drift and oscillation cancelling during image series
Hi everybody,
I`m having a setup that is capturing images with a Hamamatsu C11440-22CU. However, I`m observing a oscillation of approx. 0.5 microns as well as a drift due to tensions in the sample holder and strong magnetic fields. So far I tried to use cross-correlation for each line and column of the pixel. This works okay in terms of drift cancelling but fails completely when it comes to oscillation correction. Are there better ways to digitally cancel out drift and oscillation when capturing a lot of pictures. The exposure time is approx. 0.03s.
Thanks in advance!
Event Structure Causes Warning, but Warning List is Empty
I've been experiencing a strange behavior in LabVIEW 17.0f2. I have a few UI VIs with event structures within them to handle button clicks, updating fields due to change in other fields etc. Here's a simple example in which the user can change a few text and numeric fields stored in the class:
The odd thing is that these VIs cause LabVIEW to light up the yellow warning exclamation, and clicking on that one provides an empty warnings list:
I have already tried to copy and paste diagrams that cause these errors into empty VIs, and making new VIs from scratch, but they end up the same. And the only thing they have in common is that they're all from the same class, and all have an event structure within them.
So, does someone have any idea what these warnings are warning about, and how to solve the issue?
Thanks in advance!
Prevent ROI Tool Palette from Resizing with Pane
Hello,
I have an image control on a front panel with splitters- the pane that the image control is in resizes the controls with the size of the pane. The problem is that when you resize the window or resize the pane the ROI tool palette resizes and changes position. Eventually half of the palette is off-frame and the buttons in the palette grow larger and larger. See attached images. Is there a way to prevent this?
Thanks for any suggestions
Time Stamp Control Formatting
In LabVIEW Classic you can remove the seconds and milliseconds from the time stamp control on the Front Pane It's very distracting for the user to change the time, they shouldn't have to worry about seconds and miliseconds. It appears to me that this cannot be done in LabVIEW NXG. Will I have to rewrite the entire program in original LabVIEW Classic to format my time stamp control?
- Is it possible to format the seconds and millseconds out of the time stamp control in NXG?
- Is it possible to convert NXG code to Classic LabVIEW?
Or does anyone have any suggestions for a work around in NXG? I could have the user input each value independently into a cluster I suppose... But that would also result in rewriting quite a bit of code.
myRIO Vs Arduino
Why do we use myRIO instead of Arduino? As Arduino is available at the very reasonable price as compared to myRIO.
Why do we use LabView instead of MATLAB?
Is there a way to prgrammatically access the "Move on Disk..." functionality of the Files view in a LabVIEW Project?
I am referring to the right-click option in the LabVIEW Project Explorer under the "Files" tab that allows you to move a file on disk while preserving all linking and avoiding conflicts:
I would like to be able to access this functionality programmatically, using invoke nodes, as I am recursively looping through ProjectItems using property and invoke nodes. I have had some success with VIs using some "super secret" methods that are available in invoke nodes:
However, I have not had any luck with library (.lvlib) and class (.lvclass) files since no equivalent "Instruments and Callers Debug" method exists in the invoke node for Library references.
Using the "Move on Disk..." option in the Project Explorer achieves the desired behavior for all types of files, but I cannot find a way of programmatically invoking this method. Does anyone know if there is a way? Or if not, is there an alternate method for programmatically relocating library and class files on disk while preserving dependencies and avoiding conflicts and relinking issues?
Thanks,
Ethan
Student struggling with LabVIEW and cRIO
Background:
I'm an undergraduate mechanical engineering student, minoring in computer science. I've been working in this lab for almost a year now. In that time I have been learning LabVIEW, but more specifically learning how to operate a myRIO and a cRIO. My job has been to recreate the VIs that they have been running on NI-DAQ systems on the cRIO. I have learned a lot, but I am also struggling a lot because I am the only one in the lab learning about the RIO devices. Therefore no one in the lab is really able to help me, so I have to turn to the forums because I am at a point where I am not sure what to do.
About the project:
I am trying to take the three main VIs they are using (the camera, the mass flow controller, and the microphone) and combine them to run simultaneously. I attached the original VIs that I have been given in case that is any help. I am using shared variables (I know it isn't the best method, but it is the one I understand the most) to communicate data between devices. Right now the VIs aren't very neat, I'm self taught in LabVIEW, so I apologize if it is hard to read/understand any tips on better organization/style would also be greatly appreciated.
Equipment:
cRIO-9035
NI 9264 (Analog out)
NI 9213 (Thermocouple, currently not using in the project)
NI 9205 (Analog in)
NI 9344 (On/Off switches)
NI 9401 (currently not using in the project)
Issues:
(1) FFT:
I'm not sure if my fast Fourier transform is done properly on the cRIO. I haven't been able to test, but I am pretty doubtfula about it. I am trying to have it operate exactly like the FFT-DAQ image attached, but I had to get creative with it for the cRIO since I couldn't use the DAQ assistant module in LabVIEW. I'm sure there has to be an easier way to do what I did, but I am not able to figure it out/find one.
Basically I need to read the voltage from the analog input (aquisition mode: N samples, Samples to read: 60k, rate(Hz) 12k, and a range +-10 Volts) of the microphone and then use that to calculate the voltage, pressure, and the sound pressure level (using subVI that was created for the DAQ systems project, but works for this one as well) along with the FFT calculations.
(2) Creating Files:
The professor I work for wants me to add a way for us to send a file of the data acquired from the last X seconds, where X is an inputted value up to the users discretion, from the cRIO to the PC. I am completely stumped for this. I'm working on it now, that's why the host.vi is broken. I think I understand how I would do something like this, but I'm not sure how I would go about doing it in LabVIEW (if that makes sense).
I think all I need to do is create an array of the values and have each value correlate with a time. Then when the user is ready to take the data, just read the values stored from the time requested. There might be an easier way, but that is all I can think of right now.
(3) Syncroniztion:
A big part of the project that I haven't looked much into, but need to start working on is syncronization. All the data readings on the devices have to be done at exactly the same time for this to be succesful. Would I need to do that on the real-time VI or the FPGA VI? What would be the easiest/best way to go about doing this?
I'm stuck on these three things and can use as much help as possible, because at this point it just seems like I am beating my head against a wall on a day-to-day basis trying to work through all of this.
Note* The main project is the "MFC Calibration FPGA"
missing daq assistant on my express vi palette
I installed Labview 2012 on my windows 8 OS and discovered the DAQ Assistant VI was missing. How do I get it on the palette?
Unable to get application to build -- error copying files
Trying to build an application (which has been built with the same build spec in the past). But partway through I get this message and the build fails:
_____________________________________________________________
error copying files.
Source: C:\Program Files\National Instruments\LabVIEW 2017\help\_LaunchHelp.vi
Destination: C:\_Development\Neural Suite\Builds\Neural Vision Suite V4\Executables\Production Generic.exe\1abvi3w\help\_LaunchHelp.vi
Invoke Node in AB_Source_VI.lvclasset_VI_Path.vi->AB_Source_VI.lvclass:Copy_SourceItem.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
<APPEND>
Method Name: <b>Set Path</b>
Error 7 occurred at AB_Source_VI.lvclass:Copy_SourceItem.vi -> AB_Build.lvclass:Copy_Files.vi
Possible reason(s):
LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
=========================
Nonexistent GPIB interface.
_______________________________________________________________
I navigated to the path of the _LaunchHelp.vi in Program Files and it is most definitely there, so I'm not sure why LabVIEW is unable to find the file. Any ideas why this is failing?
Thank you!
Michael
Error -1073807346
Hi all,
I'm attempting to open a visa port and the open VISA port spits out Error -1073807346.
When testing my communication with the instrument via the test panel, I don't have any errors occur. Any ideas on how to remedy the error?
[Bug?] Redraw issues dragging code into structure (LV2017)
I've just started using LV2017 in anger, and immediately noticed inconsistent redraw behaviour when dragging code into or out of a structure. See the example below:
After dragging the code into the structure, with the mouse stationary and the mouse button still held down, the code will redraw in the current location. If I move the mouse by a single pixel, it reverts to the code outline view, before redrawing again after a second or so. This is very distracting when moving the code into an exact position (lining up with existing wires/code), or even pausing momentarily before releasing the mouse button. At first I thought my mouse was playing up, and jumping around the screen.
This behaviour isn't present when dragging code either entirely inside or outside a structure, and isn't present in LV2016. In both cases the code is always drawn, and never shows the outline view.
This seems like a regression from LV2016 - is it intended behaviour?