I have data captured from a device and would like to find rising edges but keep drawing a blank... any Ideas?
Analog trigger just from data?
Reuse library dependency & file management?
I've searched high and low, but cannot wrap my head around reuse in LabVIEW. Hopefully someone can provide their insight, or direct me to documentation on the right way to manage all this
Our shop has less than 5 people that use LabVIEW, and we use it as a lab automation tool. The lab computers are each used for a variety of test programs. We're commonly tweaking the code during lab debug, so we run programs in development mode rather than using a built exe.
We use SVN to version-control our projects, and are comfortable using svn-externals. Our user.lib and instr.lib folders are synced across all machines. I haven't used VIPM, but it doesn't look like the right tool for our problem. It's purpose seems to be installing packages to user.lib or instr.lib. That gives machine-level control of library packages, but we need project-level control. Am I misunderstanding what VIPM offers?
Most top-level programs use common libraries that we've developed. I think the core of the problem is that some of those libraries also depend on each other. For example:
lib2 uses lib1
proj1 uses lib1
proj2 uses lib2 (and thus lib1)
proj3 uses lib1 and lib2
Problems:
- proj2, proj3 must place lib1 in the correct path relative to lib2. How do they know where that is? How does this scale to many more libs?
- lib2 should not contain lib1. Otherwise proj1 grows to also require (unneeded) lib2, and proj3 includes 2 conflicting lib1.
Is there a known best practice solution to this? If not, what are you all using, what do you like about your approach, what would you change?
Labview 2011 Mac - SSL support?
Hi folks,
For the past 4-5 years I've been using TCP OPEN & GETs to acquire weather forecast data from the National Weather Service web site. They've just changed to HTTPS, so I now need to switch to SSL. In Labview 2011 Mac, I see the VIs that look like they'd support SSL (OpenHandle & ConfigSSL), but they're not working on my initial attempts.
In searching, I see blogs saying that Labview 2010 Mac does not support SSL. But, I don't see any verification info past Labview 2010 (Mac).
Can anyone confirm that Labview 2011 Mac supports SSL (or not)?
Thanks...
A problem about Browse Shared Variables
When I browse shared variables, I get nothing as following:
This is my opc server setting:
Waveform data
Hello guys, the current waveform chart has all sensors approximately 130 to be plotted. Is it possible I can split this into multiple charts, each has 8-10 plots?
Synchronize Read/Write to USB
I am plugging a device (via USB) that sends measurements to PC when a command ('A') is sent to the device.
What I am trying to do to have a known frequency of read/write is to have a square wave be my trigger for acquiring data. That is, every time there's a rising edge it should send the command to acquire the measurement and then read the measurement. When there is no rising edge, it should not send the command to acquire measurement. To control this rate of acquiring data, I should be able to change the frequency of the square wave to get faster/slow number of readings.
When changing the frequency of the square wave it does not change the acquisition rate. It seems to be independent.
What I want to do is equivalent to an interrupt-interrupt handler.
Any ideas for what I may be doing wrong or if there's a better way to synchronize the data acquisition?
Automated re-activation of LabVIEW when deploying an image?
I support ~180 systems that have the labview software on them which we need to routinely re-image. We are currently having to log in to each system by hand in order to re-activate the application.
I've looked over the following document and haven't had any success automating it http://zone.ni.com/reference/en-XX/help/371136G-01/nilm/html/automating/
I'm looking into the option of eventually having a license server in place but that'll be atleast half a year off.
Testing CRM UI with Ranorex
Hi everyone.
I am searching a tool to automate UI tests in MS Dynamics CRM.
I have read that Ranorex support CRM.
Now I'd like to know if someone of you knows this tool and has experience with it.
If yes, would you suggest me? Is it easy to use? Does it really gives an added value helping in done tests more fast?
Any suggestion is appreciated.
dt in labview (under usrp), is define by what?
Dear friends,
Here is my question, I am using usrp rio 2953r. In the photo below,
1. you see the dt = 0.000003. I want to know, is there a way I can make this dt smaller? Or what define this dt value? I do know dt is the same interval between 2 symbol. Thank you
2. in the "data", i away see bunch of 0+0i ,why??? Even this is noise, it cannot be just 0+0i, right? So, what's that? Thank you
Strange behavior
error at niUSRP set time.gvi
hello, i am new in labview communication and USRP
i'm trying to run mimo ofdm 2x2 in 2 usrp 2922 as Tx and usrp rio(2943) as RX
but i get error like this
first
error - 1074118627 occureed at niUSRP Set Time.gvi
possible reason(s):
a runtime or configuration error occured.
code: 1299
details: LookupError: KeyError: update_clock_source: unknown source: mimo
second
error - 1074118643 occureed at niUSRP Write Tx Data (2D CDB).gvi
possible reason(s):
packet had timestamp that was late (or too early)
please help me
thank you
Managing Project in a multi-developer organization
Good day,
due to the growing factor of my organization (luckily) we're facing the problem of managing projects with more developer and more branch than before. I'm here to ask you advice in this direction, particularly some reading (web or, better, books) about this problem. We need to study!
Thank you in advance,
Francesco
Include all dlls of a project into executable
Dear Community,
I am trying to maintain a relatively large code I didn't develop myself. The project is well structured and has different libraries and dlls in its different folders. I need to create an exe of that code. As a first step I tried to go the simplest way by selecting a main vi in the application building configuration window and build the exe without any other configuration steps. One thing I don't understand is that the created data folder that contains the supported files does not contain all dlls that are part of the project. When running the exe I immediatly got the error "Resource not found" because some dlls were missing. As a result I added these dlls in the "always included" section of the application building configuration window. As a result these dlls were included in the data folder but still not all of the dlls of the project are included. The exe is starting now but I got another error in the initialization step of the exe. After debugging i found out that the cause is again a missing dll at some point.
My question now is:
How can I guarantee that all dlls of the project are included in the exe?
Thanks in advance.
Saving data in USB coming from Queues
Hallo Everyone,
I am getting data from FPGA to my Real-time system through DMA FIFO. I want to save this data in a USB. In real time system, I am using a Producer/consumer loop to get the data in a Queues. Before, I have saved data in USB through Shared Variables. As it is recommended, I want to save the data coming from the Queues. I have saved the data in following way-
How can I save data coming from the Queues in this diagram? Or is there any other way to save the data is USB from Queues?
I want to save the data is CSV file format. And for every variable I want to put a column name.
I have attached my Real-time VI here.
Thank you everyone. Happy programming!
Assign a number to all cells in the front panel
I have several rows arranged like a table:
The leftmost column displays the scroll number for each row. I want to allow the user to assign a number to all the cells in this column (so that all rows are scrolled to the same position) by entering this number only once, while leaving the option to scroll an individual row independently. What kind of item can I add to the front panel to accomplish this? Thank you.
Application Executable Running from start menu/programs is not behaving correctly
I've developed an application in LabVIEW which uses adb shell. The application is installed on PC using the installer generated by LabVIEW. My Program is installed in C:\Program Files(x86)\AppFolder and a short cut menu is created in start menu/programs after installation. When I click on my application icon in start menu/programs it is started but ADB shell is not loaded properly. But When I start the application from C:\Program Files(x86)\AppFolder, adb shell is loaded properly and application works correctly. Any pointer in this regard will be helpful. I'm running my application in Windows 7 Environment.
DLL call problem FTDI DLL: works in LV16 but not in LV17
Hi,
I have posted the issue already under an existing topic, but perhaps it is better to post it as a new topic:
We are having issues with the FTDI dll uner LV17. The code created years ago it was working fine until upgraded to LabVIEW 17.
I have run the same code in the same machine with LV16 and LV17 and using 16 works, using 17 doesn't. See below :
In LV16 I can successfully retrieve the COM port number but in LV17 it gives an error (Invalid Handle).
Is somehow different the way to call DLL on LV17?
Both versions are 64 bit and both running with Admin privileges. I have tried to run it in all the possible configurations (First LV17 only, LV16 only, LV17 with LV16 opened, etc) and it is always the same result.
The CLFN does not return any errors.
I have been in touch with the FTDI technical support and they claim it must be a LV17 issue.
Any idea on what to try next?
LabVIEW 2017 evaluation
Does LabVIEW 2017 evaluation version support NI myRIO completely
Hardware not detected
I want to automate a 3rd party instrument using LabVIEW. The instrument is a Spectrometer CAS 140CT of Instrument Systems. All the drivers are installed on the host pc, but LabVIEW is not installed on that PC. Instead, I would programme it on a separate Laptop where LabVIEW and create a .exe application and install it on the host pc. But when I run it shows an error of hardware not detected. What is the mistake I made? I am not familiar working with instrument drivers and LabVIEW. Thank You.
How to update input from DAQ assistant to formula node
Hi everyone. I am fairly new to both LabVIEW and programming in general so I found myself stuck with this problem.
I am trying to control the temperature of a water bath (CurrentTemp) to remain constant by continuously increasing or decreasing the thermostat temperature (SetTemp). The DesiredTemp is the user-defined temperature that the water bath should reach. Now, I have decided to use formula node for this, and the problem is that my code is working fine until I include a do-while loop, but then the program does nothing and the loop runs continuously. I am guessing I need a way to update the CurrentTemp acquired from the DAQ, but I lack programming skills in order to solve this. Please help!
int32 SetTemp=22; do{ if(DesiredTemp>CurrentTemp) SetTemp=SetTemp+1; else if(DesiredTemp<CurrentTemp) SetTemp=SetTemp-1; else SetTemp=SetTemp; }while(DesiredTemp!=CurrentTemp);