2 Levels Object Dictionary LUT (Look Up Table) [Code Exchange]
Hi,I recently implemented a 2 Level Object Dictionary for LabVIEW and will share the code (screenshots only) as none is available online. Screenshots:Object Dictionary 2 Levels Add Entry to Existing L1...
View ArticleDeveloping for PXIe controller - question
Hello, I'm new to PXI and I had a question about developing LabVIEW code for a target chassis controller. Say I purchase a controller with embedded operating system (example, PXIe-8840). When...
View Articlewrite excel file
Hi friends, I am trying to save the level information of 4 tanks in a excel file. I need the first row contains the headers: Time-T1-T2-T3-T4-T5 and then all the data. How could be the easy way to do...
View ArticleCreate multiple cursors with different spacing on XY graph
Hello,I'm trying to create 4 cursors each with different spacing. I came up with this idea (refer to the attachment), but when I executed, the program just bypassed the for loop. Nothing got computed....
View ArticlemyRio Joystick
I have used a Joystick successfully on a myRio but for a different application I am trying one not on the approved list of joysticks (which is only 3). It recognises the joystick as the FGT Rumble3 in...
View ArticleBluetooth woes...
I am using a Classic Bluetooth module like this linked to a Arduino to send back some characters when the connected host sends a request like <send> . The snippet below works fine with...
View ArticleLabview, database ODBC connection error 2147467259
Hi all,I have a database in MySql that I need to populate data to. I am using Labview 2015 32bit to parse data from csvs and populate relevant tables in my sql.I need to use ODBC. I keep running into...
View ArticleAdjusting the frequency of a square wave generated by CTR0_OUT of NI-Elvis II.
Hi everyone, I've been asked to modify the frequency of a square wave generated using DAQ assistant whose output is wired to pin A0 of the NI-Elvis II board. The A0 pin is connected to the CTR0_OUT and...
View ArticleIQ Rate on MIMO OFDM using NI-USRP 2920
I have this error"niUSRP Write Tx Data (2D CDB).vi<ERR>Underflow: the Tx buffer was emptied before new data was provided. Consider reducing the IQ rate, increasing the Write rate, or increasing...
View Articlesaving multiple images (AVI frames) in the same folder
hello,I am trying to write a VI, in which I want to save multiple pictures (frames I've extracted from an AVI file) in PNG format in a folder. I have managed to save one frame, but I don't really know...
View ArticleHow to get virtual TED file for a sensor?
Hi All, I am trying to use a full-bridge load cell MLP-50. The manufacturer says that it is teds rated but doesn't have a file. How to either create or find teds file for a specific load cell? Thanks...
View Articlecustom x-axis labels in xy graph.
Hello,I am running a test in which the value of RPM first goes up linearly and them comes down linearly and i want to plot the values obtained as output for each RPM. But since i want to plot this in...
View ArticleLimit graph cursor movement
Hi, I was wondering if there is any way to set limits on cursor movement. I am using two cursors for setting the lower and upper limits of which data to save out of an array. Presently in my event...
View ArticleLabVIEW scripting: highlight VI in project tree
Dear LabVIEW community,let me ask you about the following. How to programatically highlight VI in project tree? For library and class there is method "Hilite in Project Window" (wondering, why it is...
View ArticleNXG WEB Module Graph Time Stamp error
Hello! I'm trying to display a graph that consists of two arrays - time and data. The time is in Unixtime format. But there is a problem: time is not correctly converted on the X axis. In normal NXG...
View Articlewin32com method to GET control's value
Hello, I'm familiar with the procedure of how to set a control value in LabView with win32com.import win32com.clientlabview = win32com.client.Dispatch("LabView.Application")VI =...
View ArticleFlow meter - configuration.
Hi ALL, I am trying to read flow from Flow Meter (specification attached). K-factor = 24 Imp/l. = 0.0417 l/imp. So, I count edges inside the loop (time = 1000 ms) then multiply by 60 then multiply by...
View ArticleIterative reading from spreadsheet
I have not been given the details yet, but have been asked to write a SCADA system in Labview with a capability I have never thought of before- they want the ability to load the created data files and...
View ArticleScanned variable read function - all channels
Does anybody know a way to read all channels of a c-series module with one function? The below archived white paper shows all channels on a module can be read with the scanned variable read function,...
View Article